/* Schlosserei Greb – Entwurf neue Website. Ohne Fremd-Schriften und Bibliotheken: schnell und datensparsam. */

:root {
  --nacht: #141d24;      /* fast schwarz-blau */
  --dunkel: #1b2730;     /* Grundton dunkel (wie die Greb App) */
  --tief: #23333e;
  --blau: #2f5d7c;
  --hell: #90bdd9;
  --glut: #f0a24b;       /* warmes Licht vom Alsfeld-Feuer */
  --papier: #f4f6f8;
  --linie: #dfe5ea;
  --text: #1c252c;
  --grau: #5d6b76;
  --rund: 18px;
  --schatten: 0 18px 40px -18px rgba(20, 29, 36, .45);
  --breite: 1220px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.sprung { position: absolute; left: -9999px; top: 0; }
.sprung:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Vorzeile mit kleinem Strich */
.vorzeile {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hell);
  margin-bottom: 14px;
}
.vorzeile::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.vorzeile.dunkel { color: var(--blau); }
.vorzeile.glut { color: var(--glut); }
.vorzeile .punkt { display: none; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--hell); color: var(--nacht); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(144, 189, 217, .8); }
.knopf.rand { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.knopf.rand:hover { background: rgba(255, 255, 255, .1); }
.knopf.rand.dunkel { color: var(--blau); box-shadow: inset 0 0 0 1.5px var(--blau); }
.knopf.rand.dunkel:hover { background: var(--blau); color: #fff; }
.knopf.glut { background: var(--glut); color: var(--nacht); }
.knopf.glut:hover { box-shadow: 0 10px 30px -8px rgba(240, 162, 75, .8); }
.knopf.hell { background: #fff; color: var(--dunkel); }
.knopf.klein { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  padding-top: env(safe-area-inset-top);
  transition: background .3s ease, box-shadow .3s ease;
}
.kopf.fest { background: rgba(20, 29, 36, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marke img { width: 56px; height: auto; filter: brightness(0) invert(1); }
.marke strong { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.marke small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hell); }
.menue { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.menue a:not(.knopf) { text-decoration: none; opacity: .88; position: relative; }
.menue a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--hell); transform: scaleX(0); transition: transform .25s ease; }
.menue a:not(.knopf):hover { opacity: 1; }
.menue a:not(.knopf):hover::after { transform: scaleX(1); }
.anruf { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.anruf svg { width: 18px; height: 18px; fill: var(--hell); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

/* Einstieg */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--nacht); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { animation: ruhig 18s ease-out both; }
@keyframes ruhig { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 29, 36, .92) 0%, rgba(20, 29, 36, .7) 45%, rgba(20, 29, 36, .15) 100%),
    linear-gradient(0deg, rgba(20, 29, 36, .9) 0%, rgba(20, 29, 36, 0) 45%);
}
.hero-text { position: relative; z-index: 2; max-width: var(--breite); width: 100%; margin: 0 auto; padding: 160px 20px 150px; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); font-weight: 800; max-width: 14ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, var(--hell)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.einleitung { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 30px; }
.hero-fakten {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: var(--breite);
  list-style: none; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-fakten li { padding: 22px 18px 26px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column; }
.hero-fakten li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-fakten strong { font-size: 1.5rem; letter-spacing: -.02em; }
.hero-fakten span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(70px, 9vw, 130px) 20px; }
.kopfzeile { max-width: 720px; margin-bottom: 46px; }
.kopfzeile p:not(.vorzeile) { color: var(--grau); font-size: 1.08rem; }
.kopfzeile.hell h2 { color: #fff; }

/* Leistungs-Karten */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.karte {
  position: relative; display: block; border-radius: var(--rund); overflow: hidden; aspect-ratio: 4 / 5;
  text-decoration: none; color: #fff; background: var(--tief); box-shadow: var(--schatten); isolation: isolate;
}
.karte picture, .karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.karte img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.karte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 29, 36, .92) 0%, rgba(20, 29, 36, .25) 50%, rgba(20, 29, 36, 0) 75%); z-index: 1; }
.karte div { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; }
.karte h3 { font-size: 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.karte h3::after { content: "→"; font-weight: 400; color: var(--hell); transform: translateX(-6px); opacity: 0; transition: .3s ease; }
.karte p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.karte:hover img { transform: scale(1.06); }
.karte:hover h3::after { transform: none; opacity: 1; }

.service {
  margin-top: 26px; padding: 30px 34px; border-radius: var(--rund); background: var(--papier);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--linie);
}
.service h3 { font-size: 1.3rem; }
.service p { margin: 0; color: var(--grau); max-width: 640px; }

