/* sadau. – Stylesheet (keine externen Ressourcen, Schrift lokal) */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #145060;
  --petrol-700: #0f3f4c;
  --petrol-900: #0b2a33;
  --petrol-50: #e8f0f1;
  --greige: #acac98;
  --greige-700: #74735f;
  --paper: #f3f0e8;
  --paper-2: #ebe6da;
  --line: #d9d3c4;
  --wood: #b8935e;
  --ink: #1b2629;
  --muted: #4e5a5e;
  --radius: 3px;
  --wrap: 1160px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: .18em; }
a:hover { color: var(--petrol-700); }
:focus-visible { outline: 3px solid #3b9bb3; outline-offset: 3px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--petrol); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Kleine Rubrik im Stil des Logo-Claims */
.tag { margin: 0 0 .9rem; font-size: 1rem; font-weight: 300; letter-spacing: .2em; color: var(--greige-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-700); color: #fff; }
.btn-outline { border-color: var(--petrol); color: var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .97rem; }
.btn[disabled] { opacity: .65; cursor: wait; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: block; line-height: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--petrol); text-decoration: underline; text-underline-offset: .35em; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.35fr .65fr; }
.hero-text { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 4vw, 4rem) clamp(3.5rem, 8vw, 6rem) 0; align-self: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 750; letter-spacing: -.035em; color: var(--petrol); margin-bottom: .5em; }
.hero h1 span { color: var(--greige-700); font-weight: 300; letter-spacing: -.02em; }
.hero-facts { align-self: center; margin: 0; padding: clamp(2rem, 5vw, 3rem) 0 clamp(2rem, 5vw, 3rem) clamp(2rem, 5vw, 4rem); border-left: 1px solid var(--line); }
.hero-facts div { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.hero-facts div:first-child { border-top: 0; padding-top: 0; }
.hero-facts dt { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; color: var(--petrol); }
.hero-facts dd { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--ink); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hinweis Beratungstermine */
.notice-band { background: var(--petrol); color: #fff; }
.notice-in { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; }
.notice-in .icon { width: 1.6rem; height: 1.6rem; color: var(--greige); }
.notice-in p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.notice-in a { color: #fff; font-weight: 600; text-decoration-color: rgba(255,255,255,.5); }
.notice-in a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: var(--ink); }
.section-head p:last-child:not(.tag) { margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }

/* Über uns */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5.5rem); }
.split-body p { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.split-body .big { color: var(--ink); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; }
/* Auftraggeber */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.area { border-top: 2px solid var(--petrol); padding-top: 1.1rem; }
.area h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.area p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.areas-close { margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink); max-width: 46rem; }

/* Leistungen: Bodenarten als Textliste */
.floors { list-style: none; margin: 0; padding: 0; counter-reset: floor; border-bottom: 1px solid var(--line); }
.floors li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-top: 1px solid var(--line); counter-increment: floor;
}
.floors li::before { content: counter(floor, decimal-leading-zero); font-weight: 300; font-size: 1.1rem; letter-spacing: .1em; color: var(--greige-700); }
.floors h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--petrol); }
.floors p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 1.5rem 0 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; position: relative; z-index: 1;
  width: 2.6rem; height: 2.6rem; margin-bottom: 1.2rem; border-radius: 50%;
  background: var(--petrol); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.steps li::after { content: ""; position: absolute; top: 1.3rem; left: 0; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { right: auto; width: 2.6rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Kontakt */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-intro { color: var(--muted); font-size: 1.1rem; }
.notice-box {
  display: flex; gap: .85rem; align-items: flex-start; margin: 1.5rem 0 0;
  padding: 1rem 1.15rem; background: var(--paper); border-left: 4px solid var(--petrol); line-height: 1.5;
}
.notice-box .icon { width: 1.35rem; height: 1.35rem; margin-top: .1rem; color: var(--petrol); }
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { width: 1.35rem; height: 1.35rem; margin-top: .2rem; color: var(--petrol); }
.contact-list strong { display: block; font-weight: 600; }
.contact-list a { color: var(--ink); text-decoration-color: var(--greige); }
.contact-list a:hover { color: var(--petrol); }
.contact-list span { color: var(--muted); }

.form-card { background: var(--paper); border-top: 4px solid var(--petrol); padding: clamp(1.4rem, 3vw, 2.25rem); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #c9c3b4; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #9fa79f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(20, 80, 96, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.form-status { margin: 1rem 0 0; padding: 0; font-weight: 500; }
.form-status.is-ok, .form-status.is-error { padding: .85rem 1rem; }
.form-status.is-ok { background: #e6f3ec; color: #14532d; }
.form-status.is-error { background: #fbeaea; color: #7a1f1f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); color: #c9d6da; padding: 3.25rem 0 2.25rem; font-size: .98rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { font-size: 1.9rem; font-weight: 750; letter-spacing: -.03em; color: #fff; line-height: 1; }
.footer-brand::after { content: ""; display: inline-block; width: .32em; height: .32em; margin-left: .06em; border-radius: 50%; background: var(--greige); }
.footer-claim { margin: .5rem 0 0; color: var(--greige); letter-spacing: .14em; font-weight: 300; font-size: .95rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; font-size: .92rem; color: #9fb3b9; }
.footer-bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Textseiten (Impressum, Datenschutz, AGB) ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; }
.page-head p { margin: .8rem 0 0; color: var(--muted); }
.prose { padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
.prose .wrap > * { max-width: 50rem; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .6rem; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 .4rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #2b3b41; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.agb p { margin-bottom: 1.15rem; }
.agb .par { display: block; font-weight: 700; color: var(--petrol); margin-bottom: .15rem; }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.center-page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.center-page p { color: var(--muted); max-width: 32rem; margin-inline: auto; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .floors li { grid-template-columns: 3.5rem 1fr; }
  .floors p { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 0; }
  .steps li:nth-child(2)::after { right: auto; width: 2.6rem; }
}
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-facts { border-left: 0; border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero-facts div, .hero-facts div:first-child { border-top: 0; padding: 0; }
  .hero-text { padding-right: 0; }
  .split, .contact { grid-template-columns: 1fr; }
  .split { gap: .5rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { height: 34px; }
  .header-in { min-height: 64px; }
  .areas, .steps, .field-row, .hero-facts { grid-template-columns: 1fr; }
  .hero-facts { gap: 1rem; }
  .floors li { grid-template-columns: 1fr; gap: .4rem; }
  .floors p { grid-column: 1; }
  .steps li { padding-right: 0; }
  .steps li::after { display: none; }
  .notice-in { align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .footer-grid, .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .form-card, .site-footer .footer-claim { display: none; }
  .notice-band { background: none; color: #000; border: 1px solid #000; }
  body { color: #000; }
}
