/* ServiceSwiss — renovation pages.

   Hoisted from the page stylesheets by sync-css.py so one edit reaches
   every page in the group. Each rule here is identical on every page of
   the group and matches nothing outside it.

   Pages load this file before their own <style>, so anything left inline
   still wins. Rule order matches the original inline order, so the
   cascade is unchanged. */


:root {
  --blue: #0b5dab;
  --red: #f7222b;
  --ink: #142e43;
  --muted: #5c6e7c;
  --pale: #edf2f5;
  --line: #d9e2e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.6 "Source Sans 3", sans-serif;
}

h1, h2, h3 {
  font-family: Sora, sans-serif;
  line-height: 1.25;
  letter-spacing: -.045em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

::selection {
  background: #c9e2fa;
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}

.topbar {
  background: var(--ink);
  color: #e7eef4;
  font-size: 13px;
  padding: 8px 0;
}

.topbar .wrap, .top-right {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  width: 174px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links>a:not(.button):hover, .dropdown-menu a:hover, .footer a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid var(--blue);
  transition: background .2s, transform .2s;
}

.button:hover {
  background: #084b8a;
  transform: translateY(-2px);
}

.button:active {
  transform: none;
}

.menu-button {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 3px;
  color: var(--ink);
}

.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}

.skip:focus {
  top: 10px;
}

.nav-item {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-link-dropdown svg {
  width: 15px;
  height: 15px;
  transition: transform .2s;
}

.nav-item:hover .nav-link-dropdown svg, .nav-item:focus-within .nav-link-dropdown svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -15px;
  min-width: 260px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 35px rgba(20, 46, 67, .12);
  padding: 10px 0;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  transition: background .15s, color .15s;
}

.dropdown-menu a:hover {
  background: var(--pale);
  color: var(--blue);
}

.dropdown-menu .dropdown-overview {
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  margin-bottom: 5px;
}

.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
  display: block;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

h1 span {
  color: var(--blue);
}

.call {
  font-weight: 600;
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual small {
  color: var(--muted);
}

.trust {
  border-bottom: 1px solid var(--line);
}

.trust svg {
  color: var(--blue);
}

.section {
  padding: 80px 0;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.faq h2 {
  font-size: 28px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 35px 20px 0;
  position: relative;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: var(--muted);
  padding: 0 22px 20px 0;
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact h2 {
  font-size: 36px;
  max-width: 550px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 17px;
  padding-left: 45px;
  border-left: 1px solid #ffffff40;
}

.contact .button:hover {
  background: #e9f2fb;
}

.contact small {
  color: #dbe9f6;
}

.contact a:focus-visible {
  outline-color: white;
}

.footer {
  padding: 49px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer .logo {
  width: 148px;
  margin-bottom: 15px;
}

.footer p, .footer address, .footer a {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}

.footer h3 {
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0;
  font-size: 15px;
  margin-bottom: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

@media(max-width:880px) {
  .menu-button { display: block } .nav-links { display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 83px;
  background: white;
  padding: 25px;
  z-index: 25;
  border-bottom: 1px solid var(--line);
  align-items: stretch } .nav-links.open { display: flex;
  flex-direction: column } .nav-links>a { padding: 6px } .nav-links .button { padding: 12px } .nav-item { width: 100% } .nav-link-dropdown { width: 100%;
  justify-content: space-between;
  padding: 8px 0 } .has-dropdown .dropdown-menu { position: static;
  display: none;
  box-shadow: none;
  border: none;
  background: var(--pale);
  border-radius: 4px;
  padding: 6px 0;
  margin: 6px 0 10px } .has-dropdown.open .dropdown-menu { display: block };
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto } * { transition: none !important };
}

.nav .logo {
  padding-top: 13px;
}

.logo-word {
  display: block;
  margin: 4px 0 0;
  padding-left: calc(17% - 1px);
  font-size: 15px;
  letter-spacing: 6.84px;
  text-align: left;
}

@media(max-width:760px) {
  .logo-word { display: block;
  margin: 4px 0 0;
  padding-left: calc(17% + .5px);
  font-size: 14px;
  letter-spacing: 4.66px;
  text-align: left };
}