/* Ablauf */
.ablauf { background: radial-gradient(1200px 500px at 85% 0%, rgba(47, 93, 124, .55), transparent 60%), var(--dunkel); color: #fff; }
.ablauf-innen { max-width: var(--breite); margin: 0 auto; padding: clamp(70px, 9vw, 120px) 20px; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.schritte li { position: relative; padding: 28px 24px 30px; border-radius: var(--rund); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.schritte span { display: inline-block; font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--hell); margin-bottom: 18px; padding: 6px 10px; border-radius: 8px; background: rgba(144, 189, 217, .12); }
.schritte p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .97rem; }

/* Projekt-Galerie (Bento) */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.galerie figure { position: relative; margin: 0; border-radius: var(--rund); overflow: hidden; background: var(--papier); }
.galerie picture, .galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.galerie figure:hover img { transform: scale(1.05); }
.galerie figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(20, 29, 36, .72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.galerie .gross { grid-column: span 2; grid-row: span 2; }
.galerie .hoch { grid-row: span 2; }
.galerie .breit { grid-column: span 2; }

/* Alsfeld-Feuer */
.feuer { position: relative; min-height: 640px; display: grid; align-items: center; color: #fff; overflow: hidden; background: #0d0f12; }
.feuer-bild, .feuer-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feuer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 15, .15) 0%, rgba(10, 12, 15, .55) 50%, rgba(10, 12, 15, .92) 75%); }
.feuer-text { position: relative; z-index: 2; max-width: var(--breite); width: 100%; margin: 0 auto; padding: 90px 20px; display: grid; justify-items: start; }
.feuer-text > * { margin-left: auto; max-width: 480px; width: 100%; }
.feuer-text h2 { text-shadow: 0 0 40px rgba(240, 162, 75, .35); }
.feuer-text p { color: rgba(255, 255, 255, .8); }
.klein-hell { font-size: .85rem; color: rgba(255, 255, 255, .55) !important; }

