/* Die Startseite verwendet das lokale Inter für Überschriften, Fließtext und Zahlen. */
:root {
  --cream: #fafaf7;
  --cream-deep: #f1f1eb;
  --cream-line: #d9d9cf;
  --navy: #0f1e40;
  --navy-deep: #0a152f;
  --navy-soft: #25344e;
  --slate: #485263;
  --copper: #a98c52;
  --copper-ink: #715b2f;
  --copper-text: #715b2f;
  --copper-bright: #c7ad77;
}
body > nav,
body > nav.scrolled {
  padding: .4rem clamp(1.2rem, 3vw, 3.5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--cream-line);
  backdrop-filter: none;
}
nav .brand img { width: 126px; height: auto; }
nav .nlinks a,
nav.scrolled .nlinks a { color: var(--navy); }
nav .nlinks a:hover,
nav.scrolled .nlinks a:hover { color: var(--copper-ink); }
nav .ncta,
nav .ncta-m,
.btn-primary { border-radius: 5px; box-shadow: none; }
nav:not(.scrolled) .nav-burger span { background: var(--navy); }
body > nav a:focus-visible,
body > nav button:focus-visible { outline: 3px solid var(--copper-ink); outline-offset: 3px; }
nav:not(.scrolled) :is(.brand,.nav-burger,.ncta-m):focus-visible { outline-color: var(--copper-ink); }
footer .brand img { width: 154px; height: auto; filter: brightness(0) invert(1); }
.section-label, .blk .eyebrow {
  color: var(--copper-ink);
  background: none;
  border: 0;
  padding: 0;
  font: 650 .78rem/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sg-intro {
  background: var(--cream);
  padding: clamp(7rem, 10vw, 9rem) 0 clamp(2.7rem, 6vw, 4.25rem);
}
.sg-intro .wrap, .sg-tax-entry .wrap { max-width: 1260px; }
.sg-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(2.2rem, 7vw, 6.5rem);
  align-items: center;
}
.sg-intro-location {
  margin: 0 0 1rem;
  color: var(--copper-ink);
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: .03em;
}
.sg-intro h1 {
  max-width: 14ch;
  color: var(--navy);
  font: 690 clamp(3.2rem, 5.5vw, 5.1rem)/1.025 var(--sans);
  letter-spacing: -.059em;
  text-wrap: balance;
}
.sg-intro-lede {
  max-width: 46ch;
  margin-top: 1.2rem;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.58;
}
.sg-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.35rem;
  align-items: center;
  margin-top: 1.5rem;
}
.sg-intro .sg-main-button {
  background: var(--navy);
  color: var(--cream);
  padding: .85rem 1.2rem;
}
.sg-intro .sg-main-button:hover { background: var(--navy-soft); }
.sg-section-link, .text-link {
  color: var(--copper-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link { display: inline-block; margin-top: .75rem; }
.sg-section-link:focus-visible {
  outline: 3px solid var(--copper-ink);
  outline-offset: 4px;
}
.sg-portrait {
  position: relative;
  margin: 0;
  min-width: 0;
  height: clamp(22rem, 35vw, 29rem);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(145deg, #e9dfcc, #cdb78e);
}
.sg-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.sg-portrait figcaption {
  position: absolute;
  inset: auto auto 1rem 1rem;
  max-width: calc(100% - 2rem);
  border-radius: 4px;
  background: var(--cream);
  padding: .65rem .9rem;
  color: var(--slate);
  font-size: .81rem;
  line-height: 1.4;
}
.sg-portrait strong { display: block; color: var(--navy); font-size: .98rem; }
.sg-tax-entry {
  padding-block: clamp(2.4rem, 5.8vw, 5rem);
  scroll-margin-top: 5rem;
  background: var(--navy);
  color: var(--cream);
}
.sg-tax-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 7vw, 7.25rem);
}
.sg-tax-entry-copy h2 {
  margin: 0;
  font: 650 clamp(2rem, 4.2vw, 3.6rem)/1.06 var(--sans);
  letter-spacing: -.055em;
  max-width: 17ch;
}
.sg-tax-entry-copy p {
  margin: .95rem 0 0;
  color: #e0e5ec;
  max-width: 42ch;
  line-height: 1.58;
}
.sg-tax-guide { display: inline-block; margin-top: 1rem; padding-block: .35rem; color: #f2dbac; text-underline-offset: .24em; font-weight: 620; }
.sg-tax-guide:focus-visible { outline: 3px solid #f2dbac; outline-offset: 4px; }
.sg-tax-panel {
  min-width: 0;
  border-top: 4px solid var(--copper-bright);
  border-radius: 6px;
  padding: clamp(1.15rem, 3.4vw, 2.4rem);
  background: var(--cream);
  color: var(--navy);
}
.sg-tax-panel label { display: block; font-size: .93rem; font-weight: 650; }
.sg-tax-panel output {
  display: block;
  margin-top: .15rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
}
.sg-tax-panel input {
  --sg-tax-progress: 0%;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  padding: 0;
  margin: .45rem 0 0;
  background: transparent;
  cursor: ew-resize;
}
.sg-tax-panel input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--copper-ink) var(--sg-tax-progress), #c8cbd0 var(--sg-tax-progress));
}
.sg-tax-panel input::-moz-range-track { height: 5px; border-radius: 4px; background: #c8cbd0; }
.sg-tax-panel input::-moz-range-progress { height: 5px; background: var(--copper-ink); }
.sg-tax-panel input::-webkit-slider-thumb {
  appearance: none;
  width: 23px;
  height: 23px;
  margin-top: -9px;
  border: 2px solid #e9dcbf;
  border-radius: 50%;
  background: var(--copper-ink);
}
.sg-tax-panel input::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 2px solid #e9dcbf;
  border-radius: 50%;
  background: var(--copper-ink);
}
.sg-tax-range-guide { display: flex; justify-content: space-between; gap: .5rem; color: var(--slate); font-size: .8rem; }
.sg-tax-panel .sg-tax-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-weight: 650;
}
#sg-tax-income:not([hidden]) + .sg-tax-button { margin-top: 1.2rem; }
.sg-tax-panel .sg-tax-button:hover { background: var(--navy-soft); }
.sg-tax-panel :is(input, a):focus-visible { outline: 3px solid var(--copper-ink); outline-offset: 4px; }
.sg-tax-panel p { font-size: .81rem; line-height: 1.45; color: var(--slate); margin: .75rem 0 0; }
#stimme { padding-block: clamp(2.75rem, 5.5vw, 4.75rem); }

