@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html,
html[data-farbe="a"] {
  --paper: #1d2225;
  --paper-2: #262c30;
  --ink: #ece6dc;
  --ink-on-light: #1b1f1d;
  --muted: #b9b2a7;
  --muted-on-light: #3a342c;
  --anthracite: #16191b;
  --accent: #8a4b2a;
  --accent-hover: #74391d;
  --accent-deep: #8a4b2a;
  --em: #b0683e;
  --accent-line: #8a4b2a;
  --on-accent: #ffffff;
  --on-dark: #ece6dc;
  --on-dark-muted: #b9b2a7;
  --line: #3a4248;
  --line-strong: #6d6458;
  --white: #d9d3c8;
  --error: #8f1d1d;
}

html[data-farbe="b"] {
  --paper: #f7f5f2;
  --paper-2: #e8e4de;
  --ink: #24262b;
  --muted: #4a463f;
  --anthracite: #2a2e33;
  --accent: #7a432c;
  --accent-line: #c4a484;
  --on-accent: #fffaf6;
  --on-dark: #f7f5f2;
  --on-dark-muted: #d8d2c8;
  --line: #ddd6cc;
  --line-strong: #8a8176;
  --white: #fffcf8;
  --error: #8f1d1d;
}

html[data-farbe="c"] {
  --paper: #eceae4;
  --paper-2: #e2e0d8;
  --ink: #1d2a44;
  --muted: #3d4a62;
  --anthracite: #152033;
  --accent: #1d2a44;
  --accent-line: #b7c0d0;
  --on-accent: #f4f2ec;
  --on-dark: #f4f2ec;
  --on-dark-muted: #c9d0dc;
  --line: #d4d2cb;
  --line-strong: #7e8796;
  --white: #f7f6f2;
  --error: #8f1d1d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Avenir Next", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: 4.6rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

section[id] {
  scroll-margin-top: 5rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.topbar,
main,
section,
footer {
  max-width: 100%;
  overflow-x: clip;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  align-items: center;
  background: var(--anthracite);
  color: var(--on-dark);
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--on-dark);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.site-header.is-solid,
body:not(:has(.hero)) .site-header {
  background: var(--anthracite);
}

body:not(:has(.hero)) {
  padding-top: 4.8rem;
}

.marke {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex: 0 1 auto;
}

.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--ink);
}

