/*
 * Hof Maiberg Kontaktseite – 1.0.26
 */
.hmc-contact-page{
    --hmc-green:#3F5238;
    --hmc-green-dark:#2E3E29;
    --hmc-orange:#C97B19;
    --hmc-cream:#F8F6F1;
    --hmc-cream-2:#F1EDE4;
    --hmc-text:#2E352B;
    --hmc-muted:#6E756A;
    --hmc-line:#DDD8CD;
    width:100vw;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    color:var(--hmc-text);
    background:#fff;
    font-family:"Montserrat",Arial,sans-serif;
}

.hmc-contact-page *,
.hmc-contact-page *::before,
.hmc-contact-page *::after{
    box-sizing:border-box;
}

.hmc-contact-shell{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
}

.hmc-contact-hero{
    position:relative;
    padding:105px 0 110px;
    overflow:hidden;
    background:
        radial-gradient(circle at 88% 18%,rgba(201,123,25,.12),transparent 25%),
        radial-gradient(circle at 8% 90%,rgba(63,82,56,.10),transparent 27%),
        linear-gradient(135deg,#F8F6F1 0%,#F3EFE5 100%);
}

.hmc-contact-hero::before,
.hmc-contact-hero::after{
    content:"";
    position:absolute;
    border:1px solid rgba(63,82,56,.11);
    border-radius:50%;
}

.hmc-contact-hero::before{
    width:360px;
    height:360px;
    right:-130px;
    top:-155px;
}

.hmc-contact-hero::after{
    width:260px;
    height:260px;
    left:-120px;
    bottom:-155px;
}

.hmc-contact-hero__inner{
    position:relative;
    z-index:2;
    max-width:840px;
    text-align:center;
}

.hmc-contact-eyebrow,
.hmc-contact-kicker{
    display:inline-block;
    color:var(--hmc-orange);
    font-size:12px;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.hmc-contact-hero h1{
    max-width:780px;
    margin:18px auto 22px;
    color:var(--hmc-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(48px,6vw,78px);
    font-weight:500;
    line-height:1.02;
}

.hmc-contact-hero p{
    max-width:700px;
    margin:0 auto;
    color:var(--hmc-muted);
    font-size:17px;
    line-height:1.75;
}

.hmc-contact-hero__actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:34px;
}

.hmc-contact-button{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 22px;
    border-radius:999px;
    border:1px solid transparent;
    font-size:13px;
    font-weight:700;
    text-decoration:none!important;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
    cursor:pointer;
}

.hmc-contact-button:hover{
    transform:translateY(-1px);
}

.hmc-contact-button--primary{
    background:var(--hmc-green)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(63,82,56,.16);
}

.hmc-contact-button--primary:hover{
    background:var(--hmc-green-dark)!important;
}

.hmc-contact-button--secondary{
    border-color:#CBD0C7;
    background:rgba(255,255,255,.7);
    color:var(--hmc-green)!important;
}

.hmc-contact-section{
    padding:96px 0;
}

.hmc-contact-section--arrival,
.hmc-contact-section--useful{
    background:var(--hmc-cream);
}

.hmc-contact-intro{
    max-width:720px;
    margin:0 auto 48px;
    text-align:center;
}

.hmc-contact-intro h2,
.hmc-contact-map-card__copy h2,
.hmc-contact-form-copy h2{
    margin:10px 0 14px;
    color:var(--hmc-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(38px,4.5vw,55px);
    font-weight:500;
    line-height:1.08;
}

.hmc-contact-intro p{
    margin:0;
    color:var(--hmc-muted);
    font-size:15px;
    line-height:1.7;
}

.hmc-contact-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.hmc-contact-card{
    min-height:285px;
    padding:34px 30px;
    border:1px solid #E6E1D7;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 34px rgba(44,52,42,.055);
}

.hmc-contact-icon{
    width:48px;
    height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#EEF1EB;
    color:var(--hmc-green);
}

.hmc-contact-icon svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.hmc-contact-card h3,
.hmc-contact-arrival-card h3,
.hmc-contact-useful-grid h3{
    margin:23px 0 11px;
    color:var(--hmc-green);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:26px;
    font-weight:600;
}

.hmc-contact-card p,
.hmc-contact-arrival-card p,
.hmc-contact-useful-grid p{
    color:var(--hmc-muted);
    font-size:13px;
    line-height:1.75;
}

.hmc-contact-card a,
.hmc-contact-arrival-card a{
    display:inline-block;
    margin-top:10px;
    color:var(--hmc-orange)!important;
    font-size:12px;
    font-weight:700;
    text-decoration:none!important;
}

.hmc-contact-arrival-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.hmc-contact-arrival-card{
    position:relative;
    min-height:365px;
    padding:38px 32px;
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    border:1px solid #E4DFD5;
}

.hmc-contact-arrival-card__number{
    position:absolute;
    right:23px;
    top:18px;
    color:#EBE6DC;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:58px;
    font-weight:600;
    line-height:1;
}

.hmc-contact-arrival-card .hmc-contact-icon{
    position:relative;
    z-index:2;
}

.hmc-contact-arrival-card p strong{
    color:var(--hmc-text);
}

.hmc-contact-arrival-note{
    margin-top:24px;
    padding:20px 24px;
    display:flex;
    align-items:center;
    gap:16px;
    border:1px solid #DDE3D8;
    border-radius:14px;
    background:#F3F6F0;
}

.hmc-contact-arrival-note .hmc-contact-icon{
    flex:0 0 42px;
    width:42px;
    height:42px;
    background:#E5ECE0;
}

.hmc-contact-arrival-note p{
    margin:0;
    color:#5F695B;
    font-size:13px;
    line-height:1.6;
}

.hmc-contact-map-section{
    padding:95px 0;
    background:#fff;
}

.hmc-contact-map-card{
    display:grid;
    grid-template-columns:.78fr 1.35fr;
    min-height:500px;
    overflow:hidden;
    border:1px solid #E0DBD0;
    border-radius:24px;
    background:var(--hmc-cream);
    box-shadow:0 18px 55px rgba(43,52,41,.08);
}

.hmc-contact-map-card__copy{
    padding:60px 48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
}

.hmc-contact-map-card__copy p{
    margin:0 0 28px;
    color:var(--hmc-muted);
    font-size:14px;
}

.hmc-contact-map-card__map{
    min-height:500px;
    background:#E9E5DC;
}

.hmc-contact-map-card__map iframe{
    width:100%;
    height:100%;
    min-height:500px;
    display:block;
    border:0;
}

.hmc-contact-useful-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.hmc-contact-useful-grid article{
    padding:28px 24px;
    border-top:2px solid var(--hmc-green);
    background:rgba(255,255,255,.62);
}

.hmc-contact-useful-grid h3{
    font-size:21px;
}

.hmc-contact-form-section{
    padding:100px 0;
    background:#fff;
}

.hmc-contact-form-layout{
    display:grid;
    grid-template-columns:.75fr 1.25fr;
    gap:75px;
    align-items:start;
}

.hmc-contact-form-copy{
    padding-top:35px;
}

.hmc-contact-form-copy p{
    margin:0;
    color:var(--hmc-muted);
    font-size:14px;
    line-height:1.75;
}

.hmc-contact-form-copy__address{
    margin-top:38px;
    padding-top:28px;
    display:flex;
    flex-direction:column;
    gap:8px;
    border-top:1px solid var(--hmc-line);
    color:var(--hmc-muted);
    font-size:13px;
}

.hmc-contact-form-copy__address strong{
    color:var(--hmc-green);
    font-size:14px;
}

.hmc-contact-form-copy__address a{
    color:var(--hmc-orange)!important;
    text-decoration:none!important;
}

.hmc-contact-form-card{
    padding:38px;
    border:1px solid #E2DED5;
    border-radius:22px;
    background:var(--hmc-cream);
    box-shadow:0 14px 45px rgba(45,53,43,.06);
}

.hmc-contact-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.hmc-contact-form__row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.hmc-contact-form label{
    display:block;
}

.hmc-contact-form label>span:first-child{
    display:block;
    margin-bottom:7px;
    color:#444C41;
    font-size:11px;
    font-weight:700;
}

.hmc-contact-form input[type="text"],
.hmc-contact-form input[type="email"],
.hmc-contact-form input[type="tel"],
.hmc-contact-form select,
.hmc-contact-form textarea{
    width:100%;
    border:1px solid #D7D1C5;
    border-radius:9px;
    background:#fff;
    color:var(--hmc-text);
    font:inherit;
    font-size:13px;
    outline:none;
    transition:border-color .15s ease,box-shadow .15s ease;
}

.hmc-contact-form input[type="text"],
.hmc-contact-form input[type="email"],
.hmc-contact-form input[type="tel"],
.hmc-contact-form select{
    height:48px;
    padding:0 13px;
}

.hmc-contact-form textarea{
    min-height:145px;
    padding:13px;
    resize:vertical;
}

.hmc-contact-form input:focus,
.hmc-contact-form select:focus,
.hmc-contact-form textarea:focus{
    border-color:#8D9A86;
    box-shadow:0 0 0 3px rgba(63,82,56,.08);
}

.hmc-contact-form__privacy{
    display:flex!important;
    gap:10px;
    align-items:flex-start;
    color:var(--hmc-muted);
    font-size:10.5px;
    line-height:1.55;
}

.hmc-contact-form__privacy input{
    margin-top:3px;
}

.hmc-contact-form__privacy span{
    margin:0!important;
    font-size:10.5px!important;
    font-weight:400!important;
}

.hmc-contact-form__privacy a{
    color:var(--hmc-green)!important;
}

.hmc-contact-form__submit{
    align-self:flex-start;
    border:0;
}

.hmc-contact-form__small{
    margin:0;
    color:#8B8F87;
    font-size:9.5px;
    line-height:1.55;
}

.hmc-contact-honeypot{
    position:absolute!important;
    left:-9999px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}

.hmc-contact-notice{
    margin:0 0 20px;
    padding:13px 15px;
    border-radius:9px;
    font-size:12px;
    line-height:1.55;
}

.hmc-contact-notice--success{
    border:1px solid #CFE0C9;
    background:#EFF6EC;
    color:#35502F;
}

.hmc-contact-notice--error{
    border:1px solid #E9CFC9;
    background:#FBF0ED;
    color:#8A4638;
}

@media(max-width:950px){
    .hmc-contact-cards,
    .hmc-contact-arrival-grid{
        grid-template-columns:1fr;
    }

    .hmc-contact-arrival-card{
        min-height:0;
    }

    .hmc-contact-map-card{
        grid-template-columns:1fr;
    }

    .hmc-contact-useful-grid{
        grid-template-columns:1fr 1fr;
    }

    .hmc-contact-form-layout{
        grid-template-columns:1fr;
        gap:35px;
    }

    .hmc-contact-form-copy{
        padding-top:0;
    }
}

@media(max-width:620px){
    .hmc-contact-shell{
        width:calc(100% - 30px);
    }

    .hmc-contact-hero{
        padding:74px 0 78px;
    }

    .hmc-contact-hero p{
        font-size:14px;
    }

    .hmc-contact-section,
    .hmc-contact-map-section,
    .hmc-contact-form-section{
        padding:70px 0;
    }

    .hmc-contact-map-card__copy{
        padding:38px 26px;
    }

    .hmc-contact-map-card__map,
    .hmc-contact-map-card__map iframe{
        min-height:350px;
    }

    .hmc-contact-useful-grid{
        grid-template-columns:1fr;
    }

    .hmc-contact-form-card{
        padding:25px 20px;
    }

    .hmc-contact-form__row{
        grid-template-columns:1fr;
    }
}


/* ----------------------------------------------------------
 * 1.0.29 – Kontaktseite mit normalem Website-Header
 * ---------------------------------------------------------- */

/* Nur den normalen Seitentitel des Themes ausblenden, da der
   Kontakt-Hero seinen eigenen Titel besitzt. */
body.hmc-contact-managed
.entry-header:not(.site-header),
body.hmc-contact-managed
.page-header:not(.site-header){
    display:none!important;
}

/* Das eigentliche Kadence-Logo und Hauptmenü niemals ausblenden. */
body.hmc-contact-managed #masthead,
body.hmc-contact-managed header.site-header,
body.hmc-contact-managed .site-header-wrap,
body.hmc-contact-managed .site-main-header-wrap,
body.hmc-contact-managed .site-header-main-section,
body.hmc-contact-managed .main-navigation{
    visibility:visible!important;
    opacity:1!important;
}

/* Keine alten Seiten-Builder-Abstände oberhalb des neuen Inhalts. */
body.hmc-contact-managed .content-area,
body.hmc-contact-managed .site-main{
    margin-top:0;
}


/* 1.0.33 – Kontaktseite liegt nun bereits in einem 100%-Wrapper */
body.hmc-contact-managed .hmc-contact-page{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
}
