/*
Theme Name: Medium Marcel
Theme URI: https://mediummarcel.ch
Author: Medium Marcel
Description: Individuelle Gestaltung nach den freigegebenen Entwürfen.
Version: 5.1.0
Requires at least: 6.6
Text Domain: medium-marcel
*/
:root{--mm-petrol:#123c4a;--mm-gold:#ae804a;--mm-cream:#faf8f3;--mm-text:#303b3e}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mm-cream);color:var(--mm-text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.58}img{max-width:100%;height:auto}a{color:var(--mm-petrol)}.wp-site-blocks{overflow:hidden}.mm-site-hero{position:relative;isolation:isolate;background:#1a3540 center 48%/cover no-repeat;color:#fff;min-height:260px}.mm-site-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,30,35,.66),rgba(8,30,35,.14) 75%);z-index:-1}.mm-site-hero--home{min-height:600px;display:flex;flex-direction:column}.mm-header{max-width:1200px;width:100%;margin:auto;padding:22px 35px;display:flex;justify-content:space-between;align-items:center;gap:24px}.mm-header img{display:block;width:220px;max-width:100%}.mm-nav{display:flex;flex-wrap:wrap;gap:18px}.mm-nav a{color:white;text-decoration:none;font-size:13px}.mm-nav a:hover,.mm-nav a:focus{text-decoration:underline;text-underline-offset:5px}.mm-hero-content{width:min(1120px,calc(100% - 70px));margin:auto;padding:25px 0 45px}.mm-hero-content h1{font-family:Georgia,serif;font-size:clamp(38px,5.3vw,70px);font-weight:400;line-height:1.12;margin:0 0 8px}.mm-hero-content p{margin:0;font-size:clamp(15px,1.7vw,20px)}.mm-home-content{padding-top:75px;padding-bottom:90px}.mm-home-content h1{font-size:clamp(40px,5vw,65px)}.mm-home-content .mm-lead{font-size:clamp(17px,2vw,23px);margin-top:14px}.mm-home-content .mm-motto{margin-top:58px;font-family:Georgia,serif;font-size:clamp(22px,3vw,35px);font-style:italic}.mm-btn{display:inline-block;padding:14px 26px;background:var(--mm-gold);color:white;text-decoration:none;text-transform:uppercase;font-weight:bold;letter-spacing:.05em;font-size:13px;border-radius:2px}.mm-btn:hover{filter:brightness(1.08)}.mm-home-content .mm-btn{margin-top:38px}.mm-container{max-width:1140px;margin:0 auto;padding:0 28px}.mm-section{padding:28px 0;border-bottom:1px solid #e8e2d9}.mm-split{display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:center}.mm-split--reverse{grid-template-columns:1fr 1.15fr}.mm-section h2,.mm-page-title{font-family:Georgia,serif;color:var(--mm-petrol);font-size:clamp(27px,3vw,38px);line-height:1.2;font-weight:400;margin:0 0 23px}.mm-section h2:after{content:'';display:block;width:46px;border-bottom:2px solid var(--mm-gold);margin-top:13px}.mm-section p{margin:0 0 10px}.mm-section img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block}.mm-highlight{background:#f2e9dc;padding:20px 24px;margin:14px 0}.mm-highlight strong{font-size:20px}.mm-price{background:#9d7143;color:#fff;padding:32px}.mm-price h2{color:white}.mm-price h2:after{border-color:#ead7bb}.mm-price .mm-amount{font-size:29px;font-weight:bold}.mm-note{background:#f3eee6;padding:32px}.mm-steps{counter-reset:mmstep;list-style:none;padding:0}.mm-steps li{counter-increment:mmstep;position:relative;padding:0 0 20px 57px;min-height:53px}.mm-steps li:before{content:counter(mmstep);position:absolute;left:0;top:0;width:37px;height:37px;border-radius:50%;background:var(--mm-gold);color:#fff;text-align:center;line-height:37px;font-weight:bold}.mm-steps strong{display:block;color:var(--mm-petrol);font-family:Georgia,serif;font-size:21px;font-weight:400}.mm-footer{background:#eee9e0;text-align:center;padding:34px 20px;font-size:14px}.mm-footer a{margin:0 8px}.mm-prose{max-width:850px;margin:0 auto;padding:50px 28px 75px}.mm-prose h2{font-family:Georgia,serif;color:var(--mm-petrol);font-weight:400}.mm-photo-note{font-size:13px;color:#555}.mm-contact-placeholder{border:1px solid #d9c9b4;padding:24px;background:white}.mm-contact-placeholder label{display:block;margin-bottom:12px}.mm-contact-placeholder input,.mm-contact-placeholder textarea{width:100%;padding:10px;border:1px solid #bfb8ad;background:#fafafa;font:inherit}.mm-contact-placeholder textarea{min-height:120px}.mm-contact-placeholder button{padding:12px 20px;border:0;background:#9d7143;color:white;font:inherit;cursor:not-allowed;opacity:.65}.mm-review{background:white;border-left:3px solid var(--mm-gold);padding:18px 22px;margin:18px 0}.mm-small{font-size:13px}
@media(max-width:850px){.mm-header{padding:18px 22px;display:block}.mm-header img{width:185px}.mm-nav{gap:10px 15px;margin-top:18px}.mm-nav a{font-size:12px}.mm-split,.mm-split--reverse{grid-template-columns:1fr}.mm-split--reverse .mm-image{order:2}.mm-site-hero--home{min-height:530px}.mm-hero-content{width:calc(100% - 44px)}.mm-section{padding:25px 0}.mm-container{padding:0 22px}}
@media(max-width:480px){.mm-nav{gap:8px 12px}.mm-nav a{font-size:11px}.mm-site-hero{min-height:280px}.mm-site-hero--home{min-height:570px}.mm-section h2{font-size:29px}.mm-hero-content h1{font-size:42px}}

.mm-contact-form{background:#fff;padding:28px;border:1px solid #e4dbcf;display:grid;gap:10px}.mm-contact-form label{font-weight:600;color:var(--mm-petrol)}.mm-contact-form input,.mm-contact-form textarea{width:100%;padding:13px;border:1px solid #c9beb0;font:inherit;border-radius:2px}.mm-contact-form button{border:0;cursor:pointer;justify-self:start}.mm-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.mm-feedback{padding:15px;background:#f2e9dc}.mm-review h3{font-family:Georgia,serif;color:var(--mm-petrol);font-weight:400}

/* Hero-Hintergrund wird aus dem Theme-Asset durch WordPress gesetzt. */
.mm-site-hero{background-image:linear-gradient(90deg,rgba(8,30,35,.64),rgba(8,30,35,.09)),var(--mm-hero-image);background-position:center center;background-size:cover}
.mm-header{margin:0 auto}.mm-site-hero--home .mm-header{margin:0 auto}
.mm-nav a:focus-visible,.mm-btn:focus-visible,.mm-contact-form input:focus-visible,.mm-contact-form textarea:focus-visible{outline:3px solid #eac083;outline-offset:3px}
.mm-review{background:#fff;border-left:3px solid var(--mm-gold);padding:20px 24px;margin:18px 0}
.mm-prose{width:min(1080px,calc(100% - 48px));margin:0 auto;padding:36px 0 60px}
.mm-prose h2{font-family:Georgia,serif;color:var(--mm-petrol);font-weight:400}
@media(max-width:600px){.mm-header{padding:16px 18px}.mm-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mm-nav a{font-size:12px}.mm-header img{width:185px}.mm-hero-content{width:calc(100% - 36px)}.mm-site-hero--home{min-height:560px}.mm-contact-form{padding:18px}}

/* Originalbilder liegen direkt im Theme. Keine unpassenden Ersatzbilder. */
.mm-text-only{max-width:920px;margin:auto}
.mm-home-intro,.mm-about-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:38px;align-items:center}
.mm-home-portrait img{display:block;max-height:360px;width:100%;object-fit:cover;object-position:center 18%;border-radius:2px}
.mm-about-photo img{width:100%;height:auto;display:block}
@media(max-width:700px){.mm-home-intro,.mm-about-layout{grid-template-columns:1fr}.mm-home-portrait{max-width:340px}}
/* Breitere Darstellung der Seite Über mich */
.mm-prose:has(.mm-about-layout) {
  width: min(1200px, calc(100% - 48px));
}

.mm-about-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 48px;
}
/* Foto oben rechts ausrichten */
.mm-about-layout {
  align-items: start;
}
.mm-about-photo {
  align-self: start;
}
.mm-about-layout .mm-about-photo {
  margin-top: 0 !important;
  align-self: start !important;
}

/* Gemeinsame mobile Navigation – Desktop ausblenden */

/* Gemeinsamer mobiler Header */
.mm-mobile-header {
    display: none;
}

@media (max-width: 780px) {
    .mm-mobile-header {
        display: block;
        position: relative;
        background: #073f45;
        padding: 12px 16px;
        z-index: 100;
    }

    .mm-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 48px;
        height: 44px;
        margin-left: auto;
        padding: 8px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .mm-mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
    }

    .mm-mobile-navigation {
        display: none;
        padding: 14px 0 4px;
    }

    .mm-mobile-navigation a {
        display: block;
        position: static;
        color: white;
        font-size: 17px;
        line-height: 1.4;
        text-decoration: none;
        padding: 12px;
        text-align: center;
    }

    .mm-mobile-header.mm-menu-open
    .mm-mobile-navigation {
        display: block;
    }
}

/* Logo und Menüknopf im mobilen Header */
@media (max-width: 780px) {
    .mm-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .mm-mobile-brand {
        display: block;
        width: 185px;
        max-width: calc(100% - 65px);
    }

    .mm-mobile-brand img {
        display: block;
        width: 100%;
        height: auto;
    }

    .mm-mobile-toggle {
        flex-shrink: 0;
    }

    .mm-mobile-navigation {
        flex-basis: 100%;
    }
}
/* Alte Navigation auf Smartphones ausblenden */
@media (max-width: 780px) {
    .mm-header {
        display: none;
    }
}

/* Gemeinsame Desktop-Menüleiste – Medium Marcel */

.mm-unified-desktop-header {
    display: none;
}

@media (min-width: 781px) {

    .mm-unified-desktop-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 100px;
        padding: 12px 4%;
        background: #153c43;
        box-sizing: border-box;
    }

    .mm-unified-brand img {
        display: block;
        width: 220px;
        height: auto;
    }

    .mm-unified-desktop-nav {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .mm-unified-desktop-nav a {
        position: relative;
        font-family: Arial, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
    }

    .mm-unified-desktop-nav a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -9px;
        height: 1px;
        background: #bd9954;
    }
}
