/*
Theme Name: mc4 Buchhaltung
Theme URI: https://mc4.ch/
Author: mc4 IT GmbH
Author URI: https://mc4.ch/
Description: Modernes WordPress-Theme für Buchhaltungs- und Treuhandfirmen. Mit Elementor-Unterstützung, Teamverwaltung, passwortgeschütztem Referenzbereich und Kontaktformular-Integration für mc4 Mail Exchange.
Version: 1.0.12
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: mc4-buchhaltung
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* Version 1.0.5: Kontaktseite statt Footer-Formular */
.footer-contact-action{display:flex;flex-direction:column;align-items:flex-start}
.footer-contact-action-text{max-width:280px;margin:0 0 18px;color:#5a6a80;font-size:15px;line-height:1.55}
.footer-contact-button{min-width:180px}
@media(max-width:760px){.footer-contact-action{padding-bottom:4px}.footer-contact-action-text{max-width:480px}}


/* Version 1.0.6: Grosses Logo mit Schieberegler im Customizer */
.site-header .header-inner{
  min-height:128px;
  gap:24px;
}
.site-branding{
  flex:0 1 var(--mc4-logo-width,400px);
  min-width:0;
}
.site-branding .custom-logo-link{
  display:block;
  width:var(--mc4-logo-width,400px);
  max-width:100%;
}
.site-branding .custom-logo{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:108px;
  object-fit:contain;
  object-position:left center;
}
.site-header.is-sticky .header-inner{
  min-height:96px;
}
.site-header.is-sticky .custom-logo{
  max-height:78px;
}
@media(max-width:1180px){
  .site-header .header-inner{gap:18px}
  .site-branding{flex-basis:min(var(--mc4-logo-width,400px),360px)}
  .site-branding .custom-logo-link{width:min(var(--mc4-logo-width,400px),360px)}
  .site-branding .custom-logo{max-height:94px}
  .main-navigation .menu{gap:16px}
}
@media(max-width:900px){
  .site-header .header-inner{min-height:112px}
  .site-branding{flex-basis:min(var(--mc4-logo-width,400px),300px)}
  .site-branding .custom-logo-link{width:min(var(--mc4-logo-width,400px),300px)}
  .site-branding .custom-logo{max-height:84px}
  .main-navigation .menu{gap:12px}
  .main-navigation a{font-size:13px}
}
@media(max-width:760px){
  .site-header .header-inner{min-height:78px;gap:10px}
  .site-branding{flex:1 1 auto;min-width:0}
  .site-branding .custom-logo-link{width:auto;max-width:min(var(--mc4-logo-width,400px),calc(100vw - 114px))}
  .site-branding .custom-logo{width:auto;max-width:100%;max-height:58px}
  .site-header.is-sticky .header-inner{min-height:72px}
  .site-header.is-sticky .custom-logo{max-height:54px}
  .main-navigation{top:78px}
  .site-header.is-sticky .main-navigation{top:72px}
}
@media(max-width:440px){
  .site-branding .custom-logo-link{max-width:calc(100vw - 92px)}
  .site-branding .custom-logo{max-height:52px}
}


/* Version 1.0.7: Finale Logo-Skalierung. Diese Regeln laden nach allen älteren Header-Regeln. */

/* Version 1.0.12: Der direkte Kontakt-Link ist bewusst nicht Teil der Hauptnavigation.
   Die Kontaktseite bleibt über «Termin vereinbaren» und «Zur Kontaktseite» erreichbar. */
