/* =============================================
   PLANWERKSTATT RÜEGG AG — Custom Theme
   Modelled after the MAX Joomla template
   Accent: British Racing Green #014225
   ============================================= */

/* ---------- Force light mode + color tokens ---------- */

:root,
:root[data-theme='light'],
:root[data-theme='dark'] {
  --q2-bg: #f9f9f9;
  --q2-bg-elev: #ffffff;
  --q2-bg-muted: #f2f2f2;
  --q2-bg-inverse: #252525;
  --q2-text: #252525;
  --q2-text-strong: #111111;
  --q2-text-muted: #8b8b8b;
  --q2-text-inverse: #ffffff;
  --q2-border-ring: rgba(34,42,53,0.08);
  --q2-border-strong: rgba(34,42,53,0.14);
  --q2-divider: rgba(34,42,53,0.08);
  --q2-nav-bg: #ffffff;
  --q2-nav-border: rgba(34,42,53,0.08);
  --q2-accent: #014225;
  --q2-accent-contrast: #ffffff;
  --q2-link: #8b8b8b;
  --q2-focus-ring: rgba(1,66,37,0.3);
  --q2-shadow-card: 0 1px 4px rgba(0,0,0,0.08), 0 0 0 1px rgba(34,42,53,0.06);
  --q2-shadow-raised: 0 4px 16px rgba(0,0,0,0.12), 0 0 0 1px rgba(34,42,53,0.08);
  --pico-background-color: #f9f9f9;
  --pico-color: #252525;
  --pico-primary: #014225;
  --pico-primary-hover: #012e19;
  --pico-primary-inverse: #ffffff;
  --pico-card-background-color: #ffffff;
}

/* ---------- Typography ---------- */

body {
  font-family: 'Noticia Text', Georgia, 'Times New Roman', serif !important;
  font-size: 13px;
  font-weight: 400;
  color: #252525;
  background: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
  font-weight: 700;
  color: #252525;
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

/* Remove quark2's accent bar on h2 */
h2::before { display: none !important; }

a {
  color: #8b8b8b;
  text-decoration: none;
}
a:hover { color: #014225; }

/* ---------- Header / Navigation ---------- */

#header {
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

#header .container {
  max-width: 1170px;
}

.navbar {
  align-items: center;
  min-height: 70px;
}

/* Logo */
.navbar-brand,
.navbar-brand:hover {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #252525 !important;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
}

/* Desktop navigation */
.navbar .navigation,
.dropmenu > ul.navigation {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.navbar .navigation li,
.dropmenu .navigation li {
  display: inline-block;
  padding: 0 20px;
  border-right: 1px solid #bdc3c7;
}

.navbar .navigation li:last-child,
.dropmenu .navigation li:last-child {
  border-right: none;
  padding-right: 0;
}

.navbar .navigation li a,
.dropmenu .navigation li a {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px;
  font-weight: 400;
  color: #252525;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 4px 0;
  display: block;
  transition: color 0.2s;
}

.navbar .navigation li a:hover,
.dropmenu .navigation li a:hover,
.navbar .navigation li a.active,
.dropmenu .navigation li a.active {
  color: #014225;
}

/* Hamburger button — dark lines */
.button_container span {
  background: #252525 !important;
}

/* ---------- Page layout — strip wrapper padding for home ---------- */

#body-wrapper.section {
  padding: 0 !important;
  margin: 0 !important;
}

/* When the body wrapper wraps plain section content, remove its container */
#body-wrapper > .container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100%;
}

.content-item {
  padding: 0 !important;
}

/* ---------- PWR Sections (used in home.md) ---------- */

.pwr-section {
  padding: 70px 0;
  position: relative;
  z-index: 10;
}

