/*
Theme Name: Haustechnik Strittmatter
Theme URI: https://webflows.ch
Author: Riedel Webflows
Author URI: https://webflows.ch
Description: Massgeschneidertes Theme für die Haustechnik Strittmatter GmbH. Leistungen, Referenzen und Team werden über eigene Verwaltungsbereiche gepflegt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietär
Text Domain: strittmatter
*/

/* =====================================================================
   Haustechnik Strittmatter GmbH – Design-Demo
   Riedel Webflows · webflows.ch
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #101820;
  --ink-2:      #1A2530;
  --ink-3:      #2A3846;
  --body:       #46545F;
  --muted:      #6B7A88;
  --line:       #E3E8ED;
  --surface:    #F1F4F7;
  --surface-2:  #F8FAFB;
  --white:      #FFFFFF;

  --accent:      #0F76CE;
  --accent-dark: #0B5CA3;
  --accent-soft: #E7F1FB;

  --wrap: 1200px;
  --pad: 24px;
  --radius: 4px;

  --ff-head: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16,24,32,.05);
  --shadow-md: 0 12px 32px -12px rgba(16,24,32,.18);
  --shadow-lg: 0 30px 60px -30px rgba(16,24,32,.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--surface { background: var(--surface); }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--dark { background: var(--ink); color: #B9C4CE; }
.section--dark h2, .section--dark h3 { color: #fff; }

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

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-head);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--accent); flex: none; }
.eyebrow--light { color: rgba(255,255,255,.6); }
.eyebrow--center { justify-content: center; }

h1, .h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2, .h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--body); max-width: 62ch; }
.accent { color: var(--accent); }
.measure { max-width: 66ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--ff-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 20px; font-size: 12px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-size: 13px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  transition: gap .2s, color .2s;
}
.arrow-link:hover { gap: 14px; color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Demo-Banner ---------- */
.demo-bar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
}
.demo-bar strong { color: var(--accent); font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 43px; height: 43px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--ff-head); font-weight: 700; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav { display: flex; gap: 22px; }
.nav a {
  font-family: var(--ff-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--ink); border-color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__actions .btn { white-space: nowrap; }
.header__tel { display: flex; align-items: center; gap: 9px; font-family: var(--ff-head); font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header__tel svg { width: 18px; height: 18px; color: var(--accent); }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 0 22px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 0;
  font-family: var(--ff-head); font-size: 14px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(16,24,32,.94) 0%, rgba(16,24,32,.82) 42%, rgba(16,24,32,.35) 100%);
}
.hero__inner { padding: clamp(88px, 12vw, 156px) var(--pad) 0; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 26px; max-width: 52ch; }
.hero .eyebrow { color: rgba(255,255,255,.72); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__stat { padding: 26px 24px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: 0; }
.hero__stat b { display: block; font-family: var(--ff-head); font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 700; color: #fff; line-height: 1; }
.hero__stat b em { font-style: normal; color: var(--accent); }
.hero__stat span { display: block; margin-top: 9px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Page header (Unterseiten) ---------- */
.pagehead { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(16,24,32,.95), rgba(16,24,32,.72)); }
.pagehead__inner { padding: clamp(64px, 9vw, 112px) var(--pad) clamp(56px, 8vw, 96px); }
.pagehead h1 { color: #fff; max-width: 20ch; }
.pagehead .lead { color: rgba(255,255,255,.78); margin-top: 22px; }
.crumbs { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.badge {
  position: absolute; left: -1px; bottom: 32px;
  background: var(--accent); color: #fff;
  padding: 18px 26px; border-radius: 0 var(--radius) var(--radius) 0;
}
.badge b { display: block; font-family: var(--ff-head); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.badge span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; opacity: .85; }

.factbar { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 36px; }
.factbar div { padding: 22px 20px; border-right: 1px solid var(--line); }
.factbar div:last-child { border-right: 0; }
.factbar b { display: block; font-family: var(--ff-head); font-size: 1.45rem; font-weight: 700; color: var(--ink); line-height: 1; }
.factbar span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 22px; }
.card__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.62; }
.card ul { margin-top: 16px; }
.card ul li { position: relative; padding-left: 20px; font-size: 15px; margin-bottom: 7px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Feature-Liste ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #fff; padding: 34px 30px 38px; }
.feature__num { font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.feature h3 { margin: 16px 0 10px; }
.feature p { font-size: 15.5px; }

/* ---------- Checkliste ---------- */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink); font-weight: 500; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step__num { font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.step h3 { margin: 14px 0 10px; }
.step p { font-size: 15.5px; }
.section--dark .step { border-color: rgba(255,255,255,.16); }
.section--dark .step p { color: rgba(255,255,255,.62); }

/* ---------- Aufzählungen (keine Schaltflächen) ---------- */
.taglist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 11px 30px;
  margin: 0; padding: 0; list-style: none;
}
.taglist li {
  position: relative;
  padding-left: 19px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
}
.taglist li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.taglist--narrow { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px 22px; }
.taglist--narrow li { font-size: 15.5px; }
.section--dark .taglist li { color: rgba(255,255,255,.85); }

/* ---------- Referenzen ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  font-family: var(--ff-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--line); background: #fff;
  border-radius: 100px; color: var(--ink-3); cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ref {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ref:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ref__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.ref__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ref:hover .ref__media img { transform: scale(1.04); }
.ref__cat {
  position: absolute; left: 14px; top: 14px;
  background: rgba(16,24,32,.86); color: #fff;
  font-family: var(--ff-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 3px;
}
.ref__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.ref__body h3 { margin-bottom: 8px; }
.ref__meta { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ref__body p { font-size: 15px; }
.ref__facts { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ref__facts span {
  font-size: 12px; letter-spacing: .04em; color: var(--ink-3);
  background: var(--surface); padding: 6px 11px; border-radius: 3px;
}


/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member__photo { position: relative; aspect-ratio: 3/4; background: var(--surface); overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.member__photo--empty svg { width: 40px; height: 40px; color: var(--accent); opacity: .5; }
.member__photo--empty span { font-family: var(--ff-head); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); opacity: .8; }
.member__body { padding: 22px 22px 26px; }
.member__body h3 { font-size: 1.08rem; margin-bottom: 5px; }
.member__role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.member__meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.member__meta a:hover { color: var(--accent); }


/* ---------- Formular ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--ff-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__note { font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.contact-card {
  background: #fff; color: var(--ink);
  padding: 40px 36px;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { color: var(--ink); margin-bottom: 24px; }
.contact-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 4px; }
.contact-item > div { color: var(--ink); font-size: 16px; }
.contact-item b { display: block; color: var(--muted); font-family: var(--ff-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.contact-item a { color: var(--ink); }
.contact-item a:hover { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: rgba(255,255,255,.75); }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.72); margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: #0B1219; color: #8C9AA6; padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 20px; }
.footer a:hover { color: var(--accent); }
.footer li { margin-bottom: 11px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #6C7A87; }
.footer__about { margin-top: 20px; max-width: 34ch; font-size: 14.5px; line-height: 1.6; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13.5px; color: #6C7A87;
}
.footer__bottom nav { display: flex; gap: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header__tel { display: none; }
  .burger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .features, .steps, .ref-grid, .checks, .team { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { border-bottom: 1px solid rgba(255,255,255,.18); padding-left: 0; padding-right: 20px; }
  .hero__stat:first-child { padding-left: 0; }
  .hero__stat:nth-child(2n) { border-right: 0; padding-left: 24px; padding-right: 0; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .split, .grid-2, .grid-3, .grid-4, .features, .steps, .ref-grid, .checks, .team, .form__row { grid-template-columns: 1fr; }
  .taglist, .taglist--narrow { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .split--rev .split__media { order: 0; }
  .factbar { grid-template-columns: 1fr; }
  .factbar div { border-right: 0; border-bottom: 1px solid var(--line); }
  .factbar div:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .contact-card { padding: 32px 26px; }
  .header__actions .btn { display: none; }
}


/* =====================================================================
   Ergänzungen für WordPress
   ===================================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* Fliesstext aus dem Editor */
.entry-content p { margin-bottom: 18px; }
.entry-content ul { list-style: none; margin: 18px 0; }
.entry-content ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.entry-content ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.entry-content h2 { font-size: 1.8rem; margin: 36px 0 14px; }
.entry-content h3 { margin: 28px 0 10px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); margin: 22px 0; }

/* Formularmeldungen */
.notice-box {
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 26px;
  font-size: 15.5px; border: 1px solid var(--line);
}
.notice-box--ok  { background: var(--accent-soft); border-color: #BEDCF6; color: var(--accent-dark); }
.notice-box--err { background: #FDF0F0; border-color: #F2CFCF; color: #9B2C2C; }

/* Referenz-Detailseite */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Leichtes Bild-Overlay (Lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 40px;
  background: rgba(16,24,32,.92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 24px; right: 26px; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
  border-radius: var(--radius); font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; border-radius: var(--radius);
  font-size: 22px; cursor: pointer;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* Hinweis im Backend-Vorschaumodus */
.empty-hint {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 40px 30px; text-align: center; color: var(--muted);
  background: var(--surface-2); font-size: 15.5px;
}