.logo-type {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.logo-word {
  font-family: "Fraunces", Palatino, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-sub {
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 0.12rem;
}

.site-footer .marke {
  color: var(--on-dark);
  margin-bottom: 0.35rem;
}

.site-footer .logo-mark {
  color: var(--on-dark);
}

.site-footer .logo-sub {
  color: var(--on-dark-muted);
}

.nav-wrap {
  position: relative;
}

.nav-toggle,
.nav-fallback {
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--on-dark);
  background: var(--white);
  color: var(--ink-on-light);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

html.js .nav-fallback {
  display: none;
}

html.js .nav-toggle {
  display: inline-flex;
}

.site-nav {
  display: none;
}

.site-nav.is-open,
.site-nav:target {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 60;
  min-width: 16rem;
  background: var(--anthracite);
  color: var(--on-dark);
  border: 1px solid #3d524a;
  padding: 0.35rem 0.85rem 0.6rem;
  box-shadow: 0 16px 36px rgba(26, 30, 36, 0.1);
}

.site-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.15rem;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-close {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.wrap {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.narrow {
  width: min(40rem, calc(100% - 2.2rem));
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% 38%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 25, 27, 0.55) 0%, rgba(22, 25, 27, 0.78) 48%, rgba(22, 25, 27, 0.75) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 6.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

h1,
h2,
h3,
.sign {
  font-family: "Fraunces", Palatino, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.15rem, 8vw, 4.4rem);
  max-width: 12ch;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--em, var(--accent));
}

.lead {
  margin: 0 0 1rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.owner-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero-figure img {
  width: 100%;
  height: 62vw;
  max-height: 420px;
  object-fit: cover;
  object-position: 62% 42%;
  background: var(--paper-2);
}

.hero-card {
  position: relative;
  margin: -2.2rem 0.8rem 0 auto;
  width: min(16rem, calc(100% - 1.6rem));
  background: var(--white);
  color: var(--ink-on-light);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}

.hero-card strong {
  display: block;
  font-family: "Fraunces", Palatino, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.versprechen {
  padding: 4.5rem 0 4.2rem;
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.versprechen h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  max-width: 14ch;
}

.versprechen p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  max-width: 38rem;
}

.sign {
  margin: 2.2rem 0 0;
  font-style: italic;
  font-weight: 400;
  font-size: 1.85rem;
}

.sign span {
  display: block;
  margin-top: 0.35rem;
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}

.section-lead {
  margin: 0 0 1.4rem;
  max-width: 42rem;
  color: var(--muted);
}

.leistungen {
  border-top: 1px solid var(--line);
}

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

.leistung summary {
  list-style: none;
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.45rem 0;
}

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

.nr {
  font-family: "Fraunces", Palatino, serif;
  color: var(--ink);
  font-size: 1.05rem;
  min-width: 1.8rem;
}

.leistung summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}

.leistung[open] summary::after {
  content: "–";
}

.leistung-body {
  padding: 0 0 1.1rem 2.6rem;
  max-width: 40rem;
}

.leistung-body p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.arbeiten {
  padding: 2.4rem 0 1rem;
}

.work-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.work-xl,
.work-lg,
.work-stack figure,
.work-wide,
.surf figure,
.surf-band {
  margin: 0;
}

.work-xl {
  margin-top: 1.2rem;
}

.work-xl img,
.work-lg img,
.work-stack img,
.work-wide img,
.surf img,
.surf-band img {
  width: 100%;
  object-fit: cover;
  background: var(--line);
}

.work-xl img {
  height: min(72vw, 520px);
  object-position: center 40%;
}

.work-split {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.work-lg img {
  height: 320px;
  object-position: center 35%;
}

.work-stack {
  display: grid;
  gap: 1.25rem;
}

.work-stack img {
  height: 220px;
  object-position: center 45%;
}

.work-wide {
  margin-top: 1.25rem;
}

.work-wide img {
  height: 280px;
  object-position: center 30%;
}

figcaption {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.surf {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 0 0 2.4rem;
}

.surf img {
  height: 260px;
  object-position: center 55%;
}

.surf p {
  margin: 0;
  color: var(--muted);
}

.surf-band {
  margin: 0;
}

.surf-band img {
  height: 280px;
  object-position: center 60%;
}

.raeume {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.raeume li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.raeume strong {
  font-family: "Fraunces", Palatino, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.raeume span {
  color: var(--muted);
}

.einsatz {
  background: var(--anthracite);
  border-block: 1px solid var(--line);
}

.einsatz p {
  font-size: 1.15rem;
}

.steps {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.inquiry {
  background: var(--anthracite);
  color: var(--on-dark);
  padding: 3.2rem 0 3.4rem;
  border-top: 3px solid var(--accent-line);
}

.inquiry h2 {
  color: var(--on-dark);
}

.inquiry-lead,
.inquiry-note {
  color: var(--on-dark-muted);
}

.form-card,
.form-card p,
.form-card label {
  color: var(--ink);
}

.inquiry-lead {
  margin: 0 0 1.1rem;
  max-width: 32rem;
  color: var(--on-dark-muted);
  font-size: 1.125rem;
}

.inquiry-phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: "Fraunces", Palatino, serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.03em;
  color: var(--on-dark);
  text-decoration: none;
}

.inquiry-note {
  margin: 0.4rem 0 0;
  color: var(--on-dark-muted);
}

.inquiry-grid {
  display: grid;
  gap: 1.6rem;
}

.form-card {
  background: var(--paper-2);
  color: var(--ink);
  padding: 1.3rem 1.1rem 1.3rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: #fffdf8;
  color: var(--ink-on-light);
  font: inherit;
  border-radius: 0;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.form-card .field-error {
  margin: 0.35rem 0 0;
  color: #f0b4ae;
  font-size: 0.95rem;
}

.form-card .btn {
  width: 100%;
}

.form-card .preview-note,
.form-card .form-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card .form-status {
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  background: var(--anthracite);
  color: var(--on-dark);
  padding: 1.6rem 1.1rem 1.8rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer a {
  color: var(--on-dark);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.sw-legal a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.call-sticky {
  display: flex;
  position: fixed;
  z-index: 40;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

.lesen,
main.blatt {
  background: #d9d3c8;
  color: var(--ink-on-light);
}

.lesen :is(.section-lead, .leistung-body p, figcaption, .steps p, .raeume span),
main.blatt p {
  color: var(--muted-on-light);
}

.lesen :is(h2, h3, summary, strong),
main.blatt :is(h1, h2) {
  color: var(--ink-on-light);
}

.lesen .nr,
.lesen .leistung summary::after {
  color: var(--accent-deep);
}

main.blatt {
  padding: 1.4rem 0 2.4rem;
}

.blatt {
  width: min(42rem, calc(100% - 2.2rem));
  margin: 1.5rem auto 3rem;
}

.blatt h1 {
  max-width: none;
  font-size: clamp(2rem, 6vw, 3rem);
}

.zurueck {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 0.6rem;
}

@media (min-width: 720px) {
  .raeume li {
    grid-template-columns: 13rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }

  .surf {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .surf.flip {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .surf.flip figure {
    order: 2;
  }

  .surf img,
  .work-lg img {
    height: 380px;
  }

  .work-stack img {
    height: 250px;
  }

  .work-wide img,
  .surf-band img {
    height: 420px;
  }

  .work-xl img {
    height: min(68vh, 680px);
  }

  .form-card {
    padding: 1.6rem 1.5rem 1.5rem;
  }

  .form-card .btn {
    width: auto;
  }
}

@media (min-width: 900px) {
  .work-split {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: start;
  }

  .hero {
    min-height: 88svh;
    padding: 0;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(22, 25, 27, 0.75) 0%, rgba(22, 25, 27, 0.48) 46%, rgba(22, 25, 27, 0.35) 100%);
  }

  .hero-grid,
  .inquiry-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.6rem;
  }

  .hero-figure img {
    height: 540px;
    max-height: none;
  }

  .inquiry-grid {
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-word {
    font-size: 22px;
  }

  .logo-sub {
    font-size: 13px;
    margin-top: 0.16rem;
  }

  .nav-toggle,
  .nav-fallback,
  .nav-close {
    display: none !important;
  }

  .site-nav,
  .site-nav.is-open,
  .site-nav:target {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    min-width: 0;
    gap: 0.15rem 0.85rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav .btn {
    margin: 0 0 0 0.3rem;
  }

  .call-sticky {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

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