.pwr-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Light section */
.pwr-light {
  background: #ffffff;
  color: #252525;
}
.pwr-light h1,
.pwr-light h2,
.pwr-light h3,
.pwr-light h4 { color: #252525; }

/* Alternate (very light grey) */
.pwr-alt {
  background: #f5f4f1;
  color: #252525;
}

/* Dark section */
.pwr-dark {
  background: #252525;
  color: #ffffff;
}
.pwr-dark h1,
.pwr-dark h2,
.pwr-dark h3,
.pwr-dark h4,
.pwr-dark p,
.pwr-dark li { color: #ffffff; }
.pwr-dark a { color: #cccccc; }
.pwr-dark a:hover { color: #014225; }
.pwr-dark strong { color: #ffffff; }

/* Hero section — full-width parallax */
.pwr-hero {
  min-height: 60vh;
  background: url('/user/images/schaltkasten.jpg') center center / cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 30px;
}
.pwr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.pwr-hero .pwr-container {
  position: relative;
  z-index: 1;
}
.pwr-hero h1,
.pwr-hero h2,
.pwr-hero p {
  color: #ffffff !important;
}
.pwr-hero h2 { font-size: 2.5rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pwr-hero p { font-size: 1.1rem; margin-top: 12px; opacity: 0.9; }

/* Section headings */
.pwr-section h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.pwr-section h2 + p {
  color: #8b8b8b;
  margin-bottom: 2rem;
}

/* ---------- Team grid ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #e0e0e0;
  transition: border-color 0.3s;
}
.team-member:hover img { border-color: #014225; }

.team-member h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 2px;
  color: #252525;
}

.team-member .role {
  font-size: 11px;
  color: #8b8b8b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.team-member p { margin: 2px 0; font-size: 12px; }

/* ---------- Partners grid ---------- */

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}

.partner-logo {
  flex: 0 1 auto;
}

.partner-logo img {
  max-width: 110px;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
}
.partner-logo:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Portfolio grid ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.portfolio-item {
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: box-shadow 0.3s, transform 0.3s;
}
.portfolio-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.portfolio-item a {
  display: block;
  color: #252525;
  text-decoration: none;
}

.portfolio-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 16px 4px;
  color: #252525;
}

.portfolio-item p {
  font-size: 12px;
  color: #8b8b8b;
  margin: 0 16px 8px;
  line-height: 1.5;
}

.portfolio-item .read-more {
  display: block;
  padding: 8px 16px 14px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #014225;
}

/* ---------- Services (Werkkönnen) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-item {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: background 0.3s;
}
.pwr-dark .service-item { border-color: rgba(255,255,255,0.1); }
.service-item:hover { background: rgba(255,255,255,0.05); }

/* ---------- Contact section ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

.contact-info p {
  margin: 6px 0;
  color: #cccccc;
}

.contact-info a { color: #aaaaaa; }
.contact-info a:hover { color: #014225; }

/* ---------- Forms ---------- */

input, textarea, select {
  font-family: 'Noticia Text', serif;
  background: #f9f9f9;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
  color: #252525;
}
input:focus, textarea:focus {
  border-color: #014225;
  outline: none;
}

/* Dark section forms */
.pwr-dark input,
.pwr-dark textarea,
.pwr-dark select {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}
.pwr-dark input:focus, .pwr-dark textarea:focus {
  border-color: #014225;
}

button[type='submit'],
input[type='submit'] {
  background: #014225;
  color: #ffffff;
  border: 2px solid #014225;
  padding: 10px 30px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  width: auto;
}
button[type='submit']:hover,
input[type='submit']:hover {
  background: transparent;
  color: #014225;
}
.pwr-dark button[type='submit']:hover,
.pwr-dark input[type='submit']:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}

/* ---------- Berichte / download links ---------- */

.pwr-section a[href$='.pdf'] {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.pwr-section a[href$='.pdf']:hover {
  background: #014225;
  color: #ffffff;
  border-color: #014225;
}

/* ---------- Footer ---------- */

#footer {
  background: #252525 !important;
  color: #ffffff;
  padding: 50px 0 !important;
  font-size: 12px;
  letter-spacing: 0.05em;
}

#footer .container {
  max-width: 1170px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  color: #ffffff;
}

.footer-col p {
  margin: 4px 0;
  color: #aaaaaa;
  line-height: 1.8;
}

.footer-right {
  text-align: right;
}

#footer a {
  color: #aaaaaa;
}
#footer a:hover { color: #014225; }

/* ---------- Stellen / Jobs section ---------- */

.pwr-section h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.pwr-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* ---------- Scrolldown arrow for hero ---------- */

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 24px;
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .pwr-hero { background-attachment: scroll; }
  .pwr-hero h2 { font-size: 1.6rem; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
  .navbar .navigation li { padding: 0 12px; }
}

/* ---------- Mobile overlay menu ---------- */

.overlay {
  background: #252525 !important;
}
.overlay-menu a,
.overlay-menu li a {
  color: #ffffff !important;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}
.overlay-menu a:hover { color: #014225 !important; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.mt-0 { margin-top: 0 !important; }

/* ---------- Team member contact details ---------- */

.team-member p {
  margin: 2px 0;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.team-member a {
  color: #666;
  text-decoration: none;
}
.team-member a:hover { color: #014225; }

.team-member--pet .team-member p,
.pet-emoji {
  font-size: 20px !important;
  margin-top: 6px !important;
  color: #252525 !important;
}

/* =========================================================
   ENHANCEMENTS (2026-07-19): larger logo, FA icons,
   Partner background, PDF-link icon, team hover/click reveal
   ========================================================= */

/* ---------- Larger logo (shrinks when header scrolls) ---------- */
#header .navbar { min-height: 104px; }
.navbar-brand img {
  max-height: 84px !important;
  width: auto;
  transition: max-height 0.2s ease;
}
.header-animated.scrolled #header .navbar { min-height: 64px; }
.header-animated.scrolled .navbar-brand img { max-height: 48px !important; }
@media (max-width: 768px) {
  #header .navbar { min-height: 72px; }
  .navbar-brand img { max-height: 52px !important; }
}

/* ---------- Nav icons ---------- */
.navbar .navigation li a i,
.overlay-menu li a i { margin-right: 7px; color: #014225; }
.pwr-dark .overlay-menu li a i,
.overlay-menu li a i { color: #9ec7b4; }

/* ---------- FontAwesome accents (services / stellen / contact) ---------- */
.service-item h3 i,
.contact-info h3 i,
.contact-info p i,
.pwr-section h3 i { color: #014225; margin-right: 8px; }
.pwr-dark .contact-info h3 i,
.pwr-dark .contact-info p i,
.pwr-dark h3 i { color: #9ec7b4; }
.service-item h3 { display: flex; align-items: baseline; gap: 4px; }
.contact-info p i { width: 18px; text-align: center; }

/* ---------- PDF download links: file icon ---------- */
.pwr-section a[href$='.pdf']::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f1c1';
  margin-right: 7px;
}

/* ---------- Partner section: photo background + logo cards ---------- */
.pwr-section:has(.partners-grid) {
  background:
    linear-gradient(rgba(20,22,20,0.78), rgba(20,22,20,0.78)),
    url('/user/images/partner-bg.jpg') center center / cover fixed;
  color: #ffffff;
}
.pwr-section:has(.partners-grid) h2 { color: #ffffff; }
.pwr-section:has(.partners-grid) h2 + p { color: rgba(255,255,255,0.82); }
.pwr-section:has(.partners-grid) .partner-logo {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.pwr-section:has(.partners-grid) .partner-logo img {
  filter: none;
  opacity: 1;
  max-height: 46px;
}
@media (max-width: 768px) {
  .pwr-section:has(.partners-grid) { background-attachment: scroll; }
}

/* ---------- Mannschaft: name + role always, details on hover / click ---------- */
.team-member { cursor: pointer; outline: none; border-radius: 6px; }
.team-member:focus-visible { box-shadow: 0 0 0 3px var(--q2-focus-ring); }
.team-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}
.team-member:hover .team-details,
.team-member:focus-within .team-details,
.team-member.is-open .team-details {
  max-height: 260px;
  opacity: 1;
  margin-top: 8px;
}
.team-member.is-open h3 { color: #014225; }
.team-details p { margin: 3px 0; font-size: 12px; }
.team-details i { color: #014225; width: 16px; margin-right: 6px; }
.team-details a { color: #666; }
.team-details a:hover { color: #014225; }
.team-member--pet .team-details .pet-emoji {
  font-size: 22px !important;
  margin: 6px 0 0 !important;
}

/* =========================================================
   REVISION 2026-07-19b — feedback round 2
   ========================================================= */

/* ---- Logo: much larger (2000x2000 source), shrink on scroll ---- */
#header .navbar { min-height: 148px; }
.navbar-brand img { height: 130px !important; max-height: 130px !important; width: auto; }
.header-animated.scrolled #header .navbar { min-height: 66px; }
.header-animated.scrolled .navbar-brand img { height: 52px !important; max-height: 52px !important; }
@media (max-width: 768px) {
  #header .navbar { min-height: 76px; }
  .navbar-brand img { height: 58px !important; max-height: 58px !important; }
}

/* ---- Partner logos: no cards, white logos transparent on bg image ---- */
.pwr-section:has(.partners-grid) .partner-logo {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.pwr-section:has(.partners-grid) .partner-logo img {
  filter: none;
  opacity: 1;
  max-height: 52px;
}

/* ---- Mannschaft highlight: green outline when open, no green/blue bg ---- */
.team-member { -webkit-tap-highlight-color: transparent; }
.team-member:focus-visible { box-shadow: none !important; }
.team-member.is-open {
  outline: 2px solid #014225;
  outline-offset: 6px;
  background: transparent !important;
}
.team-member.is-open h3 { color: #014225; }

/* On touch devices, hover must NOT reveal (it sticks), so the second
   tap can actually close. Reveal is then controlled by .is-open only. */
@media (hover: none) {
  .team-member:hover .team-details {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
  }
  .team-member.is-open .team-details {
    max-height: 260px !important;
    opacity: 1 !important;
    margin-top: 8px !important;
  }
}

/* ---- Werkkontakt map ---- */
.contact-map-wrap { min-height: 320px; }
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 4px;
  display: block;
}

/* =========================================================
   REVISION 2026-07-19c — 300px logo, overhanging the menu band
   ========================================================= */
#header,
#header .container,
#header .navbar,
.navbar-section.logo,
.navbar-brand { overflow: visible; }

#header .navbar { min-height: 100px; }               /* the visible menu band */

.navbar-section.logo { position: relative; width: 300px; }
.navbar-brand {
  position: absolute;                                 /* out of flow so band stays slim */
  top: 8px;
  left: 0;
  z-index: 60;
  display: inline-flex;
  align-items: flex-start;
}
.navbar-brand img {
  height: 300px !important;
  max-height: 300px !important;
  width: auto;
}

/* Shrink on scroll so the big logo doesn't cover the page while reading */
.header-animated.scrolled #header .navbar { min-height: 64px; }
.header-animated.scrolled .navbar-brand { top: 6px; }
.header-animated.scrolled .navbar-brand img {
  height: 80px !important;
  max-height: 80px !important;
}

/* Smaller screens: keep it in flow at a sane size */
@media (max-width: 900px) {
  .navbar-section.logo { width: auto; }
  .navbar-brand { position: static; }
  .navbar-brand img { height: 110px !important; max-height: 110px !important; }
  #header .navbar { min-height: 84px; }
}

/* =========================================================
   REVISION 2026-07-19d — team cards are plain (Pico styled
   [role=button] as a green button). Reset any box styling.
   ========================================================= */
.team-member,
.team-member:hover,
.team-member:focus,
.team-member:focus-visible,
.team-member:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  padding: 0 !important;
  --pico-background-color: transparent;
}
/* keep ONLY the green outline as the "opened" highlight */
.team-member.is-open {
  outline: 2px solid #014225 !important;
  outline-offset: 6px;
}
.team-member.is-open h3 { color: #014225 !important; }

/* =========================================================
   REVISION 2026-07-19e — logo sits ON the band (top-anchored),
   arches below; was rendering under the band.
   ========================================================= */
.navbar-section.logo { align-self: stretch; }   /* fill band height so top:0 = band top */
.navbar-brand { top: 4px !important; }
.header-animated.scrolled .navbar-brand { top: 6px !important; }

/* ---- Werkkontakt OSM (Leaflet) map ---- */
.contact-map-wrap { min-height: 340px; }
#pwr-map.contact-map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 4px;
  z-index: 1;
}
.leaflet-container { background: #e2e2e2; font-family: 'Noticia Text', serif; }

/* ---- Werkkontakt: full-width OSM map banner (below the section) ---- */
#pwr-map.map-banner {
  width: 100%;
  height: 460px;
  border: 0;
  z-index: 1;
}
.leaflet-container { background: #e2e2e2; font-family: 'Noticia Text', serif; }
.green-pin { background: transparent; border: 0; }
@media (max-width: 768px) {
  #pwr-map.map-banner { height: 340px; }
}

/* =========================================================
   REVISION 2026-07-19f — cropped-logo aspect fix + map polish
   ========================================================= */

/* Never distort the logo: keep aspect, ignore global img max-width */
.navbar-brand img { width: auto !important; max-width: none !important; }

@media (min-width: 1101px) {
  #header .navbar { min-height: 100px; }
  .navbar-section.logo { width: 540px; }          /* ~523px logo @300px tall + slack */
  .navbar-brand { position: absolute; top: 4px; left: 0; }
  .navbar-brand img { height: 300px !important; max-height: 300px !important; }
  .header-animated.scrolled #header .navbar { min-height: 64px; }
  .header-animated.scrolled .navbar-brand { top: 6px; }
  .header-animated.scrolled .navbar-brand img { height: 80px !important; max-height: 80px !important; }
}
@media (max-width: 1100px) {
  .navbar-section.logo { width: auto; }
  .navbar-brand { position: static; }
  .navbar-brand img { height: 92px !important; max-height: 92px !important; }
  #header .navbar { min-height: 78px; }
}

/* ---- Map: green pin (correct box-sizing so the white centre shows) ---- */
.green-pin {
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 7px solid #014225;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ---- Map: clean zoom controls (theme/Pico link styles were flipping them) ---- */
.leaflet-bar a,
.leaflet-bar a:link,
.leaflet-bar a:visited {
  box-sizing: border-box;
  width: 30px; height: 30px; line-height: 30px;
  background: #fff !important;
  color: #333 !important;
  border: 0 !important;
  border-bottom: 1px solid #ccc !important;
  text-decoration: none !important;
  font: 700 18px/30px 'Open Sans', sans-serif !important;
}
.leaflet-bar a:hover { background: #f4f4f4 !important; color: #000 !important; }
.leaflet-bar a:last-child { border-bottom: 0 !important; }
.leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,0.35) !important; }
.leaflet-control-attribution a { color: #0078A8 !important; }
.leaflet-control-attribution { font-size: 11px; }

/* =========================================================
   REVISION 2026-07-19g — pin bulletproof over Leaflet default
   (.leaflet-div-icon sets white bg + gray border by default)
   ========================================================= */
.leaflet-marker-icon.green-pin,
.green-pin {
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 7px solid #014225 !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  width: 19px !important;
  height: 19px !important;
}

/* =========================================================
   REVISION 2026-07-19h — Werkkönnen & Werkstücke title banners
   (hero style, ~40vh band, own parallax backgrounds)
   ========================================================= */
.pwr-hero--band {
  min-height: 40vh;
  padding: 60px 30px;
}
/* image-only overrides -> inherit .pwr-hero overlay, centering, fixed attach + mobile scroll */
.pwr-hero--werkkoennen { background-image: url('/user/images/werkkoennen-bg.jpg'); }
.pwr-hero--werkstuecke { background-image: url('/user/images/werkstuecke-bg.jpg'); }

/* =========================================================
   REVISION 2026-07-19i — base font: sans-serif, +2pt (13->15px)
   ========================================================= */
body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
}
input, textarea, select {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
}
.leaflet-container {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
