/*
Theme Name: MainRaum Vermieter
Author: MainRaum Hausverwaltung
Description: 1:1-MainRaum-Theme auf Basis der finalen Version 2.2.0 mit wrapper-freier Elementor-Bearbeitung.
Version: 3.1.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: mainraum-vermieter
*/

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/epilogue-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/urbanist-latin.woff2") format("woff2");
}

html {
  scroll-behavior: smooth;
}

body.admin-bar .mainraum-header {
  top: 32px;
}

/*
 * These rules affect only the Elementor editing canvas. The public page is
 * rendered from the saved MainRaum sections without Elementor wrappers, so
 * the original 2.2.0 layout and spacing stay unchanged.
 */
.mainraum-elementor-content,
.mainraum-elementor-content > .elementor,
.mainraum-elementor-content .elementor-element.mainraum-elementor-section,
.mainraum-elementor-content .mainraum-elementor-section > .e-con-inner,
.mainraum-elementor-content .elementor-widget-mainraum-section,
.mainraum-elementor-content .elementor-widget-mainraum-section > .elementor-widget-container,
.mainraum-elementor-content .mainraum-inline-editor {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

.mainraum-elementor-content .elementor-element.mainraum-elementor-section,
.mainraum-elementor-content .mainraum-elementor-section > .e-con-inner {
  --container-max-width: 100%;
  --padding-top: 0;
  --padding-right: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --gap: 0;
  gap: 0;
}

.mainraum-elementor-content .elementor-widget-mainraum-section,
.mainraum-elementor-content .elementor-widget-mainraum-section > .elementor-widget-container,
.mainraum-elementor-content .mainraum-inline-editor {
  color: inherit;
  font: inherit;
}

.mainraum-mobile-icon-close {
  display: none;
}

.mainraum-menu-toggle[aria-expanded="true"] .mainraum-mobile-icon-menu {
  display: none;
}

.mainraum-menu-toggle[aria-expanded="true"] .mainraum-mobile-icon-close {
  display: block;
}

.default-content {
  width: min(100%, 56rem);
  margin-inline: auto;
  padding: 5rem 1.5rem;
}

.default-content h1 {
  margin-bottom: 1.75rem;
  font-size: 3rem;
  line-height: 1.1;
}

.default-content .entry-content > * + * {
  margin-top: 1.25em;
}

.default-content .entry-content a {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 782px) {
  body.admin-bar .mainraum-header {
    top: 46px;
  }
}

@media (min-width: 768px) {
  #mainraum-mobile-menu {
    display: none !important;
  }
}



/* Startseite: Bereich "Für alle Beteiligten" */
body.home #main-content > section.bg-ink\/95 {
  background-color: #D8B9A6 !important;
  color: #30211C;
}

body.home #main-content > section.bg-ink\/95 h2,
body.home #main-content > section.bg-ink\/95 h3,
body.home #main-content > section.bg-ink\/95 .text-primary-foreground {
  color: #30211C;
}

body.home #main-content > section.bg-ink\/95 p,
body.home #main-content > section.bg-ink\/95 .text-primary-foreground\/70 {
  color: #5B4036;
}

body.home #main-content > section.bg-ink\/95 .eyebrow {
  color: #8A301D !important;
}

body.home #main-content > section.bg-ink\/95 .text-primary {
  color: #A33B25;
}

body.home #main-content > section.bg-ink\/95 a.group {
  background-color: rgba(255, 250, 245, 0.52);
  border-color: rgba(74, 43, 33, 0.22);
  box-shadow: 0 12px 30px rgba(74, 43, 33, 0.08);
}

body.home #main-content > section.bg-ink\/95 a.group:hover {
  background-color: rgba(255, 250, 245, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
