:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #20251e;
  --muted: #50564b;
  --orange: #ff6b35;
  --orange-ink: #ab3a16;
  --line: #d7d8ce;
  --footer: #222820;
  font-family: "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #a83413; outline-offset: 4px; }
.wrap { width: min(100% - 7rem, 83rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; background: white; padding: .6rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }
.brand { display: inline-block; flex: none; }
.brand img { width: 9.5rem; height: auto; }
nav { display: flex; align-items: center; gap: 2rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: none; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #3c4538; }
.button-orange { background: var(--orange); color: #1b2019; }
.button-orange:hover { background: #ff8154; }
.button:disabled { cursor: wait; opacity: .75; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-block: clamp(3rem, 5.3vw, 5.3rem); }
.kicker { display: flex; align-items: center; gap: .65rem; text-transform: uppercase; letter-spacing: .13em; font-size: .86rem; font-weight: 800; }
.kicker span { width: 1.4rem; height: 2px; flex: none; background: var(--orange); }
h1, h2, h3 { font-family: system-ui, sans-serif; line-height: 1.05; }
h1 { margin-top: 1.3rem; font-size: clamp(4.4rem, 8.4vw, 9.1rem); letter-spacing: -.095em; font-weight: 850; }
h1 em { color: var(--orange-ink); font-style: normal; }
.hero-description { max-width: 31rem; margin-top: 1.65rem; color: var(--muted); font-size: clamp(1.03rem, 1.45vw, 1.23rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; margin-top: 1.8rem; }
.text-link { font-weight: 800; text-underline-offset: .25em; }
.text-link:hover { color: var(--orange-ink); }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: .7rem -.7rem -.7rem .7rem; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); border-radius: .65rem; }
.hero-visual img { width: 100%; aspect-ratio: 1.18; height: auto; object-fit: cover; object-position: center; border-radius: .55rem; background: #dfd8c9; }
.services { border-block: 1px solid var(--line); background: #eeeee6; padding-block: 3.8rem 4.25rem; }
h2 { margin-top: .8rem; font-size: clamp(2.45rem, 5vw, 4.5rem); font-weight: 810; letter-spacing: -.07em; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 1.9rem; }
.service-grid article { padding: 1.4rem 1.25rem 1.65rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); }
.service-icon { color: var(--orange-ink); width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 1.1rem; }
h3 { font-size: 1.24rem; letter-spacing: -.035em; }
.service-grid p, .process li p { margin-top: .55rem; color: var(--muted); }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 4.6rem; }
.process ol { margin: 0; padding-left: 1.65rem; }
.process li { padding: .95rem .1rem .95rem .55rem; border-bottom: 1px solid var(--line); }
.process li:first-child { border-top: 1px solid var(--line); }
.process li::marker { color: var(--orange-ink); font-weight: 800; }
.contact { background: var(--footer); color: var(--paper); padding-block: 4.5rem; }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact h2 + p { margin-top: 1.25rem; max-width: 26rem; color: #dce0d5; }
form { display: grid; gap: .9rem; color: var(--ink); background: var(--paper); padding: clamp(1.2rem, 3vw, 2rem); border-radius: .55rem; }
.fields { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; font-weight: 750; }
label span { font-weight: 400; color: var(--muted); font-size: .88rem; }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; padding: .65rem .75rem; color: var(--ink); background: #fff; border: 1px solid #797d72; border-radius: .3rem; }
textarea { resize: vertical; }
#form-hinweis, .form-status { font-size: .93rem; }
#form-hinweis a { text-underline-offset: .2em; }
form .button { justify-self: start; }
.form-status:empty { margin-top: -.9rem; }
.form-status[data-state="error"] { color: #96280e; }
.form-status[data-state="success"] { color: #225723; }
.footer-inner { min-height: 6rem; }
.legal { max-width: 52rem; min-height: 58vh; padding-block: 3rem 4rem; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.065em; margin: 0 0 1.35rem; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.035em; margin: 1.55rem 0 .55rem; }
.legal p + p { margin-top: .8rem; }
.legal .draft { border-left: 4px solid var(--orange); padding: .65rem .9rem; margin-bottom: 1.2rem; background: #eeeee6; }
.legal .back { display: inline-block; margin-top: 1.6rem; font-weight: 700; }
@media (max-width: 63rem) {
  .wrap { width: calc(100% - 4rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner, .footer-inner { min-height: 4.55rem; gap: .6rem; }
  .brand img { width: 7.4rem; }
  nav { gap: .9rem; font-size: .9rem; }
  .site-header nav a[href="#ablauf"] { display: none; }
  .site-header .button { padding: .45rem .7rem; min-height: 2.7rem; }
  .hero, .process, .contact-inner { grid-template-columns: 1fr; }
  .hero { gap: 2.25rem; padding-block: 2.65rem 3rem; }
  h1 { font-size: clamp(4rem, 14vw, 6.6rem); }
  .hero-visual { margin-right: .4rem; }
  .hero-visual::before { inset: .45rem -.45rem -.45rem .45rem; }
  .services, .contact, .process { padding-block: 3rem; }
  .process, .contact-inner { gap: 1.6rem; }
}
@media (max-width: 29rem) {
  .service-grid, .fields { grid-template-columns: 1fr; }
}
@media (max-width: 22rem) {
  .site-header .wrap, .site-footer .wrap { width: calc(100% - 1.5rem); }
  .brand img { width: 6.4rem; }
  nav { gap: .55rem; }
}
