/*
Theme Name: Porzner
Theme URI: https://www.porzner.de
Author: PORZNER Bauelemente GmbH & Co. KG
Description: Schwarz-gelbes Theme für porzner.de. Kantige Flächen, kondensierte Headlines, Signalgelb als Akzent. Schriften werden lokal ausgeliefert (kein Google-Fonts-Abruf).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: porzner
*/

/* ---------------------------------------------------------------------------
   Fonts (Barlow and Barlow Condensed, SIL Open Font License, self-hosted)
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-800-italic.woff2") format("woff2");
}

/* ---------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------ */
:root {
  --pz-black: #141414;
  --pz-black-soft: #2c2c2c;
  --pz-yellow: #ffd500;
  --pz-yellow-dark: #7a6200;
  --pz-grey: #f2f2f2;
  --pz-grey-line: #d8d8d8;
  --pz-muted: #4a4a4a;
  --pz-muted-on-dark: #c9c9c9;
  --pz-white: #ffffff;

  --pz-font-body: "Barlow", "Arial Narrow", Arial, sans-serif;
  --pz-font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --pz-gutter: 80px;
  --pz-section: 96px;
  --pz-max: 1440px;
  --pz-content: 880px;

  /* The topbar scrolls away, only the main bar below it stays. --pz-header-h is
     therefore the height of the sticky part alone. */
  --pz-topbar-h: 44px;
  --pz-header-h: 92px;
}

@media (max-width: 1024px) {
  :root {
    --pz-gutter: 40px;
    --pz-section: 72px;
    /* No topbar from here on, the main bar is shorter. */
    --pz-topbar-h: 0px;
    --pz-header-h: 64px;
  }
}

@media (max-width: 767px) {
  :root {
    --pz-gutter: 20px;
    --pz-section: 56px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--pz-header-h);
}

body {
  /* Column layout so a short page still pushes the footer to the bottom edge;
     with long content the footer simply follows the content. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--pz-white);
  color: var(--pz-black);
  font-family: var(--pz-font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Logged in, WordPress adds the admin bar height as margin on <html>. Take it
   off again, or every short page gets a scrollbar of that height. */
.admin-bar {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  .admin-bar {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
}

.site-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  /* Accent colour; on white, --pz-yellow-dark is the readable form of the signal yellow. */
  color: var(--pz-yellow-dark);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--pz-black);
}

:focus-visible {
  outline: 3px solid var(--pz-yellow);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--pz-font-display);
  font-weight: 800;
  /* Not much tighter than 1.1: the dots of Ä/Ö/Ü sit above the cap height and
     would otherwise touch the line above. */
  line-height: 1.12;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  word-wrap: normal !important;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  clip: auto;
  background: var(--pz-yellow);
  color: var(--pz-black);
  font-weight: 600;
}

.pz-container {
  width: 100%;
  max-width: var(--pz-max);
  margin: 0 auto;
  padding-left: var(--pz-gutter);
  padding-right: var(--pz-gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  background: currentColor;
}

.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--pz-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-family: var(--pz-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  border: 3px solid var(--pz-black);
  background: var(--pz-black);
  color: var(--pz-white);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--pz-black-soft);
  color: var(--pz-white);
}

.btn--outline {
  background: transparent;
  color: var(--pz-black);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--pz-black);
  color: var(--pz-white);
}

.btn--yellow {
  border-color: var(--pz-yellow);
  background: var(--pz-yellow);
  color: var(--pz-black);
}

.btn--yellow:hover,
.btn--yellow:focus-visible {
  border-color: var(--pz-black);
  background: var(--pz-black);
  color: var(--pz-yellow);
}

.link-underline {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--pz-yellow);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------ */
/* Hinweisband (Customizer "Hinweisband"): gelb, über dem Kopf, scrollt mit
   weg. Für Brückentage, Betriebsurlaub, kurzfristige Aktionen. */
.notice-bar {
  background: var(--pz-yellow);
  border-bottom: 3px solid var(--pz-black);
  color: var(--pz-black);
}

.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.notice-bar__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.notice-bar__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.notice-bar__link {
  flex-shrink: 0;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--pz-black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pz-black);
}

