/* Projektwerkstatt – Landingpage
   Farben aus dem Schaltschrank: RAL 7016 Anthrazit, RAL 7035 Lichtgrau,
   RAL 1003 Signalgelb, Neutralleiter-Blau, Schutzleiter Grün-Gelb. */
.pw-body { margin: 0; background: #EEF0ED; }
.pw {
  --anth: #383E42;
  --anth-2: #2C3134;
  --grau: #CBD0CC;
  --hell: #EEF0ED;
  --gelb: #F9A800;
  --blau: #2F6DB5;
  --text: #22272A;
  --muted: #5E676C;
  --head: "Bahnschrift", "DIN Alternate", "DIN 2014", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw a { color: inherit; }
.pw a:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.pw h1, .pw h2, .pw h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0 0 .6em; color: inherit; letter-spacing: 0; }
.pw h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pw h3 { font-size: 1.2rem; }
.pw p { margin: 0 0 1em; max-width: 64ch; }
.pw-wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* Buttons */
.pw-btn { display: inline-block; background: var(--gelb); color: var(--anth-2) !important; font-family: var(--head); font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: .8em 1.4em; border-radius: 4px; border: 2px solid var(--gelb); transition: background .15s, color .15s; }
.pw-btn:hover { background: #ffbb2e; border-color: #ffbb2e; }
.pw-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.pw-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.pw-btn-dark { background: var(--anth); border-color: var(--anth); color: #fff !important; }
.pw-btn-dark:hover { background: var(--anth-2); border-color: var(--anth-2); }
.pw-btn-sm { padding: .45em 1em; font-size: .95rem; }

/* Navigation */
.pw-nav { background: var(--anth-2); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px max(24px, calc((100% - 1160px) / 2)); }
.pw-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pw-logo { width: 40px; height: 40px; }
.pw-brand strong { display: block; font-family: var(--head); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.pw-brand small { display: block; color: #aab3b8; font-size: .82rem; }
.pw-nav nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.pw-nav nav a { text-decoration: none; color: #dfe3e5; font-size: .98rem; }
.pw-nav nav a:hover { color: #fff; }

/* Hero */
.pw-hero { background: var(--anth); color: #fff; padding: 44px 0 0; overflow: hidden; }
.pw-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 600; max-width: 20ch; margin-bottom: .45em; }
.pw-lead { font-size: 1.1rem; color: #d3d9dc; max-width: 64ch; margin-bottom: .4em; }
.pw-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* Klemmleiste (das Erkennungszeichen der Seite) */
.pw-rail-wrap { margin-top: 32px; padding: 14px 0 18px; background:
  linear-gradient(var(--anth-2), var(--anth-2)) center / 100% 1px no-repeat,
  #31373a; }
.pw-rail { position: relative; display: flex; gap: 6px; width: min(1160px, 100% - 48px); margin-inline: auto; overflow-x: auto; padding: 14px 0; scrollbar-width: thin; }
.pw-rail::before { /* Hutschiene */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 34px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #aab2b6 0 22px, #8e979c 22px 26px); border-top: 3px solid #c3c9cc; border-bottom: 3px solid #7b8489; z-index: 0; }
.pw-term { position: relative; z-index: 1; flex: 1 1 0; min-width: 104px; min-height: 128px; background: linear-gradient(90deg, #d9dcd9, #f1f2ef 40%, #dcdfdc); border-radius: 6px 6px 4px 4px; padding: 34px 10px 12px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--anth-2); box-shadow: inset -2px 0 0 #b9bfbb; }
.pw-term::before { /* Schraube */
  content: ""; position: absolute; top: 12px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: radial-gradient(circle, #9aa1a4 30%, #6f777b 32%, #6f777b 38%, #9aa1a4 40%); box-shadow: inset 0 0 0 2px #7d8589; }
.pw-term::after { /* Schlitz */
  content: ""; position: absolute; top: 21px; left: 50%; width: 14px; height: 2px; margin-left: -7px; background: #555d61; transform: rotate(-35deg); }
.pw-term b { font-family: var(--head); font-weight: 600; font-size: 1rem; display: block; background: var(--gelb); margin: 0 -6px 6px; padding: 4px 6px; border-radius: 2px; }
.pw-term i { font-style: normal; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.pw-led { position: absolute; top: 40px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: #5d6a5d; }
.pw-term-pe { flex: 0 0 46px; min-width: 46px; width: 46px; background: repeating-linear-gradient(135deg, #2e8b3a 0 10px, #e9c600 10px 20px); box-shadow: none; }
.pw-term-pe::before, .pw-term-pe::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pw-led { animation: pw-on .35s ease-out forwards; }
  .pw-term:nth-child(1) .pw-led { animation-delay: .5s; }
  .pw-term:nth-child(2) .pw-led { animation-delay: .7s; }
  .pw-term:nth-child(3) .pw-led { animation-delay: .9s; }
  .pw-term:nth-child(4) .pw-led { animation-delay: 1.1s; }
  .pw-term:nth-child(5) .pw-led { animation-delay: 1.3s; }
  .pw-term:nth-child(6) .pw-led { animation-delay: 1.5s; }
  .pw-term:nth-child(7) .pw-led { animation-delay: 1.7s; }
  .pw-term:nth-child(8) .pw-led { animation-delay: 1.9s; }
  .pw-term:nth-child(9) .pw-led { animation-delay: 2.1s; }
  .pw-term:nth-child(10) .pw-led { animation-delay: 2.3s; }
}
@media (prefers-reduced-motion: reduce) { .pw-led { background: #57d164; box-shadow: 0 0 8px #57d164; } }
@keyframes pw-on { to { background: #57d164; box-shadow: 0 0 10px #57d164; } }

/* Zielgruppen */
.pw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-block: 48px; background: #fff; border-radius: 8px; overflow: hidden; }
.pw-split > div { padding: 30px 36px; }
.pw-split > div + div { border-left: 6px solid var(--gelb); background: #fafaf8; }

/* Leistungen */
.pw-services { padding: 8px 0 48px; }
.pw-dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 0; }
.pw-dl > div { padding: 16px 0; border-top: 2px solid var(--grau); }
.pw-dl dt { font-family: var(--head); font-weight: 600; font-size: 1.12rem; margin-bottom: .3em; }
.pw-dl dd { margin: 0; color: #3e464a; }

/* Werkstatt: Lochblech */
.pw-shop { background: var(--anth); color: #fff; padding: 48px 0; }
.pw-shop p { color: #d3d9dc; font-size: 1.1rem; }
.pw-shop-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.pw-plate { list-style: none; margin: 0; padding: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-radius: 6px;
  background: radial-gradient(circle, #2a2f32 2.2px, transparent 2.6px) 0 0 / 18px 18px, #4a5256; }
.pw-plate li { background: var(--hell); color: var(--text); padding: 12px 14px; border-radius: 4px; font-size: .95rem; line-height: 1.45; }
.pw-plate b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; margin-bottom: 2px; }

/* Ablauf */
.pw-steps { padding-block: 48px; }
.pw-steps ol { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.pw-steps li { counter-increment: s; border-top: 4px solid var(--anth); padding-top: 18px; position: relative; }
.pw-steps li::before { content: counter(s); font-family: var(--head); font-weight: 600; font-size: 2.6rem; color: var(--blau); line-height: 1; display: block; margin-bottom: 10px; }
.pw-steps li p { color: #3e464a; }

/* Netzwerk */
.pw-net { background: var(--grau); padding: 48px 0; }
.pw-net-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.pw-net p { font-size: 1.1rem; margin: 0; }
.pw-net p + p { margin-top: 1em; }
.pw-werte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; margin: 32px 0 0; }
.pw-werte > div { padding-top: 18px; border-top: 4px solid var(--gelb); }
.pw-werte dt { font-family: var(--head); font-weight: 600; font-size: 1.3rem; margin-bottom: .3em; }
.pw-werte dd { margin: 0; color: #2c3134; }
@media (max-width: 1100px) { .pw-werte { grid-template-columns: 1fr 1fr; gap: 28px 40px; } }
@media (max-width: 860px) { .pw-werte { grid-template-columns: 1fr; gap: 24px; } }

/* Kontakt */
.pw-contact { background: var(--gelb); color: var(--anth-2); padding: 44px 0; }
.pw-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.pw-contact p { margin: 0; font-size: 1.1rem; }
.pw-contact h2 { margin-bottom: .3em; }
.pw-contact-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pw-tel { font-family: var(--head); font-weight: 600; font-size: 1.4rem; text-decoration: none; }

/* Fußzeile */
.pw-foot { background: var(--anth-2); color: #aab3b8; font-size: .9rem; padding: 24px 0; }
.pw-foot .pw-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pw-foot a { color: #dfe3e5; }

/* Mobil */
@media (max-width: 860px) {
  .pw-nav { flex-direction: column; align-items: flex-start; }
  .pw-nav nav { gap: 14px 18px; }
  .pw-hero { padding-top: 48px; }
  .pw-split, .pw-dl, .pw-shop-grid, .pw-net-inner, .pw-plate { grid-template-columns: 1fr; }
  .pw-split > div { padding: 32px 26px; }
  .pw-split > div + div { border-left: 0; border-top: 6px solid var(--gelb); }
  .pw-steps ol { grid-template-columns: 1fr 1fr; }
  .pw-term { min-width: 104px; min-height: 120px; }
}
@media (max-width: 520px) { .pw-steps ol { grid-template-columns: 1fr; } }

/* Live-Anlage */
.pw-live { padding: 24px 0 96px; }
.pw-live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pw-live-state { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.05rem; color: var(--anth); }
.pw-dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa1a4; }
.pw-live.is-on .pw-dot { background: #3fbf52; box-shadow: 0 0 0 4px rgba(63,191,82,.18); }
.pw-scheme { background: #fff; border-radius: 8px 8px 0 0; padding: 24px; border: 2px solid var(--grau); border-bottom: 0; overflow-x: auto; }
.pw-scheme svg { display: block; width: 100%; min-width: 760px; height: auto; }
.pw-live-note { margin-top: 12px; color: var(--muted); font-size: .92rem; }

.pw-pipe { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke .4s; }
.pw-hot { stroke: #c8492e; }
.pw-cold { stroke: var(--blau); }
.pw-pipe:not(.is-on) { stroke: #d3d8d6; }

.pw-pump-body { fill: #fff; stroke: #2C3134; stroke-width: 3; }
.pw-pump-rotor { fill: #a9b0b3; }
.pw-pump.is-on .pw-pump-body { fill: #e8f6ea; stroke: #2e8b3a; }
.pw-pump.is-on .pw-pump-rotor { fill: #2e8b3a; }
@media (prefers-reduced-motion: no-preference) {
  .pw-pump.is-on .pw-pump-rotor { animation: pw-spin 1.6s linear infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes pw-spin { to { transform: rotate(360deg); } }
.pw-mix { fill: #fff; stroke: #2C3134; stroke-width: 2.5; stroke-linejoin: round; }

.pw-badge rect { fill: #e4e7e5; }
.pw-badge text { font-family: var(--head); font-weight: 600; font-size: 14px; fill: #5E676C; }
.pw-badge.is-on rect { fill: #2e8b3a; }
.pw-badge.is-on text { fill: #fff; }

.pw-flame { fill: #d6dbd8; transition: fill .3s; }
.pw-flame.is-on { fill: var(--gelb); }
.pw-sun { fill: #d6dbd8; }
.pw-sun.is-on { fill: var(--gelb); }
.pw-lbl { font-family: var(--body); font-size: 15px; fill: var(--muted); }
.pw-lbl-s { font-size: 13px; }
.pw-val { font-family: var(--head); font-weight: 600; font-size: 28px; fill: var(--anth-2); }
.pw-val-s { font-size: 22px; }
.pw-val-l { font-size: 34px; }
.pw-tile { stroke-width: 2.5; }
.pw-tile-sun { fill: #fff6df; stroke: var(--gelb); }
.pw-tile-out { fill: #eaf1f9; stroke: var(--blau); }
.pw-rays { stroke: #d6dbd8; stroke-width: 3; stroke-linecap: round; }
.pw-sun.is-on + .pw-rays { stroke: var(--gelb); }
.pw-thermo { fill: #fff; stroke: #2C3134; stroke-width: 3; stroke-linecap: round; }
.pw-thermo circle { fill: #c8492e; stroke: #2C3134; }
.pw-thermo-fill { stroke: #c8492e; stroke-width: 5; }
.pw-val-xs { font-size: 18px; }
.pw-cold-t { fill: var(--blau); }
.pw-lcd { font-family: var(--head); font-size: 18px; fill: #8df59b; }
.pw-in { fill: #fff; paint-order: stroke; stroke: rgba(30,35,38,.55); stroke-width: 4px; }

/* Werteübersicht */
.pw-scheme-el { border-radius: 0; border-top: 2px solid var(--grau); }
.pw-scheme-title { font-size: 1.15rem; margin: 0 0 8px; }
.pw-wire { fill: none; stroke-width: 8; stroke-linecap: round; stroke: #d3d8d6; transition: stroke .4s; }
.pw-wire.is-on { stroke: var(--gelb); }
.pw-arrow { fill: transparent; transition: fill .3s; transform-box: view-box; }
.pw-arrow.is-on { fill: var(--anth-2); }
.pw-arrow.is-rev { transform: scaleX(-1); }
.pw-bus { fill: var(--anth); }
.pw-ico { fill: none; stroke: #2C3134; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pw-ico rect { fill: #EEF0ED; }
.pw-batt { fill: #EEF0ED; stroke: #2C3134; stroke-width: 3; }
.pw-soc { fill: #57b866; transition: height .5s, y .5s; }
.pw-rod, .pw-rod-ico { fill: none; stroke: #9aa1a4; stroke-width: 3.5; stroke-linejoin: round; }
.pw-rod.is-on, .pw-rod-ico.is-on { stroke: var(--gelb); }
.pw-wb-led { stroke: #9aa1a4; stroke-width: 5; }
.pw-wb-led.is-on { stroke: #3fbf52; }
.pw-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--grau); border: 2px solid var(--grau); border-radius: 0 0 8px 8px; overflow: hidden; }
.pw-values section { background: #fff; padding: 18px 22px; }
.pw-values h3 { font-size: 1.25rem; font-weight: 700; color: var(--anth-2); margin: 0 0 .6em; padding-bottom: .35em; border-bottom: 3px solid var(--gelb); }
.pw-values dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; font-size: .95rem; }
.pw-values dt { color: var(--muted); }
.pw-values dd { margin: 0; font-family: var(--head); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pw-values dd.is-on { color: #2e8b3a; }
.pw-values-yield { background: #fff8e6 !important; }
@media (max-width: 860px) { .pw-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pw-values { grid-template-columns: 1fr; } }

/* Impressum und Datenschutz */
.pw-foot-links { display: flex; gap: 20px; }
.pw-legal-head { background: var(--anth); color: #fff; padding: 56px 0 28px; }
.pw-legal-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5em; }
.pw-legal-toc { display: flex; gap: 12px; flex-wrap: wrap; }
.pw-legal-toc a { color: var(--anth-2) !important; background: var(--gelb); text-decoration: none; font-family: var(--head); font-weight: 600; padding: .45em 1em; border-radius: 4px; }
.pw-legal-toc a:hover { background: #ffbb2e; }
.pw-legal-body { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 56px 88px; }
.pw-legal section { background: #fff; border-radius: 8px; padding: 40px 48px; margin-bottom: 28px; max-width: 860px; scroll-margin-top: 20px; }
.pw-legal h2 { border-bottom: 4px solid var(--gelb); padding-bottom: .3em; }
.pw-legal h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; color: var(--anth-2); }
.pw-legal p { max-width: 70ch; }
.pw-legal a { color: var(--blau); }
.pw-legal-lead { color: var(--muted); }
.pw-todo { background: #fff1c2; border-left: 4px solid var(--gelb); padding: 1px 6px; color: #5a4300; font-size: .92em; }
@media (max-width: 860px) { .pw-legal section { padding: 28px 22px; } }

/* Allgemeine Seiten */
.pw-skip { position: absolute; left: -9999px; top: 0; background: var(--gelb); color: var(--anth-2); padding: 8px 14px; z-index: 100; }
.pw-skip:focus { left: 12px; top: 12px; }
.pw-band { padding: 48px 0 40px; }
.pw-band h1 { margin-bottom: .2em; }
.pw-band-sub { color: #cfd5d8; margin: 0; }
.pw-main { padding-block: 48px 88px; }
.pw-content { background: #fff; border-radius: 8px; padding: 40px 48px; max-width: 900px; }
.pw-content > * + * { margin-top: 1em; }
.pw-content h2 { font-size: 1.7rem; margin-top: 1.4em; }
.pw-content h3 { font-size: 1.3rem; margin-top: 1.3em; }
.pw-content p, .pw-content li { max-width: 72ch; }
.pw-content a { color: var(--blau); }
.pw-content ul, .pw-content ol { padding-left: 1.3em; }
.pw-content img { max-width: 100%; height: auto; border-radius: 6px; }
.pw-content figure { margin: 1.5em 0; }
.pw-content figcaption { color: var(--muted); font-size: .9rem; margin-top: .4em; }
.pw-content blockquote { margin: 1.5em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--gelb); color: #3e464a; }
.pw-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pw-content th, .pw-content td { padding: .55em .7em; border-bottom: 1px solid var(--grau); text-align: left; }
.pw-content th { font-family: var(--head); }
.pw-content pre, .pw-content code { font-family: Consolas, "Courier New", monospace; background: var(--hell); border-radius: 4px; }
.pw-content pre { padding: 1em; overflow-x: auto; }
.pw-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.pw-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.pw-content .aligncenter { display: block; margin-inline: auto; }
.pw-content .alignwide, .pw-content .alignfull { max-width: none; }
.pw-content .ihb { margin: -8px -8px 0; }   /* Online-Bewerbung */
.pw-hero-img { margin-bottom: 1.5em; }

/* Formulare (Kommentare, Mitgliederbereich, Suche) */
.pw input[type="text"], .pw input[type="email"], .pw input[type="url"], .pw input[type="password"], .pw input[type="search"], .pw input[type="tel"], .pw select, .pw textarea {
  width: 100%; max-width: 520px; padding: .65em .8em; border: 2px solid var(--grau); border-radius: 4px; font: inherit; background: #fff; color: var(--text); }
.pw input:focus, .pw select:focus, .pw textarea:focus { outline: none; border-color: var(--blau); }
.pw input[type="submit"], .pw button[type="submit"], .pw .button, .pw .swpm-login-form-submit, .pw .swpm-registration-submit {
  background: var(--gelb); color: var(--anth-2); border: 0; border-radius: 4px; padding: .7em 1.3em; font-family: var(--head); font-weight: 600; font-size: 1rem; cursor: pointer; }
.pw input[type="submit"]:hover, .pw button[type="submit"]:hover { background: #ffbb2e; }
.pw label { display: block; font-weight: 600; margin: .8em 0 .3em; }
.pw .search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 1em; }
.pw .search-form label { margin: 0; flex: 1; }
.pw .screen-reader-text { position: absolute; left: -9999px; }

/* Beitragsliste */
.pw-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pw-post { background: #fff; border-radius: 8px; padding: 24px; }
.pw-post img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 12px; }
.pw-post h2 { font-size: 1.35rem; margin-bottom: .2em; }
.pw-post h2 a { text-decoration: none; }
.pw-post-date { color: var(--muted); font-size: .9rem; }
.pw .nav-links { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.pw .nav-links a, .pw .nav-links span { padding: .45em .9em; border-radius: 4px; background: #fff; text-decoration: none; }
.pw .nav-links .current { background: var(--anth); color: #fff; }
.pw-postnav { display: flex; justify-content: space-between; gap: 16px; max-width: 900px; margin: 24px 0; }
.pw-comments { margin-top: 32px; }
.pw-comment-list { list-style: none; padding: 0; }
.pw-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--grau); }
@media (max-width: 860px) { .pw-content { padding: 28px 22px; } }

.pw-nav nav a.pw-nav-portal { border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: .35em .8em; }
.pw-nav nav a.pw-nav-portal:hover { border-color: #fff; }


/* Beispiel: Konstruktion und Druck */
.pw-demo { padding-block: 44px 8px; text-align: center; }
.pw-demo .pw-demo-intro { margin-inline: auto; }
.pw-demo figcaption { text-align: left; }
.pw-demo-intro { max-width: 60ch; font-size: 1.1rem; color: #3e464a; }
.pw-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.pw-demo figure { margin: 0; background: var(--anth-2); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.pw-demo img, .pw-demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1c1f21; }
.pw-demo img { object-fit: contain; }
.pw-demo figcaption { padding: 12px 16px 14px; color: #d3d9dc; border-top: 4px solid var(--gelb); flex: 1; }
.pw-demo figcaption b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
@media (max-width: 860px) { .pw-demo-grid { grid-template-columns: 1fr; } }

/* Hinweis auf die Live-Seite */
.pw-teaser { background: var(--anth); color: #fff; padding: 32px 0; }
.pw-teaser-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.pw-teaser p { color: #d3d9dc; font-size: 1.1rem; margin: 0; max-width: 62ch; }
.pw-teaser h2 { margin-bottom: .3em; }

@media (max-width: 1100px) { .pw-dl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .pw-plate { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pw-dl, .pw-plate { grid-template-columns: 1fr; } }

/* Klemmleiste: alle Beschriftungen auf gleicher Höhe, Klemmen sind Links */
a.pw-term { text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pw-term { justify-content: flex-start !important; }
.pw-term b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-term i { display: block; line-height: 1.3; }
a.pw-term:hover, a.pw-term:focus-visible { transform: translateY(-4px); box-shadow: inset -2px 0 0 #b9bfbb, 0 6px 14px rgba(0,0,0,.35); }

/* Kacheln der Leistungen */
.pw-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.pw-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-top: 4px solid var(--gelb); border-radius: 6px; padding: 16px 18px; text-decoration: none; color: var(--text); box-shadow: 0 1px 0 rgba(0,0,0,.06); transition: transform .15s, box-shadow .15s; }
.pw-card b { font-family: var(--head); font-weight: 600; font-size: 1.15rem; color: var(--anth-2); }
.pw-card span { color: #3e464a; font-size: .95rem; line-height: 1.45; flex: 1; }
.pw-card em { font-style: normal; color: var(--blau); font-weight: 600; font-size: .92rem; }
.pw-card:hover, .pw-card:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.pw-cards-sm { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pw-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .pw-cards, .pw-cards-sm { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pw-cards, .pw-cards-sm { grid-template-columns: 1fr; } }

/* Leistungsseiten */
.pw-gw { padding-block: 32px 56px; }
.pw-gw-back { margin: 0 0 12px; }
.pw-gw-back a { color: var(--blau); text-decoration: none; }
.pw-gw-intro { font-size: 1.2rem; max-width: 70ch; color: var(--text); }
.pw-gw-media { margin: 24px 0; max-width: 880px; background: var(--anth-2); border-radius: 8px; overflow: hidden; }
.pw-gw-media img, .pw-gw-media video { display: block; width: 100%; height: auto; }
.pw-gw-media figcaption { padding: 10px 16px; color: #d3d9dc; font-size: .92rem; border-top: 4px solid var(--gelb); }
.pw-gw-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 24px 0; max-width: 880px; align-items: start; }
.pw-gw-bilder figure { margin: 0; background: var(--anth-2); border-radius: 8px; overflow: hidden; }
.pw-gw-bilder img { display: block; width: 100%; height: auto; }
.pw-gw-bilder figcaption { padding: 8px 14px; color: #d3d9dc; font-size: .88rem; border-top: 4px solid var(--gelb); }
.pw-gw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pw-gw-cols section { background: #fff; border-radius: 8px; padding: 22px 26px; }
.pw-gw-cols h2, .pw-gw-mit h2 { font-size: 1.35rem; margin-bottom: .5em; }
.pw-gw-cols ul { margin: 0; padding-left: 1.2em; }
.pw-gw-cols li { margin-bottom: .35em; }
.pw-gw-cols li::marker { color: var(--gelb); }
.pw-gw-partner { margin-top: 1em; color: #3e464a; }
.pw-gw-mit { margin-top: 36px; }
@media (max-width: 860px) { .pw-gw-cols { grid-template-columns: 1fr; } }

/* Kopfbereich mit Galerie */
.pw-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.pw-gal { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #1c1f21; box-shadow: 0 10px 30px rgba(0,0,0,.35); outline: 3px solid #31373a; }
.pw-gal-item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.pw-gal-item.is-active { opacity: 1; z-index: 1; }
.pw-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(20,22,24,.85)); color: #fff; font-size: .95rem; }
.pw-gal-dots { position: absolute; z-index: 2; right: 12px; top: 12px; display: flex; gap: 6px; }
.pw-gal-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); cursor: pointer; }
.pw-gal-dots button[aria-current="true"] { background: var(--gelb); border-color: var(--gelb); }
@media (prefers-reduced-motion: reduce) { .pw-gal-item { transition: none; } }
@media (max-width: 900px) { .pw-hero-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Grundsatz: lokal statt Cloud – direkt unter dem Kopfbereich (12.11.2026): oben Text | Bild, darunter 4 Punkte */
.pw-lokal { background: var(--anth-2); color: #fff; border-top: 6px solid var(--gelb); padding: 56px 0; }
.pw-lokal-top { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; }
.pw-lokal-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--gelb); font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.pw-lokal-icon { width: 44px; height: 44px; color: #fff; flex: none; }
.pw-lokal h2 { margin: 0 0 .5em; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; }
.pw-lokal-head p:not(.pw-lokal-kicker) { font-size: 1.15rem; margin: 0; color: #dfe4e6; max-width: 62ch; }
.pw-lokal-bild { margin: 0; }
.pw-lokal-bild img { display: block; width: 100%; height: auto; border-radius: 6px; border-bottom: 4px solid var(--gelb); }
.pw-lokal-bild figcaption { margin-top: 8px; color: var(--gelb); font-family: var(--head); font-weight: 600; font-size: 1rem; }
.pw-lokal-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 32px; }
.pw-lokal-list li { border-left: 4px solid var(--gelb); padding: 2px 0 2px 18px; color: #c9d0d3; }
.pw-lokal-list b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: .3em; }
@media (max-width: 1100px) { .pw-lokal-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pw-lokal-top { grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: start; } .pw-lokal { padding: 40px 0; } .pw-lokal-bild figcaption { font-size: .85rem; } }
@media (max-width: 480px) { .pw-lokal-top { grid-template-columns: 1fr; } .pw-lokal-bild { max-width: 200px; } .pw-lokal-list { grid-template-columns: 1fr; } }
/* (alt) Links unter den Leistungen – nicht mehr benutzt */
.pw-weiter { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; }
.pw-weiter a { font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--anth-2); text-decoration: none; border-bottom: 3px solid var(--gelb); padding-bottom: 2px; }
.pw-weiter a::after { content: " →"; }
.pw-weiter a:hover { border-bottom-color: var(--anth-2); }
/* Hochformat-Fotos in der Startseiten-Galerie ganz zeigen */
.pw-gal-item.is-hoch img { object-fit: contain; background: #1c1f21; }

/* Galerie je Leistungsseite + Bildvergrößerung (12.11.2026) */
.pw-gw-galerie a.pw-lb { display: block; cursor: zoom-in; background: #fff; }
.pw-gw-galerie a.pw-lb img { aspect-ratio: 4 / 3; object-fit: contain; }
.pw-gw-galerie a.pw-lb:focus-visible { outline: 3px solid var(--gelb); outline-offset: -3px; }
.pw-lb-box { position: fixed; inset: 0; z-index: 100000; background: rgba(16,18,20,.96); display: none; align-items: center; justify-content: center; padding: 48px 64px; }
.pw-lb-box.is-offen { display: flex; }
.pw-lb-box figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.pw-lb-box img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; border-radius: 4px; }
.pw-lb-box figcaption { color: #e6e9ea; margin-top: 12px; text-align: center; font-size: .95rem; }
.pw-lb-box button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 8px 14px; }
.pw-lb-box button:hover, .pw-lb-box button:focus-visible { color: var(--gelb); outline: none; }
.pw-lb-x { top: 8px; right: 12px; }
.pw-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.pw-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.pw-lb-box.is-einzeln .pw-lb-prev, .pw-lb-box.is-einzeln .pw-lb-next { display: none; }
html.pw-lb-offen { overflow: hidden; }
@media (max-width: 600px) { .pw-lb-box { padding: 48px 8px; } }

/* Überschrift mit Links daneben (Leistungen auf der Startseite) */
.pw-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-bottom: .8em; }
.pw-sec-head h2 { margin: 0; }
.pw .pw-sec-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0; max-width: none; }
.pw-sec-links a { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.2; color: var(--blau); text-decoration: none; border: 2px solid var(--blau); border-radius: 999px; padding: .45em 1.05em; transition: background .15s, color .15s; }
.pw-sec-links a::after { content: " →"; }
.pw-sec-links a:hover, .pw-sec-links a:focus-visible { background: var(--blau); color: #fff; outline: none; }
@media (max-width: 760px) { .pw-sec-links a { font-size: 1rem; } }

/* Startseite: Für Handwerksbetriebe */
.pw-hw { background: #fff; border-top: 6px solid var(--gelb); padding: 48px 0; }
.pw-hw-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
.pw-hw-inner p { font-size: 1.1rem; }
.pw-hw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pw-hw-list li { position: relative; padding: 10px 14px 10px 44px; background: var(--hell, #EEF0ED); border-radius: 4px; }
.pw-hw-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--gelb); border-radius: 2px; }
@media (max-width: 860px) { .pw-hw-inner { grid-template-columns: 1fr; gap: 24px; } }

/* Seite Für Handwerksbetriebe */
.pw-hwp { padding-block: 48px 8px; }
.pw-hwp-intro { font-size: 1.15rem; max-width: 70ch; }
.pw-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.pw-kacheln > div { background: #fff; border-top: 4px solid var(--gelb); border-radius: 6px; padding: 20px 22px; }
.pw-kacheln h3 { font-size: 1.25rem; margin-bottom: .4em; }
.pw-kacheln p { margin: 0; color: #3e464a; }
@media (max-width: 960px) { .pw-kacheln { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pw-kacheln { grid-template-columns: 1fr; } }
.pw-steps-4 ol { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .pw-steps-4 ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pw-steps-4 ol { grid-template-columns: 1fr; } }

/* Seite Projekt anfragen */
.pw-anfrage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 36px; align-items: start; padding-block: 40px 56px; }
.pw-anfrage .pw-anfrage-form { margin-top: 0; max-width: none; }
.pw-anfrage-form input[type=file] { display: block; width: 100%; padding: 10px; border: 2px dashed var(--grau); border-radius: 6px; background: #fafaf8; }
.pw-anfrage-info { background: var(--anth-2); color: #dfe4e6; border-top: 6px solid var(--gelb); border-radius: 8px; padding: 24px 26px; position: sticky; top: 20px; }
.pw-anfrage-info h2 { color: #fff; font-size: 1.4rem; }
.pw-anfrage-info ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.pw-anfrage-info li { margin-bottom: .6em; }
.pw-anfrage-info a { color: var(--gelb); }
.pw-anfrage-portal { font-size: .92rem; color: #b9c1c5; }
@media (max-width: 900px) { .pw-anfrage { grid-template-columns: 1fr; } .pw-anfrage-info { position: static; } }
.pw-seite-anfrage .pw-band::before { background-image: url(media/buero.jpg); background-image: image-set(url(media/buero.webp) type("image/webp"), url(media/buero.jpg) type("image/jpeg")); background-position: center 40%; }
