/* Kontaktformular – Alexandra May */

.wpcf7 .cfgroup {
    margin-bottom: 20px;
}

.wpcf7 .cfrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.wpcf7 .cfrow > div {
    min-width: 0;
}

/* Feldbeschriftungen visuell ausblenden,
   für Screenreader weiterhin zugänglich */

.wpcf7 .cfgroup label[for] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Eingabefelder */

.wpcf7 .cfgroup input[type="text"],
.wpcf7 .cfgroup input[type="email"],
.wpcf7 .cfgroup input[type="tel"],
.wpcf7 .cfgroup select,
.wpcf7 .cfgroup textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f3ef;
    color: #333333;
    border: 1px solid #c5c1b9;
    border-radius: 2px;
    padding: 13px 15px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 0.2s, background-color 0.2s;
}

/* Einheitliche Feldhöhe */

.wpcf7 .cfgroup input[type="text"],
.wpcf7 .cfgroup input[type="email"],
.wpcf7 .cfgroup input[type="tel"],
.wpcf7 .cfgroup select {
    height: 52px;
}

/* Platzhalter */

.wpcf7 .cfgroup input::placeholder,
.wpcf7 .cfgroup textarea::placeholder {
    color: #66635e;
    opacity: 1;
}

/* Nachrichtenfeld */

.wpcf7 .cfgroup textarea {
    height: 160px;
    min-height: 120px;
    resize: vertical;
}

/* Tastaturbedienung und Fokus */

.wpcf7 .cfgroup input:focus,
.wpcf7 .cfgroup select:focus,
.wpcf7 .cfgroup textarea:focus {
    outline: 2px solid #98502f;
    outline-offset: 2px;
    border-color: #98502f;
    background-color: #ffffff;
}

/* Datenschutz */

.wpcf7 .wpcf7-acceptance {
    font-size: 14px;
    line-height: 1.6;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 4px;
    accent-color: #98502f;
}

.wpcf7 .wpcf7-acceptance a {
    color: #98502f;
    text-decoration: underline;
}

/* Absende-Button */

.wpcf7 input[type="submit"] {
    background-color: #98502f;
    color: #ffffff;
    border: 1px solid #98502f;
    border-radius: 2px;
    padding: 13px 26px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #783d24;
    border-color: #783d24;
}

.wpcf7 input[type="submit"]:focus-visible {
    outline: 2px solid #98502f;
    outline-offset: 4px;
}

.wpcf7 input[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Überflüssige CF7-Abstände reduzieren */

.wpcf7 .cfrow p,
.wpcf7 .cfgroup p {
    margin-bottom: 0;
}

.wpcf7 .cfgroup .wpcf7-form-control-wrap {
    display: block;
}

/* Fehlermeldungen */

.wpcf7 .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 5px;
}

/* Mobile Darstellung */

@media (max-width: 767px) {
    .wpcf7 .cfrow {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}


/* =====================================
   ALEXANDRA MAY – HERO
   ===================================== */

/* Hintergrund und Höhe */
#am-hero {
    background-image: url('/wp-content/uploads/2026/10/may_hero2.jpg');
    min-height: 880px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* SiteOrigin-Spalten */
#am-hero .panel-grid-cell {
    min-width: 0;
}

/* Logo- und Textbereich */
#am-hero .herobox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: calc(100% - 39px);
    min-height: 880px;
    margin-left: 160px;
    padding: 95px 6px 40px 20px;
    box-sizing: border-box;
}

/* Logo */
#am-hero .herobox-logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 0 0 30px;
}

/* Text */
#am-hero .herobox-text {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
    text-align: right;
    color: #fff;
}

/* =====================================
   LAPTOP – bis 1440 px
   ===================================== */

@media (max-width: 1440px) {

    #am-hero {
        min-height: 700px;
        background-position: center top;
    }

    #am-hero .herobox {
        min-height: 700px;
        margin-left: 70px;
        width: calc(100% - 30px);
        padding: 75px 20px 30px 10px;
    }

    #am-hero .herobox-logo {
        width: 145px;
        margin-bottom: 25px;
    }

    #am-hero .herobox-text {
        font-size: 17px;
    }
}

/* =====================================
   TABLET – bis 1024 px
   ===================================== */

@media (max-width: 1024px) {

    #am-hero {
        min-height: 580px;
        background-position: 45% top;
    }

    #am-hero .herobox {
        min-height: 580px;
        margin-left: 0;
        width: 100%;
        padding: 55px 25px 30px 10px;
    }

    #am-hero .herobox-logo {
        width: 125px;
        margin-bottom: 20px;
    }

    #am-hero .herobox-text {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* =====================================
   SMARTPHONE – bis 767 px
   ===================================== */

@media (max-width: 767px) {

    #am-hero {
        min-height: 650px;
        background-position: 43% top;
    }

    /* SiteOrigin-Spalten untereinander */
    #am-hero .panel-grid-cell {
        width: 100%;
    }

    /* Logo und Text oben */
    #am-hero .herobox {
        width: 100%;
        min-height: 650px;
        margin-left: 0;
        padding: 30px 20px;
        align-items: flex-end;
        justify-content: flex-start;
    }

    #am-hero .herobox-logo {
        width: 110px;
        margin-bottom: 18px;
    }

    #am-hero .herobox-text {
        font-size: 14px;
        line-height: 1.5;
        text-align: right;
    }
}

/* =====================================
   KLEINE SMARTPHONES – bis 480 px
   ===================================== */

@media (max-width: 480px) {
		
		h1 {
		    font-size: 30px;
		}

    #am-hero {
        min-height: 580px;
        background-position: 43% top;
    }

    #am-hero .herobox {
        min-height: 580px;
        padding: 25px 15px;
    }

    #am-hero .herobox-logo {
        width: 100px;
        margin-bottom: 15px;
    }

    #am-hero .herobox-text {
        font-size: 13px;
        line-height: 1.5;
    }
}

.kad-header-menu-outer.headerclass {
  display:none
}

.boxi {
 border-radius:10px;
		background-color:#D2C9BB;
		padding:3%;
		font-weight:500;
		margin-bottom:28px
}

#inner-wrap.wrap.clearfix.contentclass.hfeed {
  background-color:#e5e4df;
}

#bildb img{

		border-radius:10px;
}

a {
color:#5251d0;
}

/* Hero-Text auf Smartphones */

@media (max-width: 767px) {

    #am-hero {
        position: relative;
    }

    #am-hero .herobox-text {
        position: absolute;
        top: auto;
        bottom: 6%;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 16px 12px;
        box-sizing: border-box;

        background-color: rgba(48, 35, 27, 0.85);
        color: #ffffff;

        font-size: 15px;
        line-height: 1.6;
        font-weight: 400;
        text-align: center;

        transform: none;
        z-index: 10;
    }
}

/* Besonders kleine Smartphones */

@media (max-width: 480px) {

    #am-hero .herobox-text {
        bottom: 5%;
        left: 15px;
        right: 15px;
        font-size: 14px;
        padding: 14px 10px;
    }
}

.container.mobile-header-container.kad-mobile-header-height {
  display:none!important;
}