@media (max-width: 767px) {
  .notice-bar__inner {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .notice-bar__text {
    flex-basis: calc(100% - 40px);
    font-size: 16px;
  }

  .notice-bar__link {
    margin-left: 38px;
  }
}

.site-header {
  /* relative first as a fallback: it keeps the containing block for the
     dropdowns and the mobile panel if sticky is not understood. */
  position: relative;
  position: sticky;
  /* Pulled up by the height of the topbar, so that it scrolls out of sight and
     the main bar with the navigation ends up flush at the top edge. */
  top: calc(0px - var(--pz-topbar-h));
  z-index: 50;
  background: var(--pz-black);
  color: var(--pz-white);
}

/* Logged in, the fixed admin bar sits above the header. Below 600px WordPress
   scrolls its bar away, so the header goes back to the top edge there. */
.admin-bar .site-header {
  top: calc(32px - var(--pz-topbar-h));
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: calc(46px - var(--pz-topbar-h));
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

.site-header a {
  color: var(--pz-white);
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--pz-yellow);
}

/* ".site-header a" is more specific than the button colours further up, so the
   yellow surfaces in the header would otherwise carry white text on yellow. */
.site-header .btn--yellow,
.site-header .icon-button--yellow,
.site-header .icon-button--yellow:hover,
.site-header .icon-button--yellow:focus-visible {
  color: var(--pz-black);
}

/* Same reason: without this, ".site-header a:hover" would decide the colour of
   the hovered button instead of the rule above. Same value on purpose. */
.site-header .btn--yellow:hover,
.site-header .btn--yellow:focus-visible {
  color: var(--pz-yellow);
}

.site-header__topbar {
  /* Fixed height, not min-height: the negative offset of the sticky header is
     exactly this value, a taller topbar would leave a strip visible. */
  height: var(--pz-topbar-h);
  overflow: hidden;
  border-bottom: 1px solid var(--pz-black-soft);
  font-size: 14px;
  font-weight: 500;
  color: var(--pz-muted-on-dark);
}

.site-header__topbar .pz-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

/* Long opening hours are cut off rather than wrapping to a second line. */
.site-header__topbar-info {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header__topbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.site-header__social {
  display: inline-flex;
}

.site-header__main .pz-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 92px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-branding img {
  display: block;
  height: 56px;
  width: auto;
}

.site-branding--invert img {
  filter: invert(1);
}

.site-title {
  font-family: var(--pz-font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.primary-menu,
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--pz-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
  box-shadow: inset 0 -3px 0 var(--pz-yellow);
}

/* Dropdowns (desktop) */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 60;
  display: none;
  min-width: 280px;
  padding: 12px 0;
  background: var(--pz-white);
  border-top: 4px solid var(--pz-yellow);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--pz-black);
  font-size: 16px;
  font-weight: 500;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible {
  background: var(--pz-grey);
  color: var(--pz-black);
}

.primary-menu .sub-menu .sub-menu {
  position: static;
  display: block;
  min-width: 0;
  padding: 0 0 6px;
  border-top: 0;
  box-shadow: none;
}

.primary-menu .sub-menu .sub-menu a {
  padding-left: 36px;
  font-size: 15px;
  color: var(--pz-muted);
}

.site-header__cta {
  min-height: 48px;
  padding: 0 22px;
  font-size: 20px;
}

.site-header__mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pz-white);
  cursor: pointer;
}

.icon-button--yellow {
  background: var(--pz-yellow);
  color: var(--pz-black);
}