.work-section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.work-section h2, .sg-faq h2, h2.title {
  margin: .6rem 0 1rem;
  font: 650 clamp(2rem, 3.55vw, 3.2rem)/1.1 var(--sans);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.work-section p { max-width: 58ch; }
.work-section .section-label { margin: 0; }
.sg-feature, .sg-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.sg-frankfurt-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: var(--navy-deep);
  border-radius: 5px;
}
.sg-frankfurt-video:focus-visible { outline: 3px solid var(--copper-ink); outline-offset: 4px; }
.sg-criteria { padding: 0; margin: 1.25rem 0 .1rem; list-style: none; }
.sg-criteria li { padding: .65rem 0; border-top: 1px solid var(--cream-line); line-height: 1.52; }
.sg-criteria strong { display: block; margin-bottom: .15rem; font-weight: 650; }
.sg-criteria span { color: var(--slate); }
.sg-collaboration { scroll-margin-top: 5rem; }
.sg-collaboration .sg-project-figure { margin: 0; }
.sg-project-figure figcaption { margin-top: .4rem; color: var(--slate); font-size: .8rem; }
.sg-collaboration .sg-process { counter-reset: process; }
.sg-process li { position: relative; padding-inline-start: 2rem; counter-increment: process; }
.sg-process li::before {
  position: absolute;
  inset-inline-start: 0;
  color: var(--copper-ink);
  font-weight: 650;
  content: counter(process) ".";
}
.sg-apartment-profile { margin-top: 1rem; padding-top: .95rem; border-top: 1px solid var(--cream-line); }
.sg-apartment-profile h3 { margin: 0 0 .35rem; font: 650 1.2rem/1.25 var(--sans); }
.sg-apartment-profile p { color: var(--slate); }
.sub-lead, .st-quote { font-family: var(--sans); font-style: normal; }
.st-quote { letter-spacing: -.02em; line-height: 1.33; }
.st-note { font-family: var(--sans); font-style: normal; font-weight: 650; }
.sg-locations { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; margin: .9rem 0 0; }
.sg-locations a { padding: .3rem 0; font-weight: 600; text-underline-offset: 4px; color: var(--copper-ink); }
.sg-reading { background: var(--cream-deep); }
.sg-reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); margin-top: 1.75rem; }
.sg-reading-grid article { border-top: 1px solid #b5b7ac; padding: 1.1rem 0; }
.sg-reading-grid h3 { font: 620 1.4rem/1.2 var(--sans); letter-spacing: -.035em; margin-bottom: .6rem; }
.sg-reading-grid a { color: var(--navy); text-underline-offset: 4px; }
.sg-contact { background: var(--navy); color: var(--cream); }
.sg-contact .section-label { color: #e9d6ae; }
.sg-contact-grid { align-items: start; }
.sg-contact .btn-primary { margin-top: 1.05rem; }
.sg-contact .call-form { background: var(--cream); color: var(--navy); padding: clamp(1.25rem, 3.1vw, 2.35rem); border-radius: 4px; scroll-margin-top: 6rem; }
.call-form h3 { font: 650 1.65rem/1.16 var(--sans); letter-spacing: -.045em; margin: 0 0 .5rem; }
.call-form label { display: block; font-size: .92rem; font-weight: 600; margin: .8rem 0 .25rem; }
.call-form input:not([type="checkbox"]) { border: 1px solid #a6a9ac; border-radius: 4px; background: white; width: 100%; padding: .7rem; font: inherit; }
.call-form .call-consent { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; line-height: 1.5; }
.call-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; accent-color: var(--copper-ink); }
.call-form a { color: var(--copper-ink); text-underline-offset: 3px; }
.call-form button { border: 0; cursor: pointer; }
.call-status:not(:empty) { margin-top: 1rem; }
.call-form [hidden] { display: none !important; }
.sg-faq .faq { background: #fff; }
.sg-faq .fa { line-height: 1.6; }
.sg-faq .fa a { color: var(--copper-ink); text-decoration: underline; }
.sg-faq .faq summary { gap: 1rem; align-items: center; }
#newsletter:not(:has(.nlbox[data-bereit="true"])) { display: none; }
.reveal { opacity: 1; transform: none; }
.sg-work-film .mw-points { gap: .85rem; }
@media (min-width: 941px) and (max-width: 1060px) {
  nav .nlinks { gap: 1rem; }
}
@media (max-width: 940px) {
  nav .brand img { width: 102px; }
  nav .nlinks { top: 54px; }
}
@media (max-width: 760px) {
  .sg-intro-grid, .sg-tax-entry-grid, .sg-feature, .sg-contact-grid, .sg-reading-grid { grid-template-columns: minmax(0, 1fr); }
  .sg-intro { padding: 5.15rem 0 1.65rem; }
  .sg-intro .wrap, .sg-tax-entry .wrap, .work-section .wrap, .sg-faq .wrap { padding-inline: clamp(1.12rem, 5vw, 2rem); }
  .sg-intro-grid { gap: 1.25rem; }
  .sg-intro-location { margin-bottom: .6rem; font-size: .79rem; }
  .sg-intro h1 { font-size: clamp(2.05rem, 9vw, 3.3rem); text-wrap: initial; }
  .sg-intro-lede { margin-top: .85rem; }
  .sg-intro-actions { margin-top: .95rem; gap: .55rem 1rem; }
  .sg-portrait { height: 15.5rem; }
  .sg-portrait figcaption { inset: auto auto .65rem .65rem; max-width: calc(100% - 1.3rem); padding: .5rem .7rem; }
  .sg-collaboration .sg-project-figure { order: 2; }
  .sg-reading-grid { gap: 0; }
  .work-section { padding: 3rem 0; }
}
@media (max-width: 480px) {
  .sg-intro-actions > .sg-section-link { padding-block: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; transition: none !important; }
}