/* Shop */
.produkte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.produkt { text-decoration: none; padding: 14px; border-radius: calc(var(--rund) + 4px); border: 1px solid var(--linie); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.produkt:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.produkt picture { display: block; aspect-ratio: 1; border-radius: var(--rund); overflow: hidden; background: var(--papier); margin-bottom: 16px; }
.produkt img { width: 100%; height: 100%; object-fit: cover; }
.produkt h3, .produkt p, .produkt strong { padding: 0 6px; }
.produkt p { color: var(--grau); font-size: .92rem; margin-bottom: 8px; }
.produkt strong { display: block; color: var(--blau); font-size: 1.1rem; }
.mitte { text-align: center; margin: 40px 0 0; }

/* Über uns */
.ueber { max-width: var(--breite); margin: 0 auto; padding: 0 20px clamp(70px, 9vw, 130px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ueber-bild img { border-radius: calc(var(--rund) + 6px); box-shadow: var(--schatten); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.ueber-text p { color: var(--grau); }
blockquote { margin: 26px 0 0; padding: 22px 26px; border-left: 3px solid var(--hell); background: var(--papier); border-radius: 0 var(--rund) var(--rund) 0; font-size: 1.2rem; font-weight: 650; color: var(--dunkel); }
cite { display: block; margin-top: 8px; font-size: .85rem; font-style: normal; font-weight: 500; color: var(--grau); }

/* Jobs */
.jobs {
  max-width: calc(var(--breite) - 40px); margin: 0 auto; padding: 46px clamp(26px, 5vw, 60px); border-radius: calc(var(--rund) + 8px);
  background: linear-gradient(120deg, var(--blau), var(--tief)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.jobs h2 { margin-bottom: 8px; }
.jobs p:not(.vorzeile) { margin: 0; color: rgba(255, 255, 255, .8); max-width: 560px; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.kontakt-info > p:not(.vorzeile) { color: var(--grau); }
.wege { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.wege li, .wege a { display: block; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--linie); font-weight: 600; }
.wege li:has(a) { padding: 0; }
.wege span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); margin-bottom: 2px; }
.formular { padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--rund) + 6px); background: var(--papier); border: 1px solid var(--linie); display: grid; gap: 16px; }
.formular label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.formular input, .formular select, .formular textarea {
  font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--linie); background: #fff; color: var(--text); width: 100%;
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--hell); outline-offset: 1px; border-color: var(--blau); }
.zeile2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.haken { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--grau); }
.haken input { width: auto; margin-top: 4px; }
.formular .knopf { justify-self: start; background: var(--blau); color: #fff; }
.hinweis { margin: 0; color: var(--blau); font-weight: 600; }

/* Fuß */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .75); margin-top: clamp(40px, 6vw, 80px); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 60px 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.fuss img { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; width: 70px; }
.fuss strong { color: #fff; }
.fuss nav { display: grid; gap: 10px; align-content: start; }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { color: #fff; }
.fuss-zeile { max-width: var(--breite); margin: 0 auto; padding: 18px 20px 40px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ===== Unterseiten ===== */
.menue a[aria-current="page"] { opacity: 1; }
.menue a[aria-current="page"]::after { transform: scaleX(1); }

/* Seitenkopf mit Foto */
.seitenkopf { position: relative; min-height: min(68vh, 640px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--nacht); }
.seitenkopf picture, .seitenkopf picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seitenkopf picture img { animation: ruhig 18s ease-out both; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 29, 36, .94) 0%, rgba(20, 29, 36, .55) 50%, rgba(20, 29, 36, .3) 100%); }
.seitenkopf-text { position: relative; z-index: 2; max-width: var(--breite); width: 100%; margin: 0 auto; padding: 150px 20px 64px; }
.seitenkopf h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); font-weight: 800; max-width: 18ch; margin-bottom: 16px; }
.seitenkopf .einleitung { margin-bottom: 0; }
.seitenkopf .knoepfe { margin-top: 26px; }
.seitenkopf.schlicht { min-height: 0; background: radial-gradient(900px 400px at 90% 0%, rgba(47, 93, 124, .6), transparent 60%), var(--dunkel); }
.seitenkopf.schlicht::after { display: none; }
.seitenkopf.schlicht .seitenkopf-text { padding-bottom: 50px; }
.pfad { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.pfad li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.pfad a { text-decoration: none; }
.pfad a:hover { color: #fff; }

/* Bild und Text im Wechsel */
.wechsel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 60px) 0; scroll-margin-top: 80px; }
.wechsel + .wechsel { border-top: 1px solid var(--linie); }
.wechsel:nth-of-type(even) > picture, .wechsel:nth-of-type(even) > .bilder { order: 2; }
.wechsel picture img, .bilder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--rund) + 4px); box-shadow: var(--schatten); }
.bilder { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.bilder img { aspect-ratio: 3 / 4; height: 100%; }
.wechsel h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.wechsel p:not(.vorzeile) { color: var(--grau); }
.stichworte { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stichworte li { padding: 7px 14px; border-radius: 999px; background: var(--papier); border: 1px solid var(--linie); font-size: .88rem; font-weight: 600; color: var(--tief); }

/* Haken-Liste */
.haken-liste { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.haken-liste li { position: relative; padding-left: 30px; }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: rgba(144, 189, 217, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%232f5d7c'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Drei Merkmale nebeneinander */
.merkmale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.merkmal { padding: 28px; border-radius: var(--rund); background: var(--papier); border: 1px solid var(--linie); }
.merkmal b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--dunkel); color: var(--hell); font-size: 1.1rem; margin-bottom: 16px; }
.merkmal p { color: var(--grau); margin: 0; }

/* Aufruf-Band am Seitenende */
.aufruf { max-width: calc(var(--breite) - 40px); margin: 0 auto clamp(60px, 8vw, 110px); padding: clamp(36px, 5vw, 56px); border-radius: calc(var(--rund) + 8px);
  background: radial-gradient(700px 300px at 100% 0%, rgba(144, 189, 217, .25), transparent 60%), var(--dunkel); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.aufruf h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.aufruf p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 560px; }

/* Regionen */
.orte { columns: 3; column-gap: 30px; list-style: none; padding: 0; margin: 0; color: var(--grau); }
.orte li { padding: 4px 0; break-inside: avoid; }

/* Tabelle (Größen und Preise) */
.tabelle { width: 100%; border-collapse: collapse; margin: 20px 0 6px; font-size: .97rem; }
.tabelle th, .tabelle td { text-align: left; padding: 13px 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tabelle th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 700; }
.tabelle td:last-child, .tabelle th:last-child { text-align: right; white-space: nowrap; }
.tabelle.hell th, .tabelle.hell td { border-color: var(--linie); }
.tabelle.hell th { color: var(--grau); }

/* Dunkler Abschnitt allgemein */
.dunkel-band { background: radial-gradient(1100px 500px at 10% 0%, rgba(47, 93, 124, .5), transparent 60%), var(--dunkel); color: #fff; }
.dunkel-band .abschnitt p:not(.vorzeile) { color: rgba(255, 255, 255, .78); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }

/* Zeitleiste */
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 30px; max-width: 820px; }
.zeitleiste::before { content: ""; position: absolute; left: 47px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--hell), var(--blau)); opacity: .5; }
.zeitleiste li { display: grid; grid-template-columns: 96px 1fr; gap: 24px; position: relative; }
.zeitleiste time { justify-self: center; align-self: start; padding: 6px 12px; border-radius: 999px; background: var(--dunkel); color: #fff; font-weight: 800; font-size: .95rem; position: relative; z-index: 1; }
.zeitleiste h3 { margin-bottom: 6px; }
.zeitleiste p { color: var(--grau); margin: 0; }

/* Stellen */
.stellen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stelle { padding: 28px; border-radius: var(--rund); border: 1px solid var(--linie); background: #fff; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .25s ease, transform .25s ease; }
.stelle:hover { box-shadow: var(--schatten); transform: translateY(-3px); }
.stelle small { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blau); }
.stelle p { color: var(--grau); margin: 0; }
.stelle .haken-liste { margin-top: 12px; font-size: .95rem; }

/* Produkt-Seite */
.produkt-seite { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.produkt-bilder { display: grid; gap: 12px; position: sticky; top: 90px; }
.produkt-bilder .gross-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--rund) + 4px); background: var(--papier); }
.daumen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.daumen button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--papier); }
.daumen button[aria-pressed="true"] { border-color: var(--blau); }
.daumen img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.produkt-info h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; }
.preis { font-size: 2rem; font-weight: 800; color: var(--dunkel); letter-spacing: -.02em; margin: 6px 0 2px; }
.preis-hinweis { font-size: .85rem; color: var(--grau); }
.varianten { border: 0; padding: 0; margin: 26px 0 0; }
.varianten legend { font-weight: 700; margin-bottom: 10px; }
.varianten div { display: flex; flex-wrap: wrap; gap: 10px; }
.varianten label { cursor: pointer; }
.varianten input { position: absolute; opacity: 0; pointer-events: none; }
.varianten span { display: block; padding: 11px 16px; border-radius: 12px; border: 1.5px solid var(--linie); font-weight: 600; font-size: .95rem; transition: .2s ease; }
.varianten span small { display: block; font-weight: 500; color: var(--grau); font-size: .78rem; }
.varianten input:checked + span { border-color: var(--blau); background: rgba(144, 189, 217, .16); box-shadow: inset 0 0 0 1px var(--blau); }
.varianten input:focus-visible + span { outline: 2px solid var(--hell); outline-offset: 2px; }
.kaufen { display: flex; gap: 12px; margin: 26px 0 10px; flex-wrap: wrap; }
.menge { display: flex; align-items: center; border: 1.5px solid var(--linie); border-radius: 999px; overflow: hidden; }
.menge button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--dunkel); }
.menge input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.menge input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kaufen .knopf { background: var(--blau); color: #fff; flex: 1; min-width: 200px; }
.vorteile { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--linie); display: grid; gap: 8px; font-size: .93rem; color: var(--grau); }
.vorteile b { color: var(--text); }
.beschreibung { margin-top: 30px; }
.beschreibung p { color: var(--grau); }
.daten { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 16px 0 0; font-size: .95rem; }
.daten dt { color: var(--grau); }
.daten dd { margin: 0; font-weight: 600; }