.icon-button svg {
  display: block;
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.is-open .menu-toggle .icon-menu {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

/* Zwischen Burger-Menü und voller Breite bleibt neben dem breiten Logo und dem
   Kopfzeilen-Button wenig Platz für fünf Menüpunkte. Hier rücken sie enger. */
@media (max-width: 1439px) and (min-width: 1025px) {
  .site-header__nav,
  .primary-menu {
    gap: 24px;
  }

  .primary-menu > li > a {
    font-size: 18px;
  }

  .site-header__cta {
    padding: 0 16px;
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .site-header__topbar {
    display: none;
  }

  .site-header__main .pz-container {
    min-height: 64px;
  }

  .site-branding img {
    height: 36px;
  }

  .site-header__mobile {
    display: flex;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--pz-header-h));
    overflow-y: auto;
    padding: 8px var(--pz-gutter) 24px;
    background: var(--pz-black);
    border-top: 1px solid var(--pz-black-soft);
  }

  .site-header.is-open .site-header__nav {
    display: flex;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-menu > li > a {
    min-height: 52px;
    font-size: 24px;
    border-bottom: 1px solid var(--pz-black-soft);
    width: 100%;
  }

  .primary-menu .sub-menu,
  .primary-menu > li:hover > .sub-menu,
  .primary-menu > li:focus-within > .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 4px 0 8px;
    background: transparent;
    border-top: 0;
    box-shadow: none;
  }

  .primary-menu .sub-menu a {
    padding: 10px 0 10px 16px;
    color: var(--pz-muted-on-dark);
  }

  .primary-menu .sub-menu a:hover,
  .primary-menu .sub-menu a:focus-visible {
    background: transparent;
    color: var(--pz-yellow);
  }

  .primary-menu .sub-menu .sub-menu a {
    padding-left: 32px;
  }

  .site-header__cta {
    margin-top: 16px;
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   Front page
   ------------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 640px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 96px 72px 96px var(--pz-gutter);
  background: var(--pz-yellow);
  color: var(--pz-black);
}

.hero__title {
  font-style: italic;
  font-size: 104px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.hero__text {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.hero__media {
  position: relative;
  min-height: 260px;
  background: var(--pz-black);
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hero__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 28px;
  background: var(--pz-yellow);
  color: var(--pz-black);
}

.hero__badge-number {
  font-family: var(--pz-font-display);
  font-style: italic;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.hero__badge-text {
  font-family: var(--pz-font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: pre-line;
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 72px;
  }

  .hero__content {
    padding: 64px 40px 64px var(--pz-gutter);
  }
}

@media (max-width: 767px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero__content {
    gap: 20px;
    padding: 40px var(--pz-gutter) 36px;
  }

  .hero__title {
    font-size: 60px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 54px;
    font-size: 21px;
  }

  .hero__media {
    min-height: 260px;
  }

  .hero__badge {
    gap: 10px;
    padding: 12px 16px;
  }

  .hero__badge-number {
    font-size: 48px;
  }

  .hero__badge-text {
    font-size: 16px;
  }
}

/* Section scaffolding */
.section {
  padding-top: var(--pz-section);
  padding-bottom: var(--pz-section);
}

.section--grey {
  background: var(--pz-grey);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section__title {
  font-size: 64px;
}

.section__head .lead {
  max-width: 480px;
}

@media (max-width: 1024px) {
  .section__title {
    font-size: 52px;
  }
}

@media (max-width: 767px) {
  .section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section__title {
    font-size: 44px;
  }

  .lead {
    font-size: 16px;
  }
}

/* Offer cards */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px 32px;
  border: 3px solid var(--pz-black);
  background: var(--pz-white);
  color: var(--pz-black);
  transition: transform 0.15s ease;
}

.offer-card:hover,
.offer-card:focus-visible {
  color: var(--pz-black);
  transform: translateY(-4px);
}

.offer-card__icon {
  display: block;
  width: 48px;
  height: 48px;
  color: var(--pz-black);
}

.offer-card__title {
  font-size: 34px;
}

.offer-card__text {
  color: var(--pz-muted);
  line-height: 1.5;
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-card .link-underline {
  margin-top: auto;
  align-self: flex-start;
}

.offer-card--dark {
  background: var(--pz-black);
  color: var(--pz-white);
}

.offer-card--dark:hover,
.offer-card--dark:focus-visible {
  color: var(--pz-white);
}

.offer-card--dark .offer-card__icon {
  color: var(--pz-yellow);
}

.offer-card--dark .offer-card__text {
  color: var(--pz-muted-on-dark);
}

.offer-card--dark .link-underline {
  color: var(--pz-white);
}

@media (max-width: 1024px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .offer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .offer-card {
    gap: 14px;
    padding: 24px 20px;
  }

  .offer-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .offer-card__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .offer-card__title {
    font-size: 28px;
  }

  .offer-card__text {
    font-size: 16px;
  }
}

/* Aktionsband: gelbes Vollbreitband zwischen Produktkarten und Faktenband.
   Ohne Überschrift im Customizer rendert die Startseite es gar nicht. */
.promo {
  background: var(--pz-yellow);
  border-top: 3px solid var(--pz-black);
  border-bottom: 3px solid var(--pz-black);
  color: var(--pz-black);
}

.promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.promo__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo__title {
  font-size: 44px;
  font-style: italic;
}

.promo__lead {
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.5;
}

.promo .btn {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .promo__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .promo__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .promo__title {
    font-size: 32px;
  }

  .promo__lead {
    font-size: 16px;
  }

  .promo .btn {
    width: 100%;
  }
}

/* Kundendienst: schwarzes Band direkt unter den Produktkarten. Reparaturen
   auch an Fremdfabrikaten sind eine Kernaussage, deshalb auf der Startseite.
   Ohne Überschrift im Customizer rendert die Startseite es gar nicht. */
.service-band {
  background: var(--pz-black);
  color: var(--pz-white);
}

.service-band__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.service-band__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  color: var(--pz-yellow);
}

.service-band__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}

.service-band .eyebrow {
  color: var(--pz-yellow);
}

.service-band__title {
  font-size: 44px;
  font-style: italic;
}

.service-band__lead {
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--pz-muted-on-dark);
}

.service-band__actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
}

.btn--on-dark {
  border-color: var(--pz-white);
  background: transparent;
  color: var(--pz-white);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background: var(--pz-white);
  color: var(--pz-black);
}

@media (max-width: 1024px) {
  .service-band__title {
    font-size: 36px;
  }

  .service-band__icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 767px) {
  .service-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .service-band__icon {
    width: 44px;
    height: 44px;
  }

  .service-band__title {
    font-size: 32px;
  }

  .service-band__lead {
    font-size: 16px;
  }

  .service-band__actions {
    width: 100%;
  }
}

/* Facts band */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--pz-black);
  /* Drawn here, not on .intro, so the line stays when the front page has no content. */
  border-bottom: 3px solid var(--pz-black);
}

