/* LiebnerElektro – Website. Systemschriften, viel Weißraum, eine Akzentfarbe. */
:root {
  --text: #1d1d1f; --leise: #6e6e73; --linie: #d2d2d7; --grau: #f5f5f7; --weiss: #fff;
  --akzent: #0a66d6; --akzent-dunkel: #0852ad; --fehler: #c5221f;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); color: var(--text); background: var(--weiss); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); text-align: center; }
h3 { font-size: 1.3rem; letter-spacing: -0.012em; }

.leiste { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 52px; padding: 0 max(1.25rem, calc((100vw - 1040px) / 2)); background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.marke { font-weight: 600; font-size: 1.1rem; color: var(--text); letter-spacing: -0.02em; }
.marke:hover { text-decoration: none; }
.leiste nav { display: flex; align-items: center; gap: 1.6rem; font-size: .82rem; }
.leiste nav a:not(.knopf) { color: var(--text); opacity: .8; }
.leiste nav a:not(.knopf):hover { opacity: 1; text-decoration: none; }

.knopf { display: inline-block; border: 0; cursor: pointer; font: inherit; font-size: 1.06rem; padding: .72rem 1.5rem; border-radius: 980px; background: var(--akzent); color: #fff; transition: background .2s; }
.knopf:hover { background: var(--akzent-dunkel); text-decoration: none; }
.knopf.hell { background: transparent; color: var(--akzent); box-shadow: inset 0 0 0 1.5px var(--akzent); }
.knopf.hell:hover { background: var(--akzent); color: #fff; }
.knopf.klein { font-size: .82rem; padding: .32rem .9rem; }
.knopf:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(10,102,214,.4); outline-offset: 2px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }

.buehne { text-align: center; padding: clamp(5rem, 14vw, 10rem) 1.25rem clamp(4rem, 10vw, 7rem); }
.ueber { margin: 0 0 1rem; color: var(--akzent); font-weight: 600; font-size: 1.05rem; }
.unter { margin: 1.4rem auto 0; max-width: 34rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--leise); line-height: 1.38; }

.block { padding: clamp(4rem, 9vw, 7rem) max(1.25rem, calc((100vw - 1040px) / 2)); }
.grau { background: var(--grau); }
.einleitung { margin: 1.2rem auto 0; max-width: 38rem; text-align: center; color: var(--leise); font-size: 1.15rem; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 3.2rem; }
.kacheln article { background: var(--grau); border-radius: 22px; padding: 2rem 1.7rem; }
.kacheln p { margin: .6rem 0 0; color: var(--leise); }

.preisliste { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-top: 3.2rem; align-items: start; }
.preisgruppe { background: var(--weiss); border-radius: 22px; padding: 1.8rem 1.7rem 1rem; }
.preisgruppe ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.preisgruppe li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; padding: .85rem 0; border-top: 1px solid var(--grau); }
.was small { display: block; color: var(--leise); font-size: .8rem; }
.preis { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.preis small { font-weight: 400; color: var(--leise); font-size: .8rem; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; max-width: 680px; margin: 3rem auto 0; }
.feld { display: flex; flex-direction: column; gap: .35rem; }
.breit { grid-column: 1 / -1; }
label { font-size: .86rem; color: var(--leise); }
label b, .pflicht b { color: var(--akzent); font-weight: 600; }
input:not([type=checkbox]), select, textarea { font: inherit; color: var(--text); width: 100%; padding: .8rem .95rem; border: 1px solid var(--linie); border-radius: 12px; background: var(--weiss); transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 7.5rem; }
input:focus, select:focus, textarea:focus { border-color: var(--akzent); box-shadow: 0 0 0 4px rgba(10,102,214,.14); outline: none; }
.fehlerhaft input:not([type=checkbox]), .fehlerhaft select, .fehlerhaft textarea { border-color: var(--fehler); }
.hinweis { color: var(--fehler); font-size: .8rem; }
.haken label { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; line-height: 1.4; cursor: pointer; }
.haken input { width: 1.15rem; height: 1.15rem; margin-top: .12rem; accent-color: var(--akzent); flex: none; }
.absenden { flex-direction: row; align-items: center; justify-content: space-between; margin-top: .4rem; }
.pflicht { margin: 0; font-size: .8rem; color: var(--leise); }
.meldung { margin: 0; color: var(--fehler); font-size: .92rem; min-height: 1.2rem; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { max-width: 680px; margin: 3rem auto 0; text-align: center; background: var(--grau); border-radius: 22px; padding: 3rem 1.5rem; }
.danke p { color: var(--leise); margin: .6rem 0 0; }

.kontakt { list-style: none; padding: 0; margin: 2.4rem 0 0; text-align: center; font-size: 1.25rem; line-height: 1.9; }
.gebiet { text-align: center; color: var(--leise); font-size: .92rem; margin: 1.6rem auto 0; max-width: 40rem; }
.text { max-width: 760px; margin: 0 auto; }
.text h2 { text-align: left; }
.text p { margin-top: 2rem; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding: 1.4rem max(1.25rem, calc((100vw - 1040px) / 2)); font-size: .78rem; color: var(--leise); border-top: 1px solid var(--linie); }
footer a { color: var(--leise); margin-left: 1.3rem; }
footer span:last-child a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  form { grid-template-columns: 1fr; }
  .leiste nav a:not(.knopf) { display: none; }
  .absenden { flex-direction: column-reverse; align-items: stretch; gap: .8rem; text-align: center; }
  .absenden .knopf { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
