/* Mionova Dienstleistungen – Stylesheet */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #17202B;
  --text: #414852;
  --blue: #0F5BD4;
  --blue-dark: #0A428F;
  --soft: #F4F5F7;
  --line: #E3E6EA;
  --border: #C8CDD4;
  --white: #FFFFFF;
  --on-dark: #D5DCE6;
  --on-dark-muted: #C8CDD4;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.muted { color: var(--text); }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow--grey { color: var(--text); }
.h2 { font-size: 38px; font-weight: 700; margin-bottom: 16px; }
.h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
[id] { scroll-margin-top: 84px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border-radius: var(--radius); font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--border); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.site-header .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; color: var(--white); }

/* Hero */
.hero { background: var(--soft); padding: 88px 0; }
.hero .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 540px; min-width: 0; }
.hero h1 { font-size: 54px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.hero .lead { margin-top: 26px; font-size: 20px; }
.hero .btn-row { margin-top: 34px; }
.hero .note { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--text); }
.hero-logo { flex: 1 1 380px; min-width: 0; background: var(--white); border-radius: 24px; padding: 56px 40px; display: flex; justify-content: center; }
.hero-logo img { width: 100%; max-width: 420px; }
.hero--calm { padding: 104px 0 96px; }
.hero--calm h1 { font-size: 50px; max-width: 820px; }
.hero--calm .lead { max-width: 680px; }

/* Grids */
.grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--tight { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.promise-big { font-size: 28px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.card { background: var(--white); border-radius: 16px; padding: 28px; }
.card .h3 { font-size: 20px; }
.step { border-top: 3px solid var(--blue); padding-top: 20px; }
.step__num { font-weight: 700; color: var(--blue); }
.step .h3 { font-size: 20px; margin-top: 6px; }
.step--dark { border-top-color: var(--ink); }
.step--dark .step__num { color: var(--text); }
.hint { margin-top: 32px; font-size: 16px; color: var(--text); }

/* Teaser band */
.band .container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.band-text { flex: 1 1 560px; min-width: 0; }
.band h2 { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.band p { color: var(--on-dark); font-size: 18px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-text { flex: 1 1 520px; min-width: 0; }
.about-text p { font-size: 18px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.team-box { flex: 1 1 360px; min-width: 0; background: var(--blue); color: var(--white); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.team-box__role { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #D6E4FB; }
.team-box__name { font-size: 20px; font-weight: 700; margin-top: 4px; }

/* Area */
.area h3 { font-size: 16px; color: var(--blue); margin-bottom: 6px; }
.area p { color: var(--text); line-height: 1.7; }

/* Lists */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 320px; min-width: 0; }
.split > :last-child { flex: 2 1 540px; min-width: 0; }
.line-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.line-list li:last-child { border-bottom: 1px solid var(--line); }
.line-list .h3 { margin-bottom: 4px; }

/* Panel for property managers */
.panel { background: var(--ink); color: var(--white); border-radius: 24px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.panel > div { flex: 1 1 360px; min-width: 0; }
.panel h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.panel p { color: var(--on-dark); font-size: 18px; }
.panel .eyebrow { color: #A9B4C2; }
.check-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.5; }
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex: 0 0 auto; margin-top: 2px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style-position: outside; }
.faq details p { margin-top: 12px; color: var(--text); line-height: 1.7; }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.contact .lead { margin: 0 auto 30px; }
.contact .mail-text { margin-top: 22px; font-size: 16px; color: var(--text); }
.contact .mail-text strong { color: var(--ink); user-select: all; }

/* Legal pages */
.legal { padding: 80px 0 96px; }
.legal h1 { font-size: 42px; font-weight: 700; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p { color: var(--text); line-height: 1.7; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 48px; padding-bottom: 40px; }
.site-footer img { width: 240px; }
.site-footer p { margin-top: 18px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }

/* Menu on small screens */
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.menu-toggle[aria-expanded="true"] { background: var(--soft); border-color: var(--ink); }
.menu-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); padding: 8px 24px 16px; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--blue); }

/* Sticky action bar on phones */
.mobilebar { display: none; }

@media (max-width: 860px) {
  .nav .nav-link { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .section { padding: 64px 0; }
  .hero, .hero--calm { padding: 56px 0; }
  .hero h1, .hero--calm h1 { font-size: 36px; }
  .hero .lead { font-size: 18px; }
  .hero-logo { padding: 36px 24px; }
  .h2, .contact h2 { font-size: 30px; }
  .band h2, .panel h2 { font-size: 26px; }
  .panel { padding: 36px 24px; }
  .site-header .logo img { height: 32px; }
  .nav .btn { display: none; }
  .nav a[href="./"] { font-size: 14px; }
  .mobilebar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .mobilebar .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