/* The promo band above already draws this line with its border-bottom. */
.promo + .facts {
  border-top: 0;
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;
  border-right: 3px solid var(--pz-black);
}

.facts__item:first-child {
  padding-left: var(--pz-gutter);
}

.facts__item:last-child {
  padding-right: var(--pz-gutter);
  border-right: 0;
}

.facts__title {
  font-style: italic;
  font-size: 56px;
}

.facts__text {
  color: var(--pz-muted);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .facts__title {
    font-size: 44px;
  }

  .facts__item {
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts__item,
  .facts__item:first-child,
  .facts__item:last-child {
    gap: 6px;
    padding: 24px var(--pz-gutter);
    border-right: 0;
    border-bottom: 3px solid var(--pz-black);
  }

  .facts__item:last-child {
    border-bottom: 0;
  }

  .facts__title {
    font-size: 40px;
  }

  .facts__text {
    font-size: 16px;
  }
}

/* Contact section */
.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__intro .btn {
  align-self: flex-start;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hours-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--pz-white);
  border-top: 6px solid var(--pz-black);
}

.hours-card--yellow {
  border-top-color: var(--pz-yellow);
}

.hours-card__title {
  font-size: 26px;
}

.hours-card__text {
  color: var(--pz-muted);
  line-height: 1.6;
  white-space: pre-line;
}

@media (max-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .contact {
    gap: 24px;
  }

  .contact__intro {
    gap: 14px;
  }

  .contact__intro .btn {
    align-self: stretch;
    min-height: 54px;
    font-size: 21px;
  }

  .hours-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hours-card {
    gap: 8px;
    padding: 20px;
  }

  .hours-card__title {
    font-size: 22px;
  }

  .hours-card__text {
    font-size: 16px;
  }
}

/* Optional intro (content of the static front page); the line above it is .facts border-bottom. */
.intro .entry-content {
  max-width: var(--pz-content);
}

/* ---------------------------------------------------------------------------
   Pages, posts, archives
   ------------------------------------------------------------------------ */
.page-header {
  padding: 32px 0;
  background: var(--pz-yellow);
  border-bottom: 3px solid var(--pz-black);
}

