/*
Theme Name: Management Communication Classic
Description: Technische Neuauflage mit bestehender Farbwelt und Kirby-Inhalten.
Version: 1.2.0
Requires at least: 6.9
Requires PHP: 8.3
Author: Management Communication GmbH
Text Domain: mc-classic
*/
.mc-email-contact{max-width:760px}.mc-email-address{font-size:1em;font-weight:600;overflow-wrap:anywhere}.mc-email-help{font-size:.9em;color:#555}.mc-email-template{margin-top:25px}.mc-email-template summary{cursor:pointer;color:#23460a;text-decoration:underline}.mc-email-template textarea{display:block;width:100%;padding:14px;font:15px/1.6 system-ui,sans-serif;border:1px solid #888;background:#f7f8f5;color:#333;resize:vertical}.mc-email-template label{font-weight:600}
:root{--mc-green:#23460a;--mc-blue:#246a9d;--mc-dark:#363636;--mc-text:#333;--mc-light:#f4f5f1}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--mc-text);font:17px/1.65 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#fff}img{max-width:100%;height:auto}a{color:var(--mc-green);text-underline-offset:.18em}a:hover{color:var(--mc-blue)}button,input,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b27c00;outline-offset:4px}.mc-container{width:min(1160px,calc(100% - 48px));margin:auto}.mc-top{background:#f2f2f2;font-size:13px}.mc-top .mc-container{display:flex;gap:30px;padding:7px 0}.mc-top a{text-decoration:none}.mc-header{background:white;border-bottom:1px solid #ddd;position:relative;z-index:10}.mc-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px}.mc-logo{display:block;width:280px;flex-shrink:0}.mc-logo img{display:block;width:100%;height:auto}.menu{list-style:none;padding:0;margin:0}#mc-navigation>.menu{display:flex;gap:4px}#mc-navigation li{position:relative}#mc-navigation a{display:block;padding:10px 12px;text-decoration:none;font-size:16px;color:#333}#mc-navigation a:hover,#mc-navigation .current-menu-item>a{color:var(--mc-green);background:var(--mc-light)}#mc-navigation .sub-menu{list-style:none;position:absolute;top:100%;left:0;min-width:270px;margin:0;padding:8px;background:#fff;box-shadow:0 5px 18px #0002;display:none}#mc-navigation li:hover>.sub-menu,#mc-navigation li:focus-within>.sub-menu{display:block}.mc-menu-toggle{display:none}.mc-title{background:var(--mc-dark);color:white;padding:44px 0}.mc-title h1{font-weight:600;line-height:1.2;font-size:clamp(28px,3.6vw,44px);margin:0 0 15px}.mc-title p{margin:0;max-width:850px}.mc-hero{background-position:center;background-size:cover;min-height:510px;display:flex;align-items:center}.mc-hero .mc-title-inner{margin-left:auto;max-width:600px;background:#23460abf;padding:35px}.mc-page-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:55px;padding:50px 0 65px}.mc-with-sidebar{grid-template-columns:minmax(0,1fr) minmax(240px,34%)}.mc-content{min-width:0}.mc-content>h2:first-child,.mc-content>p:first-child{margin-top:0}h2{font-size:28px;line-height:1.3;font-weight:600}h3{font-size:21px;line-height:1.4;font-weight:600}p{margin:0 0 1.1em}.mc-content h2{margin-top:1.7em}figure{margin:1.5em 0}blockquote{margin:1.2em 0;padding-left:20px;border-left:3px solid #9ab284}blockquote p:last-child{margin-bottom:0}table{border-collapse:collapse;width:100%;margin:25px 0}td,th{border:1px solid #ddd;padding:12px;text-align:left;vertical-align:top}tr:nth-child(even){background:var(--mc-light)}.mc-sidebar{background:var(--mc-light);padding:20px;align-self:start}.mc-sidebar img{width:100%;max-height:450px;object-fit:cover}.mc-sidebar h2{font-size:24px}.mc-button,button[type=submit]{display:inline-block;background:var(--mc-green);color:white;border:0;border-radius:2px;padding:11px 20px;text-decoration:none;cursor:pointer}.mc-button:hover,button[type=submit]:hover{background:#346213;color:white}.mc-home-section{padding:0 0 45px;margin-bottom:40px;border-bottom:1px solid #ddd}.mc-home-section>h2{text-align:center;margin-top:0}.mc-principles:not(.is-layout-flex):not(.is-layout-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.mc-principles article{padding:15px}.mc-principles h3{color:var(--mc-green);margin:0 0 10px}.mc-quotes:not(.is-layout-flex):not(.is-layout-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mc-quote{background:var(--mc-dark);color:white;padding:25px;font-size:15px}.mc-quote figure{text-align:center}.mc-quote img{width:110px;height:110px;object-fit:cover;border-radius:50%}.mc-quote h3,.mc-role{text-align:center}.mc-role{font-size:14px;opacity:.9}.mc-quote blockquote{padding:0;border:0;font-size:15px}.mc-quote blockquote p{margin-bottom:0}.mc-client-logos:not(.is-layout-flex):not(.is-layout-grid){display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;align-items:center}.mc-client-logos figure{margin:0}.mc-client-logos img{width:100%;max-height:85px;object-fit:contain}.mc-link-cards:not(.is-layout-flex):not(.is-layout-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.mc-link-cards article{padding:25px;background:var(--mc-light)}.mc-link-cards h2{font-size:23px;margin-top:0}.mc-link-cards p{font-size:16px}.mc-history{padding:15px 0 20px 25px;border-left:3px solid #9ab284}.mc-history .mc-year{font-weight:700;color:var(--mc-green)}.mc-history h2{margin-top:0}.mc-gallery:not(.is-layout-flex):not(.is-layout-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mc-gallery img{aspect-ratio:4/3;object-fit:cover}.mc-form{max-width:660px}.mc-form label{display:block;font-weight:600}.mc-form input:not([type=hidden]),.mc-form textarea{display:block;width:100%;padding:10px;border:1px solid #888;border-radius:2px;background:white;color:#222}.mc-form-privacy{font-size:14px}.mc-form-status{padding:18px;background:#f5f1db;border:1px solid #b9a55d}.mc-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.mc-footer{background:var(--mc-green);color:white;padding:45px 0 20px;font-size:15px}.mc-footer a{color:white}.mc-footer h2{font-size:20px;margin:0 0 12px}.mc-footer p+h2,.mc-footer ul+h2{margin-top:24px}.mc-footer-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:40px}.mc-footer ul{list-style:none;padding:0;margin:0}.mc-copyright{border-top:1px solid #ffffff40;margin-top:35px;padding-top:22px;text-align:center;font-size:13px}.mc-copyright p{margin-bottom:8px}.skip-link{position:absolute;top:-100px;left:10px;background:white;padding:12px;z-index:100}.skip-link:focus{top:10px}.columns{display:flex;gap:20px;align-items:center}.column{flex:1}.column.is-narrow{flex:0 0 52px}.column.is-narrow figure{margin:0}.column.is-narrow img{max-width:45px}.columns h3{margin-top:10px}
@media(min-width:901px){.mc-content .mc-quotes:not(.is-layout-flex):not(.is-layout-grid):has(>.mc-quote:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.mc-header-inner{flex-wrap:wrap;min-height:85px;padding:15px 0}.mc-logo{width:240px}.mc-menu-toggle{display:block;background:white;border:1px solid #777;padding:7px 14px;border-radius:2px}#mc-navigation{width:100%}.mc-js #mc-navigation{display:none}.mc-js #mc-navigation.is-open{display:block}#mc-navigation>.menu{display:block}#mc-navigation .sub-menu{position:static;display:block;box-shadow:none;border-left:2px solid #cad4c4;margin-left:12px;padding:0 0 0 12px}#mc-navigation a{padding:8px}.mc-page-layout{gap:25px}.mc-with-sidebar{grid-template-columns:minmax(0,1fr)}.mc-sidebar{max-width:600px}.mc-quotes:not(.is-layout-flex):not(.is-layout-grid){grid-template-columns:minmax(0,1fr)}.mc-client-logos:not(.is-layout-flex):not(.is-layout-grid){grid-template-columns:repeat(3,minmax(0,1fr))}.mc-hero{min-height:410px}.mc-principles:not(.is-layout-flex):not(.is-layout-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.mc-footer-grid{gap:25px}}
@media(max-width:540px){.mc-container{width:calc(100% - 32px)}.mc-top .mc-container{font-size:11px;gap:15px;flex-wrap:wrap}.mc-logo{width:220px}.mc-principles,.mc-link-cards,.mc-footer-grid{grid-template-columns:minmax(0,1fr)}.mc-hero{min-height:340px}.mc-hero .mc-title-inner{padding:24px}.mc-title{padding:30px 0}.mc-gallery:not(.is-layout-flex):not(.is-layout-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.mc-principles article{padding:8px 0}.mc-content{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.mc-top,.mc-header,.mc-footer,.mc-sidebar,.mc-form{display:none}.mc-title{background:white!important;color:black!important;padding:0;min-height:0}.mc-hero .mc-title-inner{background:white;margin:0;padding:0}.mc-container{width:100%}.mc-with-sidebar{display:block}.mc-page-layout{padding:20px 0}.mc-quotes:not(.is-layout-flex):not(.is-layout-grid){display:block}.mc-quote{background:white;color:black;border:1px solid #ddd;margin-bottom:20px;break-inside:avoid}}

/* Editable design defaults, also used before the first Customizer save. */
:root{--mc-logo-width:220px;--mc-brand-size:28px;--mc-header-height:84px;--mc-hero-height:320px;--mc-hero-mobile-height:220px;--mc-title-size:38px;--mc-body-size:17px;--mc-content-width:1160px;--mc-title-box:rgba(35,70,10,.75)}
body{font-size:var(--mc-body-size)}.mc-container{width:min(var(--mc-content-width),calc(100% - 48px))}.mc-logo{width:var(--mc-logo-width);max-width:60%}.mc-brand-text{font-size:var(--mc-brand-size);font-weight:650;line-height:1.15;text-decoration:none;color:var(--mc-dark);width:auto;max-width:45%;overflow-wrap:anywhere}.mc-header-inner{min-height:var(--mc-header-height)}.mc-title h1{font-size:clamp(24px,3.6vw,var(--mc-title-size))}.mc-hero{min-height:var(--mc-hero-height);background-repeat:no-repeat}.mc-hero .mc-title-inner{background:var(--mc-title-box)}.mc-hero-left .mc-title-inner{margin-left:0;margin-right:auto}.mc-hero-center .mc-title-inner{margin-left:auto;margin-right:auto}.mc-partner-logo{max-width:220px;max-height:100px;object-fit:contain}
.mc-home-section>h2:first-child,.mc-home-section>.wp-block-heading:first-child{text-align:center;margin-top:0}.mc-principles>.wp-block-group{padding:15px}.mc-principles>.wp-block-group h3{color:var(--mc-green);margin:0 0 10px}.mc-client-logos .wp-block-image{margin:0}.mc-link-cards>.wp-block-group{padding:25px;background:var(--mc-light)}.mc-link-cards>.wp-block-group h2{font-size:23px;margin-top:0}.mc-link-cards>.wp-block-group p{font-size:16px}.mc-gallery .wp-block-image{margin:0}.wp-block-button__link{background:var(--mc-green);color:#fff;border-radius:2px;padding:11px 20px}.mc-content .wp-block-group{min-width:0}.mc-quotes>.wp-block-group:nth-child(4){grid-column:auto}.mc-content .wp-block-image img{height:auto}.mc-gallery .wp-block-image img{aspect-ratio:4/3;object-fit:cover}.mc-quote .wp-block-image img{width:110px;height:110px;object-fit:cover}.mc-quote .wp-block-quote{border:0;padding:0;margin:1.2em 0}
@media(max-width:900px){.mc-logo{width:min(var(--mc-logo-width),240px)}.mc-hero{min-height:var(--mc-hero-mobile-height)}.mc-brand-text{max-width:70%}}
@media(max-width:540px){.mc-container{width:calc(100% - 32px)}.mc-hero{min-height:var(--mc-hero-mobile-height)}.mc-logo{width:min(var(--mc-logo-width),220px)}.mc-principles>.wp-block-group{padding:8px 0}}
@media print{.mc-title{min-height:0!important}}
/* Core flow spacing must not offset items in the preserved card grids. */
.mc-principles:not(.is-layout-flex):not(.is-layout-grid)>*,.mc-quotes:not(.is-layout-flex):not(.is-layout-grid)>*,.mc-client-logos:not(.is-layout-flex):not(.is-layout-grid)>*,.mc-link-cards:not(.is-layout-flex):not(.is-layout-grid)>*,.mc-gallery:not(.is-layout-flex):not(.is-layout-grid)>*{margin-block-start:0;margin-block-end:0}