/* Hinweis-Kasten */
.hinweis-box { padding: 18px 22px; border-radius: 14px; background: #fff7ec; border: 1px solid #f3d6ae; color: #7a4a12; font-size: .95rem; }
.hinweis-box.blau { background: rgba(144, 189, 217, .15); border-color: rgba(47, 93, 124, .25); color: var(--tief); }

/* Rechtstexte */
.recht { max-width: 780px; }
.recht h2 { font-size: 1.4rem; margin-top: 2em; }
.recht p, .recht li { color: #3a4650; }

/* Karte erst nach Klick */
.karte-platz { margin-top: 28px; border-radius: var(--rund); overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(rgba(27, 39, 48, .82), rgba(27, 39, 48, .82)), url("bilder/halle.jpg") center / cover; color: #fff; }
.karte-platz p { color: rgba(255, 255, 255, .75); font-size: .88rem; max-width: 360px; margin: 10px auto 16px; }
.karte-platz.geladen { position: relative; padding: 0; background: #e8e4dc; display: block; }
.karte-kacheln { position: absolute; width: 1280px; height: 768px; }
.karte-kacheln img { position: absolute; width: 256px; height: 256px; max-width: none; }
.karte-pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -26px 0 0 -13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--glut); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.karte-quelle { position: absolute; right: 0; bottom: 0; padding: 3px 8px; font-size: .72rem; background: rgba(255, 255, 255, .85); color: #333; text-decoration: none; border-top-left-radius: 8px; }
.route { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Shop-Leiste */
.shop-leiste { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.shop-leiste li { list-style: none; }
.versand-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.versand-info div { padding: 22px; border-radius: var(--rund); background: var(--papier); border: 1px solid var(--linie); }
.versand-info p { margin: 0; color: var(--grau); font-size: .93rem; }
.abzeichen { position: absolute; top: 24px; left: 24px; padding: 6px 12px; border-radius: 999px; background: var(--glut); color: var(--nacht); font-size: .78rem; font-weight: 800; z-index: 2; }
.produkt { position: relative; }

@media (max-width: 1060px) {
  .stellen, .merkmale, .versand-info { grid-template-columns: 1fr 1fr; }
  .orte { columns: 2; }
}
@media (max-width: 860px) {
  .seitenkopf { min-height: 0; }
  .seitenkopf-text { padding: 130px 20px 40px; }
  .wechsel, .zwei, .produkt-seite { grid-template-columns: 1fr; }
  .wechsel:nth-of-type(even) > picture, .wechsel:nth-of-type(even) > .bilder, .wechsel:nth-of-type(even) > .wisch { order: 0; }
  .stellen, .merkmale, .versand-info { grid-template-columns: 1fr; }
  .aufruf { flex-direction: column; align-items: flex-start; margin-left: 12px; margin-right: 12px; }
  .produkt-bilder { position: static; }
  .zeitleiste::before { left: 35px; }
  .zeitleiste li { grid-template-columns: 72px 1fr; gap: 14px; }
  .zeitleiste time { font-size: .85rem; padding: 5px 9px; }
  .tabelle { font-size: .9rem; }
  .tabelle th, .tabelle td { padding: 11px 6px; }
}

/* Schnellkontakt (nur Handy) */
.schnell { display: none; }

/* Einblenden beim Scrollen */
.zeigen { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.zeigen.da { opacity: 1; transform: none; }
.karten .zeigen:nth-child(2), .schritte .zeigen:nth-child(2), .produkte .zeigen:nth-child(2) { transition-delay: .08s; }
.karten .zeigen:nth-child(3), .schritte .zeigen:nth-child(3), .produkte .zeigen:nth-child(3) { transition-delay: .16s; }
.schritte .zeigen:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zeigen { opacity: 1; transform: none; transition: none; }
  .hero picture img { animation: none; }
}

/* Tablet */
@media (max-width: 1060px) {
  .menue { gap: 18px; font-size: .9rem; }
  .karten, .produkte { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* Handy */
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  /* Unschärfe-Effekt der Kopfleiste würde das offene Menü auf die Kopfhöhe begrenzen (heller Hintergrund beim Scrollen) */
  .kopf.offen { background: var(--nacht); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .anruf { display: flex; }
  .anruf span { display: none; }
  .burger { display: block; }
  .menue {
    position: fixed; inset: 0; padding: calc(90px + env(safe-area-inset-top)) 28px 40px; flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--nacht); font-size: 1.5rem; font-weight: 700; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); z-index: -1;
  }
  .menue a:not(.knopf) { padding: 10px 0; opacity: 1; }
  .menue .knopf { margin-top: 18px; font-size: 1rem; min-height: 52px; }
  .offen .menue { transform: none; }
  .offen .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .offen .burger span:nth-child(2) { opacity: 0; }
  .offen .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .marke img { width: 46px; }
  .marke small { font-size: .62rem; letter-spacing: .08em; white-space: nowrap; }
  .hero { align-items: start; }
  .hero-text { padding: 120px 20px 20px; }
  .hero-fakten { position: relative; padding-bottom: 110px; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 29, 36, .95) 0%, rgba(20, 29, 36, .55) 55%, rgba(20, 29, 36, .35) 100%); }
  .hero-fakten { grid-template-columns: repeat(2, 1fr); }
  .hero-fakten li { padding: 14px 12px 16px; }
  .hero-fakten li:nth-child(3) { border-left: 0; }
  .hero-fakten strong { font-size: 1.2rem; }
  .karten { grid-template-columns: 1fr; }
  .karte { aspect-ratio: 16 / 11; }
  .karte h3::after { opacity: 1; transform: none; }
  .service, .jobs { flex-direction: column; align-items: flex-start; }
  .jobs { margin: 0 12px; }
  .schritte { grid-template-columns: 1fr; }
  .galerie { grid-auto-rows: 160px; gap: 10px; }
  .galerie .hoch { grid-row: span 1; }
  .galerie figure:nth-child(7) { display: none; }
  .galerie figcaption { font-size: .74rem; padding: 5px 10px; left: 8px; bottom: 8px; right: 8px; width: max-content; max-width: calc(100% - 16px); }
  .galerie .breit { grid-column: span 2; }
  .feuer { min-height: 0; }
  .feuer::after { background: linear-gradient(0deg, rgba(10, 12, 15, .95) 0%, rgba(10, 12, 15, .7) 55%, rgba(10, 12, 15, .25) 100%); }
  .feuer-text { padding: 320px 20px 60px; }
  .produkte { grid-template-columns: 1fr; }
  .ueber, .kontakt { grid-template-columns: 1fr; }
  .zeile2 { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-innen > div { grid-column: span 2; }
  .schnell {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--nacht); box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .45);
  }
  .schnell a { text-align: center; padding: 12px 6px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; background: rgba(255, 255, 255, .08); }
  .schnell a.voll { background: var(--hell); color: var(--nacht); }
}

/* kleine Helfer */
.dunkel-band .merkmal { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.dunkel-band .merkmal p { color: rgba(255, 255, 255, .7); }
.dunkel-band .merkmal b { background: rgba(144, 189, 217, .15); }
.ohne-oben { padding-top: 0 !important; }
.grau { color: var(--grau); }
.klein { font-size: .88rem; }
.hell-kopf .kopf { background: rgba(20, 29, 36, .96); }
.hell-kopf main { padding-top: 76px; }
.pfad.dunkel { color: var(--grau); }
.pfad.dunkel a:hover { color: var(--blau); }
.h3 { font-size: 1.15rem; }
.aufruf.mit-abstand { margin-top: clamp(60px, 8vw, 110px); }
.formular { color: var(--text); }

/* ===== Shop: Warenkorb, Kasse, Danke ===== */
.unsichtbar { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.korb-link { position: relative; display: flex; align-items: center; color: #fff; padding: 6px; }
.korb-link svg { width: 24px; height: 24px; fill: currentColor; }
.korb-link span { position: absolute; top: -2px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--glut); color: var(--nacht); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.abschnitt.schmal { max-width: 860px; }
.abschnitt.schmal h1, .kasse h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 800; }
.knopf.blau { background: var(--blau); color: #fff; }
.knoepfe.rechts { justify-content: flex-end; margin-top: 26px; }
.korb-liste { border-top: 1px solid var(--linie); }
.korb-zeile { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.korb-bild img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--papier); }
.korb-text { display: grid; gap: 2px; font-size: .93rem; color: var(--grau); }
.korb-text a { text-decoration: none; color: var(--text); }
.korb-menge { display: flex; align-items: center; gap: 10px; }
.korb-menge input { width: 64px; padding: 8px; border: 1px solid var(--linie); border-radius: 10px; font: inherit; text-align: center; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: .88rem; color: var(--blau); text-decoration: underline; cursor: pointer; }
.korb-preis { min-width: 90px; text-align: right; }
.korb-summe { display: flex; justify-content: space-between; padding: 18px 0 4px; font-size: 1.2rem; }
.kasse { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.kasse-form h2 { margin: 12px 0 0; }
.wahlen { display: grid; gap: 10px; }
.wahl { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--linie); background: #fff; cursor: pointer; font-weight: 400 !important; }
.wahl input { width: auto !important; margin-top: 4px; }
.wahl span { display: grid; gap: 2px; }
.wahl small { color: var(--grau); }
.wahl:has(input:checked) { border-color: var(--blau); box-shadow: inset 0 0 0 1px var(--blau); }
.wahl[hidden], .nur-versand[hidden] { display: none !important; }
.nur-versand { display: grid; gap: 16px; }
.kasse-uebersicht { position: sticky; top: 96px; padding: 24px; border-radius: calc(var(--rund) + 4px); background: var(--papier); border: 1px solid var(--linie); }
.kasse-uebersicht .korb-zeile { grid-template-columns: 56px 1fr auto auto; gap: 10px; }
.kasse-uebersicht .korb-bild img { width: 56px; height: 56px; }
.summen { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 18px 0 10px; }
.summen dd { margin: 0; text-align: right; }
.summen .gesamt { font-weight: 800; font-size: 1.15rem; padding-top: 8px; border-top: 1px solid var(--linie); }
.danke-liste { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--linie); }
.danke-liste li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.danke-liste .gesamt { font-weight: 800; }
.bank { padding: 16px 20px; border-radius: 14px; background: var(--papier); font-family: ui-monospace, Menlo, monospace; }
.hinweis.fehler { color: #a3261b; }
.formular button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 860px) {
  .kasse { grid-template-columns: 1fr; }
  .kasse-uebersicht { position: static; order: -1; }
  .korb-zeile, .kasse-uebersicht .korb-zeile { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .korb-bild img { width: 60px; height: 60px; }
  .korb-zeile .korb-menge { grid-column: 2; }
  .korb-preis { grid-row: 1; grid-column: 3; }
  .korb-link { margin-left: auto; }
}

@media (max-width: 480px) {
  .kopf-innen { gap: 12px; }
  .marke small { display: none; }
}
.danke-liste b, .korb-preis { white-space: nowrap; }
.formular-muster { padding: 20px 24px; border: 1px dashed var(--linie); border-radius: 14px; background: var(--papier); }

/* Jobs: Hinweise oben rechts in der Stellenkarte */
.stelle { position: relative; }
.stelle-hinweis { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; color: var(--tief); background: var(--papier); border: 1px solid var(--linie); }
.stelle-hinweis.puls { color: #1d6b3a; background: #e9f7ee; border-color: #bfe5cc; }
.stelle-hinweis.puls::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #27a35a; animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(39, 163, 90, .55); } 50% { box-shadow: 0 0 0 6px rgba(39, 163, 90, 0); } }
.stelle small { padding-right: 130px; }
@media (prefers-reduced-motion: reduce) { .stelle-hinweis.puls::before { animation: none; } }

/* Metallbau-Kategorien: mehrere Fotos zum Wischen */
.wisch { position: relative; border-radius: calc(var(--rund) + 4px); overflow: hidden; box-shadow: var(--schatten); background: var(--papier); }
.wisch-fotos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.wisch-fotos::-webkit-scrollbar { display: none; }
.wisch-fotos picture { flex: 0 0 100%; scroll-snap-align: start; }
.wechsel .wisch-fotos picture img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
.wisch-anzahl { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff;
  background: rgba(20, 29, 36, .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.wechsel:nth-of-type(even) > .wisch { order: 2; }
.foto-punkte { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.foto-punkte i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 3px rgba(0, 0, 0, .4); transition: .2s; }
.foto-punkte i.an { background: #fff; transform: scale(1.25); }
.foto-pfeil { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9);
  color: var(--dunkel); font-size: 1.1rem; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.foto-pfeil.links { left: 10px; }
.foto-pfeil.rechts { right: 10px; }
.wisch:hover .foto-pfeil { opacity: 1; }
@media (hover: none) { .foto-pfeil { display: none; } }