.page-header__title {
  font-style: italic;
  font-size: 72px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.page-header__meta {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .page-header__title {
    font-size: 44px;
  }
}

.site-main {
  padding-top: var(--pz-section);
  padding-bottom: var(--pz-section);
}

.entry-content {
  font-size: 18px;
  line-height: 1.6;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2 {
  clear: both;
  margin-top: 2em;
  font-size: 40px;
}

.entry-content h3 {
  clear: both;
  margin-top: 1.6em;
  font-size: 30px;
}

.entry-content h4 {
  font-size: 24px;
}

.entry-content a {
  border-bottom: 2px solid var(--pz-yellow);
}

.entry-content a:hover {
  border-bottom-color: var(--pz-black);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.entry-content blockquote {
  clear: both;
  margin-left: 0;
  padding: 8px 0 8px 24px;
  border-left: 6px solid var(--pz-yellow);
  font-size: 22px;
  color: var(--pz-muted);
}

.entry-content img {
  display: block;
}

.entry-content .alignleft {
  float: left;
  margin: 0.4em 32px 1em 0;
}

.entry-content .alignright {
  float: right;
  margin: 0.4em 0 1em 32px;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignwide {
  max-width: 1280px;
}

.entry-content .alignfull {
  max-width: none;
}

.entry-content .wp-caption {
  max-width: 100%;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--pz-muted);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pz-grey-line);
  text-align: left;
}

.entry-content th {
  font-weight: 600;
}

.entry-content .wp-block-button__link,
.entry-content .button,
.entry-content input[type="submit"] {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 3px solid var(--pz-black);
  border-radius: 0;
  background: var(--pz-yellow);
  color: var(--pz-black);
  font-family: var(--pz-font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content textarea,
.search-form input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--pz-black);
  border-radius: 0;
  font: inherit;
}

@media (max-width: 767px) {
  .entry-content {
    font-size: 17px;
  }

  .entry-content h2 {
    font-size: 32px;
  }

  .entry-content h3 {
    font-size: 26px;
  }

  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin: 0 0 1em;
  }
}

/* Archive list */
.post-list {
  display: grid;
  gap: 32px;
  max-width: var(--pz-content);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--pz-black);
}

.post-card__title {
  font-size: 36px;
}

.post-card__meta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pz-muted);
}

.post-card__excerpt {
  color: var(--pz-muted);
}

.post-card .link-underline {
  align-self: flex-start;
}

.pagination {
  margin-top: 40px;
  font-weight: 600;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--pz-black);
  /* No accent here; the current page is already marked by the yellow fill. */
  color: var(--pz-black);
}

.pagination .page-numbers.current {
  background: var(--pz-yellow);
}

.search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
}

.search-form .btn {
  min-height: 52px;
  font-size: 20px;
}

/* ---------------------------------------------------------------------------
   Inhaltsbausteine

   Bausteine für die Seitentexte: Karten, nummerierte Schritte, Downloads,
   Hinweiskästen und Kontaktbänder. Sie werden über zusätzliche CSS-Klassen an
   den Blöcken im Editor aktiviert, siehe docs/inhalte/README.md. Bewusst nur
   Klassen und kein eigener Block-Typ: so bleibt der Inhalt im Editor normal
   bearbeitbar und überlebt einen Theme-Wechsel als schlichter Text.
   ------------------------------------------------------------------------ */

/* Icon vor einem Element. Die Form steckt in --pz-ico, die Farbe kommt über
   currentColor aus dem Text, damit dieselbe Klasse auf Weiß und auf Schwarz
   funktioniert. */
.pz-ico::before {
  content: "";
  flex: 0 0 auto;
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  background-color: currentColor;
  -webkit-mask: var(--pz-ico) center / contain no-repeat;
  mask: var(--pz-ico) center / contain no-repeat;
}

