@font-face {
  font-family: "Liberation Serif";
  src: url("liberation-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Liberation Serif";
  src: url("liberation-serif-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #151513;
  --warm: #23221e;
  --ink: #f4f0e8;
  --muted: #d0c9bd;
  --accent: #d2b797;
  --line: #524c41;
  --dark: #10100f;
  --serif: "Times New Roman", Times, Baskerville, Georgia, "Liberation Serif", serif;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.64; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #aa7743; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(2.4rem, 4.9vw, 5.2rem); letter-spacing: -.056em; overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.1vw, 4.25rem); letter-spacing: -.054em; }
h3 { font-size: clamp(1.5rem, 2.25vw, 2.2rem); letter-spacing: -.036em; }
p { max-width: 65ch; }
.wrap { width: min(1296px, calc(100% - clamp(2rem, 10vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-130%); background: #f4f0e8; color: #161512; padding: .5rem 1rem; z-index: 2; }
.skip:focus { transform: translateY(0); }
.header, .footer { background: var(--dark); color: #fcfaf4; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; line-height: 1.3; }
.brand img { width: 104px; height: auto; }
.brand span { font-size: .875rem; border-left: 1px solid #74766d; padding-left: 1rem; }
.nav, .footer-links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.65rem; }
.nav a, .footer-links a { text-decoration: none; font-size: .9rem; }
.nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .22em; }
.nav .nav-action { padding: .45rem .85rem; border: 1px solid #999a90; }
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); min-height: 560px; min-height: min(690px, 78svh); background: var(--warm); }
.hero-content { min-width: 0; max-width: 100%; align-self: center; padding: clamp(2.75rem, 7vw, 7.25rem) clamp(1.4rem, 5.2vw, 6rem) clamp(3rem, 7vw, 7.25rem) max(clamp(1rem, 5vw, 4.5rem), calc((100vw - 1296px) / 2)); }
.eyebrow { text-transform: uppercase; font-size: .875rem; letter-spacing: .14em; font-weight: 700; color: var(--accent); line-height: 1.45; margin-bottom: 1.12rem; }
.hero h1 { max-width: 100%; }
.hero .lead { margin-top: 1.35rem; color: var(--muted); max-width: 44ch; font-size: clamp(1rem, 1.42vw, 1.16rem); }
.hero-actions { display: grid; grid-auto-rows: 1fr; gap: .55rem; width: min(100%, 24rem); margin-top: 1.65rem; }
.hero-actions .button { width: 100%; text-align: center; }
.hero-picture { position: relative; min-height: 100%; overflow: hidden; }
.hero-picture img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; min-height: 49px; padding: .65rem 1.15rem; color: #1a1814; background: #f0e9dc; border: 1px solid transparent; font: inherit; font-size: .96rem; font-weight: 700; cursor: pointer; }
.button:hover { background: #e2d6c3; }
.button.outline { color: var(--ink); background: transparent; border-color: #938675; }
.button.outline:hover { background: #373128; }
.button:disabled { opacity: .65; cursor: default; }
.text-link { text-decoration: underline; text-decoration-color: #a9947d; text-underline-offset: .26em; font-size: .94rem; }
.text-link:hover { text-decoration-color: currentColor; }
.section { padding-block: clamp(3.15rem, 7vw, 7.3rem); }
.section + .section { border-top: 1px solid var(--line); }
.editorial { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(1rem, 8vw, 8rem); }
.editorial-copy { display: grid; gap: 1rem; color: var(--muted); font-size: 1.04rem; }
.editorial-copy p:first-child { color: var(--ink); }
.project { background: var(--warm); }
.project-steps { list-style-position: inside; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; padding: 0; margin: 2.25rem 0 0; }
.project-steps li { border-top: 1px solid var(--line); padding-top: .85rem; }
.project-steps li::marker { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.project-steps h3 { margin: .4rem 0 .65rem; font-size: 1.45rem; }
.project-steps p { color: var(--muted); }
.faq-grid { display: grid; gap: clamp(1.25rem, 5vw, 4.75rem); grid-template-columns: 1.12fr .88fr; align-items: stretch; margin-top: 1.7rem; }
.faq-photo { position: relative; min-height: 100%; }
.faq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 700; position: relative; list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; color: var(--accent); font-size: 1.25rem; font-weight: 400; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 1.05rem; }
.contact { background: var(--dark); color: #fcfaf4; }
.contact .eyebrow { color: #d2b797; }
.contact .editorial-copy, .contact .editorial-copy p:first-child { color: #e5e1d7; }
.contact .actions { margin-top: .5rem; }
.contact address { font-style: normal; }
.next-step .editorial-copy { margin-top: 1.2rem; }
.contact-panel { border: 1px solid var(--line); background: var(--warm); padding: clamp(1.2rem, 3.1vw, 2.45rem); }
.contact-panel h3 { margin-bottom: 1.2rem; }
.contact-panel form { display: grid; gap: .95rem; }
.contact-panel label { display: grid; gap: .3rem; }
.contact-panel input, .contact-panel textarea { width: 100%; min-width: 0; background: #151513; color: var(--ink); border: 1px solid #746a5c; padding: .55rem .65rem; font: inherit; }
.contact-panel textarea { resize: vertical; }
.contact-panel .button { justify-self: start; }
.contact-privacy, #kontaktformular-status { color: var(--muted); font-size: .875rem; }
#kontaktformular-status:empty { display: none; }
.footer-inner { border-top: 1px solid #5d6058; min-height: 85px; padding-block: 1rem; display: flex; gap: .65rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer p { font-size: .9rem; }
@media (max-width: 900px) {
  .hero { min-height: 470px; }
  .project-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 65px; flex-wrap: wrap; padding-block: .7rem; gap: .55rem; }
  .brand { gap: .65rem; }
  .brand img { width: 80px; }
  .brand span { padding-left: .65rem; font-size: .82rem; }
  .nav { width: 100%; gap: .45rem .85rem; }
  .nav a { font-size: .86rem; }
  .nav .nav-action { padding: .35rem .52rem; font-size: .82rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-content { padding: 2.8rem 1rem 2.35rem; align-self: stretch; }
  .hero h1 { font-size: clamp(2.55rem, 8.5vw, 3.7rem); max-width: 100%; }
  .hero-picture { aspect-ratio: 1.32; min-height: 0; order: 0; }
  .editorial, .faq-grid { grid-template-columns: 1fr; }
  .faq-photo img { position: static; aspect-ratio: 1.65; }
  .project-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .project-steps { grid-template-columns: 1fr; }
  .brand span { font-size: .76rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.contact-panel [hidden] { display: none; }
