* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: #fcfcfa;
  font: 16px/1.6 "DM Sans", Arial, sans-serif;
  --edge: max(6vw, calc((100vw - 1260px) / 2));
  --line: color-mix(in srgb, var(--ink) 19%, transparent);
}
a { color: inherit; }
:focus-visible { outline: 3px solid #b44d16; outline-offset: 4px; }
button, input, textarea, select { font: inherit; color: inherit; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .5rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header nav, footer nav { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; }
.site-header a, footer a { text-decoration: none; }
.site-header a:hover, footer a:hover { text-decoration: underline; }
.site-header {
  min-height: 78px;
  padding: .8rem var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: clamp(1.45rem, 3vw, 2.15rem); font-weight: 750; line-height: 1; letter-spacing: -.075em; }
.brand-gevge .wordmark { letter-spacing: .115em; font-weight: 700; }
.site-header nav { font-size: .9rem; }
.hero { position: relative; isolation: isolate; padding: clamp(3rem, 6vw, 6rem) var(--edge); background: var(--tint); }
.hero-copy { position: relative; min-width: 0; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 1.1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.8vw, 6.15rem); letter-spacing: -.073em; font-weight: 650; margin: 0 0 1.4rem; }
h2 { font-size: clamp(1.85rem, 4vw, 3.4rem); letter-spacing: -.055em; font-weight: 650; margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; letter-spacing: -.035em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 43ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.75rem; }
.action {
  display: inline-block;
  padding: .75rem 1.15rem;
  color: white;
  background: var(--accent);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: .94rem;
  font-weight: 650;
}
.action:hover { filter: brightness(.87); }
.quiet-link, .source-link { text-underline-offset: .23em; }
.hero-photo { margin: 0; min-width: 0; position: relative; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-split, .hero-feature, .hero-brief, .hero-index, .hero-address, .hero-gateway {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.hero-split { background: #fcfcfa; }
.hero-split .hero-photo { aspect-ratio: 1.12; }
.hero-split .hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: .55rem; background: var(--accent); }
.hero-cover { color: white; min-height: min(640px, 70vw); display: grid; align-items: end; }
.hero-cover .hero-copy { max-width: 740px; }
.hero-cover .hero-photo { position: absolute; z-index: -2; inset: 0; }
.hero-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b1b22ec, #0b1b22b5 45%, #0b1b2233); }
.hero-cover .action, .hero-gateway .action .action { color: var(--ink); background: white; }
.hero-feature { grid-template-columns: .92fr 1.08fr; }
.hero-feature .hero-photo { order: -1; aspect-ratio: 1.16; }
.hero-feature h1 { font-size: clamp(2.6rem, 5.2vw, 5.6rem); }
.hero-choice {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 2rem clamp(2rem, 6vw, 6rem);
  padding-bottom: 0;
}
.hero-choice .hero-copy { grid-column: 1; }
.hero-options { align-self: end; grid-column: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); margin-bottom: clamp(2rem, 5vw, 4rem); background: #fcfcfa; }
.hero-options a, .hero-index a { text-decoration: none; font-weight: 650; }
.hero-options a { display: grid; align-items: center; min-height: 4.5rem; padding: .7rem 1rem; border: 1px solid var(--line); }
.hero-options a:hover, .hero-index a:hover { color: white; background: var(--accent); }
.hero-choice .hero-photo { grid-column: 2; grid-row: 1 / 3; height: 100%; min-height: 390px; }
.hero-index { background: #fcfcfa; }
.hero-index .hero-copy { padding-block: 1rem; }
.hero-index nav { display: grid; border-top: 1px solid var(--line); }
.hero-index nav a { padding: .8rem .75rem; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); font-size: clamp(1.15rem, 2.1vw, 1.85rem); }
.hero-brief { align-items: center; }
.hero-brief aside { background: var(--ink); color: white; padding: clamp(1.5rem, 3vw, 2.75rem); }
.hero-brief h2 { font-size: clamp(1.65rem, 2.5vw, 2.35rem); }
.hero-brief ol { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.hero-brief li { display: flex; align-items: baseline; gap: 1rem; padding: .75rem 0; border-top: 1px solid #ffffff5c; counter-increment: step; }
.hero-brief li::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: .85rem; opacity: .82; }
.hero-address { align-items: end; }
.hero-address aside, .hero-gateway aside { border-top: 4px solid currentColor; padding-top: 1.1rem; }
.hero-address aside p, .hero-gateway aside p { font-size: clamp(1.3rem, 2.75vw, 2.5rem); line-height: 1.2; letter-spacing: -.04em; margin-bottom: .7rem; }
.hero-address:has(.hero-photo) { grid-template-columns: 1.2fr .8fr; }
.hero-gateway { background: var(--ink); color: white; }
.hero-gateway aside { align-self: end; }
.services, .profile, .faq, .contact, footer { padding: clamp(2.7rem, 6vw, 5.5rem) var(--edge); }
.section-head { margin-bottom: 1.5rem; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: .75rem 1.75rem; }
.service-list article { padding-top: 1.1rem; border-top: 2px solid var(--accent); scroll-margin-top: 1rem; }
.service-list article:target { outline: 2px solid var(--accent); outline-offset: .55rem; }
.service-list p { max-width: 37ch; }
.source-link { color: var(--accent); font-size: .9rem; font-weight: 600; display: inline-block; }
.layout-index .service-list, .layout-brief .service-list { display: block; }
.layout-index .service-list article, .layout-brief .service-list article {
  display: grid;
  grid-template-columns: .95fr 1.5fr minmax(8rem, .7fr);
  align-items: baseline;
  gap: .25rem 1.5rem;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 .5rem;
}
.layout-index .service-list p, .layout-brief .service-list p { max-width: 54ch; }
.profile, .faq, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.profile { background: var(--tint); align-items: center; }
.profile p:last-child { max-width: 56ch; margin-bottom: 0; }
.profile h2 { overflow-wrap: anywhere; margin-bottom: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 0; }
details { border-top: 1px solid var(--line); padding: .7rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 650; padding-block: .2rem; }
details p { margin: .5rem 0 .25rem; }
.faq > div > p { margin: 1rem 0 0; }
.contact h2 { max-width: 17ch; }
.contact address { font-style: normal; overflow-wrap: anywhere; }
.contact address p { margin-bottom: .25rem; }
.contact address a { display: table; text-underline-offset: .2em; }
.contact-note { border-top: 2px solid var(--accent); padding-top: 1rem; }
form { display: grid; gap: 1rem; }
form label { display: grid; gap: .25rem; font-weight: 650; min-width: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid #707c84; background: #fff; padding: .55rem; font-weight: 400; border-radius: 0; }
textarea { resize: vertical; }
form button { justify-self: start; }
.form-help, dialog [role=status] { font-size: .88rem; margin: 0; }
dialog { width: min(640px, calc(100% - 2rem)); border: 1px solid var(--line); padding: 1.25rem; color: var(--ink); }
dialog::backdrop { background: #172836aa; }
.draft-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0; }
.draft-actions button { background: white; border: 1px solid var(--line); padding: .6rem; cursor: pointer; }
footer { color: white; background: var(--ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 3rem; padding-top: 2.4rem; padding-bottom: 2.4rem; }
footer strong { font-size: 1.35rem; letter-spacing: -.045em; }
footer p { margin: .25rem 0 0; }
footer nav { font-size: .9rem; align-content: start; }
@media (max-width: 920px) {
  .hero-split, .hero-feature, .hero-brief, .hero-index, .hero-address, .hero-gateway, .hero-choice { gap: 2rem; }
  .hero-choice .hero-photo { min-height: 280px; }
}
@media (max-width: 690px) {
  .site-header { min-height: 0; padding-block: .95rem; flex-wrap: wrap; }
  .site-header nav { font-size: .82rem; gap: .4rem 1rem; }
  .hero-split, .hero-feature, .hero-brief, .hero-index, .hero-address, .hero-gateway, .hero-choice, .hero-address:has(.hero-photo), .profile, .faq, .contact { grid-template-columns: 1fr; }
  .hero-copy, .hero-choice .hero-copy { grid-column: auto; }
  .hero-choice .hero-photo { grid-row: auto; grid-column: auto; height: auto; min-height: 0; aspect-ratio: 1.75; }
  .hero-options { grid-column: auto; margin: 0; }
  .hero-options a { font-size: .9rem; padding: .55rem .7rem; }
  .hero-feature .hero-photo { order: 0; aspect-ratio: 1.55; }
  .hero-cover { min-height: 480px; }
  .hero-cover::after { background: linear-gradient(0deg,#0b1b22ed,#0b1b2285); }
  .hero-split .hero-photo { aspect-ratio: 1.5; }
  .layout-index .service-list article, .layout-brief .service-list article { display: block; padding-bottom: 1.1rem; }
  .field-pair { grid-template-columns: 1fr; }
}

h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 920px) {
  h1, h2, h3 { hyphens: auto; }
}

.brand-ggs-die-hausmeister .hero-cover .hero-photo img { object-position: center 36%; }
.brand-imovewa .hero-choice .hero-photo img { object-position: center 35%; }

.hero-rail { min-width: 0; display: grid; align-content: start; gap: 1.15rem; }
.hero-rail .hero-photo img { height: auto; aspect-ratio: 2.4; }
.hero-rail .hero-photo figcaption, .feature-image figcaption {
  font-size: .78rem;
  line-height: 1.45;
  margin-top: .55rem;
}
.hero-rail .hero-photo figcaption a, .feature-image figcaption a { text-underline-offset: .15em; }
.hero-rail .address-panel { padding-top: .9rem; }
.brand-gevge .hero-rail .hero-photo img { aspect-ratio: 2; object-position: center 51%; }
/* Keep space around the copy and let the lead photography reach the page edge. */
.hero-split, .hero-feature, .hero-choice { padding: 0; gap: 0; }
.hero-split .hero-copy, .hero-feature .hero-copy, .hero-choice .hero-copy {
  padding: clamp(2.5rem, 5vw, 5rem) var(--edge);
}
.hero-choice .hero-copy { padding-bottom: 1.5rem; }
.hero-choice .hero-options { margin-inline: var(--edge); }
.hero-split > .hero-photo, .hero-feature > .hero-photo {
  align-self: stretch;
  width: 100%;
  position: relative;
}
.hero-split > .hero-photo img, .hero-feature > .hero-photo img {
  position: absolute;
  inset: 0;
}
.hero-rail > .hero-photo { margin-inline-end: calc(-1 * var(--edge)); }
.hero-rail > .hero-photo figcaption { padding-inline-end: var(--edge); }

@media (max-width: 690px) {
  .hero-choice .hero-options { margin-bottom: 1.5rem; }
  .hero-rail > .hero-photo { margin-inline-start: calc(-1 * var(--edge)); }
  .hero-rail > .hero-photo figcaption { padding-inline: var(--edge); }
}

.photo-feature {
  padding: clamp(2.5rem, 5vw, 5rem) var(--edge);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.photo-feature h2 { margin: 0 0 .65rem; }
.photo-feature p { max-width: 44ch; margin-bottom: .85rem; }
.feature-image { margin: 0; }
.feature-image img { display: block; width: 100%; aspect-ratio: 1.85; object-fit: cover; background: var(--tint); }
.brand-imovewa .feature-image img { width: min(100%, 520px); }
.brand-nahlenz-immobilien .feature-image img { object-position: center 58%; }
.brand-ggs-die-hausmeister .feature-image img { object-position: center 43%; }
@media (max-width: 690px) {
  .photo-feature { grid-template-columns: 1fr; }
  .photo-feature div { grid-row: 1; }
}

.photo-detail { display: block; position: relative; }
.photo-detail::after {
  content: "⤢";
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: #fff;
  color: #242d37;
  border: 1px solid #d5dadf;
  font-size: 1.2rem;
}
.photo-credits { width: 100%; color: #e2e8ee; font-size: .75rem; }
.photo-credits a { text-decoration: underline; text-underline-offset: .15em; }
.topic-tip { color: var(--ink); margin: -.35rem 0 0; font-size: .88rem; line-height: 1.45; }
.draft-subject { margin: 0 0 .65rem; font-weight: 650; }
.faq summary::marker { color: var(--accent); }
@supports selector(details::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content {
      overflow: clip;
      block-size: 0;
      transition: block-size 220ms ease, content-visibility 220ms allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; }
  }
}

html { scroll-behavior: smooth; }
body { --edge: clamp(1.125rem, 5vw, 7rem); }
.site-header { position: relative; z-index: 3; }
.site-menu { display: none; }
.site-header nav a, .field-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: .3em;
}
.action, .hero-options a, .hero-index a, .field-route a {
  transition: background-color 180ms ease, color 180ms ease, filter 180ms ease;
}
select {
  appearance: none;
  min-height: 46px;
  padding-inline: .8rem 2.4rem;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23314155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .75rem center no-repeat;
  cursor: pointer;
}
@media (max-width: 720px) {
  .has-mobile-menu { flex-wrap: nowrap; align-items: center; min-height: 69px; }
  .has-mobile-menu .site-menu {
    min-height: 44px;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: .88rem;
  }
  .site-menu span {
    display: block;
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    transition: transform 180ms ease;
  }
  .site-menu[aria-expanded="true"] span { transform: rotate(225deg); }
  .has-mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .65rem var(--edge);
    background: #fcfcfa;
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.45rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms allow-discrete;
  }
  .has-mobile-menu nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .has-mobile-menu nav a { font-size: .9rem; }
  .has-mobile-menu nav .m-nav-contact { background: transparent; color: inherit; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-mobile-menu nav, .site-menu span, .action, .hero-options a, .hero-index a, .field-route a { transition: none; }
}

.hero-options {
  background: transparent;
  border: 0;
  gap: .55rem;
}
.hero-options a {
  min-height: 3.75rem;
  background: #fcfcfa;
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding-inline: .85rem;
}
.hero-options a { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 420px) {
  .hero-options { grid-template-columns: minmax(0, 1fr); }
}

.brand-ggs-die-hausmeister :is(.site-header, footer) { background: #fff; }
.site-header .brand-lockup--ggs,
.field-header .brand-lockup--ggs,
footer .brand-lockup--ggs {
  flex-direction: column;
  align-items: flex-start;
  gap: .32rem;
  color: #24292c;
}
.brand-lockup--ggs .brand-mark { width: clamp(6.6rem, 9.2vw, 8rem); }
.ggs-logo-name {
  display: block;
  color: #505a60;
  font: 700 clamp(1.04rem, 1.4vw, 1.25rem)/1.23 "Times New Roman", Georgia, serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.ggs-logo-name span {
  display: inline-block;
  padding-inline: .2em;
  color: #fff;
  background: #007f40;
}