.entry-content .pz-ico {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.pz-ico--steps { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3C/svg%3E"); }
.pz-ico--euro { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 5.5A7 7 0 1 0 18 18.5'/%3E%3Cpath d='M4 10h9M4 14h9'/%3E%3C/svg%3E"); }
.pz-ico--doc { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h8l4 4v16H6z'/%3E%3Cpath d='M14 2v4h4'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.pz-ico--phone { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h4l2 5-3 2a12 12 0 0 0 5 5l2-3 5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 4 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.pz-ico--check { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.pz-ico--download { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); }
.pz-ico--alert { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9.5 17h-19z'/%3E%3Cpath d='M12 9.5v5'/%3E%3Cpath d='M12 17.5h.01'/%3E%3C/svg%3E"); }
.pz-ico--clock { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.5l3.5 2'/%3E%3C/svg%3E"); }
.pz-ico--ruler { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='8' width='20' height='8'/%3E%3Cpath d='M7 8v4M12 8v4M17 8v4'/%3E%3C/svg%3E"); }
.pz-ico--truck { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3z'/%3E%3Cpath d='M14 10.5h4l3 3V16h-7z'/%3E%3Ccircle cx='7.5' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
.pz-ico--tools { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3a5 5 0 0 0-3.9 8.1L3 19.2 4.8 21l8.1-8.1A5 5 0 0 0 21 9l-3.2 3.2-2.5-.7-.7-2.5z'/%3E%3C/svg%3E"); }
.pz-ico--pin { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5S19 15 19 10a7 7 0 1 0-14 0c0 5 7 11.5 7 11.5z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.pz-ico--window { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18'/%3E%3Cpath d='M4 8h16M4 13h16M12 3v18'/%3E%3C/svg%3E"); }
.pz-ico--home { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5L12 3l9 8.5'/%3E%3Cpath d='M5.5 10V21h13V10'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E"); }
.pz-ico--lock { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E"); }
.pz-ico--pen { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1-4L16 5l3 3L8 19z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E"); }
.pz-ico--shield { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 7.8-8 9-4.6-1.2-8-4.5-8-9V6z'/%3E%3C/svg%3E"); }
.pz-ico--building { --pz-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18'/%3E%3Cpath d='M8 7h2M14 7h2M8 11h2M14 11h2M10 21v-5h4v5'/%3E%3C/svg%3E"); }

/* Karten: eine Spaltengruppe mit der Klasse pz-cards. Die Anordnung steht
   hier selbst und nicht nur im Block-CSS des Kerns, damit die Karten auch
   dann nebeneinander stehen, wenn dieses CSS einmal nicht geladen wird.
   Raster statt Flex-Umbruch: Eine Karte, die in die zweite Reihe rutscht,
   bleibt so breit wie die anderen, statt sich über die ganze Zeile zu ziehen. */
.entry-content .pz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.entry-content .pz-cards .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 3px solid var(--pz-black);
  background: var(--pz-white);
}

.entry-content .pz-cards h3 {
  margin-top: 0;
  font-size: 26px;
  /* Lange Komposita wie „Kunststofffenster“ passen bei vier Karten nicht
     in eine Zeile; trennen statt über den Rand laufen. */
  hyphens: auto;
  overflow-wrap: break-word;
}

.entry-content .pz-cards p {
  margin-bottom: 0;
  color: var(--pz-muted);
  font-size: 17px;
  line-height: 1.5;
}

/* Weiterführender Link, sitzt immer am unteren Rand der Karte. */
.entry-content .pz-more {
  margin-top: auto;
  padding-top: 4px;
}

.entry-content .pz-more a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--pz-yellow);
  color: var(--pz-black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.entry-content .pz-more a:hover,
.entry-content .pz-more a:focus-visible {
  background: var(--pz-yellow);
}

/* Nummerierte Schritte: Klasse pz-step an der Überschrift, mehr braucht es
   nicht. Die Zahl setzt ein Zähler, sie steht also nicht im Text und
   verrutscht nicht, wenn ein Schritt dazwischen kommt oder wegfällt. */
.entry-content {
  counter-reset: pz-step;
}

.entry-content h2.pz-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 1.5em;
  font-size: 32px;
}

.entry-content h2.pz-step::before {
  counter-increment: pz-step;
  content: counter(pz-step);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--pz-black);
  background: var(--pz-yellow);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
}

.entry-content h2.pz-step + p {
  padding-left: 68px;
}

/* Steht eine h2 ganz oben im Inhalt, kein Abstand nach oben: Der Abstand
   unter dem Seitentitel reicht. Steht hinter den h2-Regeln, damit es auch
   für h2.pz-step greift (gleiche Spezifität). */
.entry-content > h2:first-child {
  margin-top: 0;
}

/* Download-Knopf: ein Absatz mit der Klasse pz-download, darin ein Link. */
.entry-content .pz-download a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 3px solid var(--pz-black);
  color: var(--pz-black);
  font-weight: 600;
  text-decoration: none;
}

.entry-content .pz-download a::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--pz-ico) center / contain no-repeat;
  mask: var(--pz-ico) center / contain no-repeat;
}

.entry-content .pz-download a:hover,
.entry-content .pz-download a:focus-visible {
  background: var(--pz-yellow);
  color: var(--pz-black);
}

/* Häkchenliste. */
.entry-content .pz-checklist {
  display: grid;
  gap: 14px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

/* Kein Flex am Eintrag: Fett oder Link im Text würde sonst zur eigenen Spalte. */
.entry-content .pz-checklist li {
  position: relative;
  padding-left: 40px;
}

.entry-content .pz-checklist li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 26px;
  height: 26px;
  background-color: var(--pz-black);
  -webkit-mask: var(--pz-ico) center / contain no-repeat;
  mask: var(--pz-ico) center / contain no-repeat;
}

/* Hinweiskasten auf einem einzelnen Absatz, grau mit gelber Kante; mit
   pz-note--warn bekommt er die schwarze Kante für das Wichtige. */
.entry-content .pz-note {
  padding: 24px 28px;
  border-left: 10px solid var(--pz-yellow);
  background: var(--pz-grey);
  font-size: 17px;
}

.entry-content .pz-note--warn {
  border-left-color: var(--pz-black);
}

.entry-content .pz-note.pz-ico::before {
  align-self: flex-start;
  margin-top: 0.15em;
}

/* Kontaktband am Fuß einer Seite, ebenfalls ein einzelner Absatz. */
.entry-content .pz-cta {
  padding: 28px 32px;
  background: var(--pz-black);
  color: var(--pz-white);
}

.entry-content .pz-cta strong {
  font-family: var(--pz-font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
}

.entry-content .pz-cta a {
  color: var(--pz-yellow);
}

.entry-content .pz-cta.pz-ico::before {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  color: var(--pz-yellow);
}

/* Faktenzeile: kurze Kennzahlen nebeneinander. */
.entry-content .pz-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 3px solid var(--pz-black);
}

.entry-content .pz-facts .wp-block-column {
  min-width: 0;
  padding: 24px;
  border-right: 3px solid var(--pz-black);
}

.entry-content .pz-facts .wp-block-column:last-child {
  border-right: 0;
}

.entry-content .pz-facts strong {
  display: block;
  font-family: var(--pz-font-display);
  font-style: italic;
  font-size: 34px;
  line-height: 1.1;
}

.entry-content .pz-facts p {
  margin-bottom: 0;
  color: var(--pz-muted);
  font-size: 16px;
}

/* Bildergalerien der bisherigen Seiten. Das Markup kommt von NextGEN Gallery,
   das Plugin bringt Floats und feste Breiten mit; hier wird nur neu angeordnet.
   Deshalb die !important - sie überschreiben die Inline-Vorgaben des Plugins. */
.entry-content .ngg-galleryoverview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  overflow: visible;
}

.entry-content .ngg-gallery-thumbnail-box {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.entry-content .ngg-gallery-thumbnail {
  margin: 0 !important;
  border: 3px solid var(--pz-black);
}

.entry-content .ngg-gallery-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.entry-content .ngg-clear,
.entry-content .ngg-navigation {
  clear: both;
}

/* Einzelbild im Rahmen, passend zu den Karten. */
.entry-content .pz-media img {
  display: block;
  border: 3px solid var(--pz-black);
}

/* Platzhalter beim Umbau: markiert Inhalt, der aus der alten Seite stehen
   bleiben muss (Galerie, Formular, Karte). Fällt absichtlich auf - wer ihn
   übersieht, veröffentlicht ihn. */
.entry-content .pz-keep {
  padding: 16px 20px;
  border: 3px dashed var(--pz-black);
  background: var(--pz-yellow);
  font-weight: 600;
}

@media (max-width: 767px) {
  .entry-content h2.pz-step {
    gap: 12px;
    font-size: 26px;
  }

  .entry-content h2.pz-step::before {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .entry-content h2.pz-step + p {
    padding-left: 0;
  }

  .entry-content .pz-note,
  .entry-content .pz-cta {
    padding: 20px 22px;
  }

  .entry-content .pz-facts .wp-block-column {
    border-right: 0;
    border-bottom: 3px solid var(--pz-black);
  }

  .entry-content .pz-facts .wp-block-column:last-child {
    border-bottom: 0;
  }
}

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--pz-black);
  color: var(--pz-muted-on-dark);
  font-size: 15px;
}

.site-footer .pz-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.site-footer a {
  color: var(--pz-white);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--pz-yellow);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .site-footer .pz-container {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .site-footer {
    font-size: 14px;
  }
}
