/*
Theme Name: PMCO Uganda
Theme URI: https://pmco-uganda.org
Author: PERFUSIONS
Description: Schlankes Theme für PMCO Uganda e.V. – Calibri, Vereinsfarben, Block-Editor.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: pmco
*/

/* ---------- Schrift: Calibri, sonst Carlito (metrisch identisch, selbst gehostet) ---------- */
:root {
  --navy: #0F2540;
  --orange: #E8884A;
  --paper: #FAFAF8;
  --ink: #1F1F1F;
  --sand: #D4C9B5;
  --slate: #455B90;
  --sand-light: color-mix(in srgb, var(--sand) 32%, white);
  --sand-line: color-mix(in srgb, var(--sand) 70%, white);
  --muted: color-mix(in srgb, var(--ink) 62%, white);
  --font: Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 37, 64, 0.16);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; } /* Sprungziele nicht unter dem klebenden Header verstecken */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--sand-line); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--orange); background: white; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  background: var(--orange); color: var(--navy);
}
.btn:hover, .wp-block-button__link:hover, .wp-element-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,136,74,.35); color: var(--navy); }
.btn-navy, .is-style-navy .wp-block-button__link { background: var(--navy); color: white; }
.btn-navy:hover, .is-style-navy .wp-block-button__link:hover { color: white; box-shadow: 0 10px 24px rgba(15,37,64,.3); }
.btn-outline, .is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-light, .is-style-outline-light .wp-block-button__link { background: transparent; border-color: white; color: white; }
.btn-outline-light:hover, .is-style-outline-light .wp-block-button__link:hover { background: white; color: var(--navy); }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.site-logo img { height: 56px; width: auto; }
.site-logo { margin-right: auto; display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-logo .site-name { font-weight: 700; color: var(--navy); font-size: 1.35rem; letter-spacing: .02em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: .6rem .9rem; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 10px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { background: var(--sand-light); }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: white; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .5rem; flex-direction: column; gap: 0; display: none; border: 1px solid var(--sand-line);
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }
.site-nav .sub-menu a { font-weight: 500; padding: .55rem .8rem; }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: .5em; position: relative; top: -.15em; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }
.site-nav .mobile-cta { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* absolut zum (sticky) Header, weil backdrop-filter fixed-Elemente einfängt */
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 84px); background: var(--paper); padding: 1rem var(--gutter) 2rem; overflow: auto; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: .9rem .6rem; font-size: 1.15rem; border-bottom: 1px solid var(--sand-line); border-radius: 0; }
  .site-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
  .site-nav .sub-menu a { font-size: 1.02rem; }
  .site-nav .menu-item-has-children > a::after { display: none; }
  .site-nav .mobile-cta { display: block; margin-top: 1.5rem; }
}

/* ---------- Hero (Cover-Block) ---------- */
.pmco-hero { min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.pmco-hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(15,37,64,.86) 0%, rgba(15,37,64,.55) 55%, rgba(15,37,64,.25) 100%) !important; opacity: 1 !important; }
.pmco-hero .wp-block-cover__inner-container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.pmco-hero h1 { color: white; max-width: 14ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.pmco-hero p { color: white; font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 52ch; }
.pmco-hero .pmco-kicker { color: var(--orange); }
.pmco-hero .wp-block-buttons { margin-top: 1.5rem; }

/* ---------- Drei Gründe (Karten ragen in den Hero) ---------- */
.pmco-trust { background: var(--paper); padding: 0 0 1rem; }
.pmco-trust > .wp-block-group__inner-container { margin-top: -4.5rem; position: relative; z-index: 2; }
.pmco-trust .wp-block-columns { gap: 1.5rem; }
.pmco-trust .wp-block-column { background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--sand-line); padding: 2rem 1.75rem 1.75rem; border-top: 5px solid var(--orange); }
.pmco-trust .pmco-icon { width: 52px; height: 52px; color: var(--orange); margin-bottom: 1rem; }
.pmco-trust h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pmco-trust p { margin: 0; color: var(--muted); font-size: 1.02rem; }
@media (max-width: 781px) { .pmco-trust > .wp-block-group__inner-container { margin-top: 1.5rem; } }

/* ---------- Sektionen ---------- */
.pmco-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
/* Klassisches Theme: WordPress legt den Gruppeninhalt in einen inner-container – der muss selbst zentriert werden */
.pmco-section > .wp-block-group__inner-container, .pmco-trust > .wp-block-group__inner-container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.pmco-section.is-layout-constrained > * { max-width: var(--wrap); }
.pmco-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: var(--wrap); margin-inline: auto; }
.pmco-section.is-layout-constrained > .alignwide { max-width: var(--wrap); }
.pmco-white { background: white; }
.pmco-sand { background: var(--sand-light); }
.pmco-navy { background: var(--navy); color: white; }
.pmco-navy h2, .pmco-navy h3, .pmco-navy h4, .pmco-navy p { color: white; }
.pmco-navy .pmco-kicker { color: var(--orange); }
.pmco-kicker { display: block; color: var(--orange); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: .6rem; }
.pmco-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.pmco-section-head h2 { margin-bottom: .4rem; }
.pmco-section-head p { color: var(--muted); font-size: 1.1rem; }
.pmco-lead { font-size: 1.15rem; }
.has-text-align-center.pmco-kicker { text-align: center; }

/* Karten */
.pmco-cards .wp-block-column, .pmco-card {
  background: white; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--sand-line);
}
.pmco-navy .pmco-cards .wp-block-column { background: color-mix(in srgb, white 8%, var(--navy)); border-color: color-mix(in srgb, white 14%, var(--navy)); box-shadow: none; }
.pmco-cards .wp-block-column > .wp-block-image { margin: 0; }
.pmco-cards .wp-block-column > .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pmco-cards .wp-block-column > :not(.wp-block-image) { margin-inline: 1.5rem; }
.pmco-cards .wp-block-column > h3, .pmco-cards .wp-block-column > h4 { margin-top: 1.3rem; }
.pmco-cards .wp-block-column > p:last-child, .pmco-cards .wp-block-column > .wp-block-buttons:last-child { margin-bottom: 1.5rem; }
.pmco-cards .wp-block-column > .wp-block-buttons { margin-top: auto; }
.pmco-cards .wp-block-column { display: flex; flex-direction: column; }
.pmco-cards.wp-block-columns { gap: 1.5rem; }

/* Werte / Icon-Boxen */
.pmco-values .wp-block-column { text-align: center; padding: 1.5rem 1rem; }
.pmco-values .wp-block-column > p:first-child { font-size: 2.2rem; margin: 0 0 .5rem; }
.pmco-values h4 { margin-bottom: .3rem; }
.pmco-values p { color: var(--muted); margin: 0; }

/* Zahlen */
.pmco-stats { text-align: center; }
.pmco-stats .wp-block-column { padding: 1.5rem 1rem; }
.pmco-stat { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--orange); line-height: 1; margin: 0 0 .3rem; }
.pmco-stats p:not(.pmco-stat) { color: var(--muted); margin: 0; font-weight: 600; }
.pmco-navy .pmco-stats p:not(.pmco-stat) { color: rgba(255,255,255,.8); }

/* Zitat / persönliche Stimme */
.pmco-voice { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--sand-line); }
.pmco-voice img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.pmco-voice blockquote { margin: 0; padding: 0; border: 0; background: transparent; font-size: 1.25rem; }
.pmco-voice cite { font-style: normal; color: var(--muted); font-size: 1rem; display: block; margin-top: .8rem; }
.pmco-voice-faces { display: flex; justify-content: center; }
.pmco-voice .pmco-voice-faces img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid white; box-shadow: var(--shadow); margin: 0; }
.pmco-voice .pmco-voice-faces img + img { margin-left: -28px; }
@media (max-width: 700px) { .pmco-voice { grid-template-columns: 1fr; text-align: center; } .pmco-voice img { margin: 0 auto; } .pmco-voice-faces img + img { margin-left: -28px; } }

/* Zeitstrahl */
.pmco-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; margin-top: 2.5rem; position: relative; }
.pmco-timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 22px; height: 2px; background: var(--sand); }
@media (max-width: 1000px) { .pmco-timeline { grid-template-columns: repeat(2, 1fr); } .pmco-timeline::before { display: none; } }
.pmco-project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin-top: 1rem; }
.pmco-project-gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }
.pmco-timeline > div { text-align: center; position: relative; padding: 0 .5rem; }
.pmco-timeline span { display: inline-block; position: relative; background: var(--orange); color: var(--navy); font-weight: 700; padding: .4em 1.1em; border-radius: 999px; margin-bottom: .9rem; letter-spacing: .04em; }
.pmco-timeline strong { display: block; color: var(--navy); font-size: 1.15rem; margin-bottom: .3rem; }
.pmco-timeline p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 700px) { .pmco-timeline { grid-template-columns: 1fr; gap: 1.75rem; } .pmco-timeline::before { display: none; } }

/* Team */
.pmco-team-group { margin-bottom: 2.5rem; }
.pmco-team-group h3 { text-align: center; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.pmco-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem 1rem; }
.pmco-member { text-align: center; }
.pmco-member img, .pmco-member .pmco-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; border: 4px solid white; box-shadow: var(--shadow); background: var(--sand-light); }
.pmco-member .pmco-avatar { display: grid; place-items: center; color: var(--navy); font-weight: 700; font-size: 1.6rem; }
.pmco-member h4 { font-size: 1.05rem; margin: 0; }
.pmco-member p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Projekte */
.pmco-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.pmco-project { background: white; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--sand-line); overflow: hidden; display: flex; flex-direction: column; }
.pmco-project img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pmco-project .pmco-project-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pmco-badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; background: var(--sand-light); color: var(--navy); width: fit-content; }
.pmco-badge.is-offen { background: var(--orange); color: var(--navy); }
.pmco-badge.is-laufend { background: var(--slate); color: white; }
.pmco-badge.is-abgeschlossen { background: var(--navy); color: white; }
.pmco-project h3 { margin: .2rem 0 0; font-size: 1.35rem; }
.pmco-project .pmco-project-text { color: var(--muted); font-size: 1rem; }
.pmco-project .pmco-project-text p:last-child { margin-bottom: 0; }
.pmco-progress { margin-top: auto; padding-top: .8rem; }
.pmco-progress-bar { height: 10px; background: var(--sand-light); border-radius: 999px; overflow: hidden; }
.pmco-progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #f0a570); border-radius: 999px; }
.pmco-progress-meta { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); margin-top: .4rem; font-weight: 600; }
.pmco-project-more { margin-top: .4rem; }
details.pmco-project-details summary { cursor: pointer; color: var(--slate); font-weight: 600; list-style: none; }
details.pmco-project-details summary::-webkit-details-marker { display: none; }
details.pmco-project-details summary::after { content: " ▾"; }
details[open].pmco-project-details summary::after { content: " ▴"; }

/* Patenschafts-Pakete */
.pmco-packages .wp-block-column { text-align: left; }
.pmco-price { font-size: 1.9rem; font-weight: 700; color: var(--orange); margin: 1.2rem 0 0; line-height: 1; }
.pmco-price small { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: .3em; }

/* News */
.pmco-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.pmco-post-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--sand-line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.pmco-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pmco-post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pmco-post-card .pmco-post-body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pmco-post-card time { color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.pmco-post-card h3 { font-size: 1.25rem; margin: .4rem 0 .5rem; }
.pmco-post-card h3 a { color: var(--navy); text-decoration: none; }
.pmco-post-card p { color: var(--muted); font-size: 1rem; margin: 0 0 1rem; }
.pmco-post-card .pmco-readmore { margin-top: auto; font-weight: 700; color: var(--slate); text-decoration: none; }
.pmco-post-card .pmco-readmore:hover { color: var(--navy); }

/* FAQ / Details */
.pmco-faq details, .wp-block-details { background: white; border: 1px solid var(--sand-line); border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: .8rem; }
.pmco-faq summary, .wp-block-details summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.08rem; }
.pmco-faq details[open] summary { margin-bottom: .6rem; }

/* Kontakt / Spendenkonto */
.pmco-contact-box { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--sand-line); }
.pmco-contact-box h3 { margin-top: 0; }
.pmco-contact-box p { margin-bottom: .5rem; }
.pmco-iban { font-variant-numeric: tabular-nums; letter-spacing: .04em; font-weight: 700; color: var(--navy); }

/* Logos */
.pmco-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3rem; }
.pmco-logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .7; transition: all .2s; }
.pmco-logos img:hover { filter: none; opacity: 1; }
.pmco-logos .wp-block-image { margin: 0; }

/* CTA-Band */
.pmco-cta { background: linear-gradient(120deg, var(--navy), var(--slate)); color: white; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pmco-cta h2, .pmco-cta p { color: white; margin: 0; }
.pmco-cta p { opacity: .9; }

/* ---------- Innenseiten ---------- */
.page-hero { background: var(--navy); color: white; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero.has-image { min-height: 360px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,37,64,.2), rgba(15,37,64,.85)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: white; margin: 0; }
.page-hero .pmco-kicker { color: var(--orange); }
.page-hero .page-meta { color: rgba(255,255,255,.75); margin-top: .5rem; }
.content-area { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.entry-content > *:not(.alignfull):not(.alignwide):not(.wp-block-group):not(.wp-block-columns):not(.wp-block-cover):not(.pmco-projects):not(.pmco-news):not(.vc-row) { max-width: 760px; margin-inline: auto; }
.entry-content .alignwide { max-width: var(--wrap); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content > .wp-block-columns, .entry-content > .wp-block-group:not(.alignfull), .entry-content > .vc-row, .entry-content > .pmco-projects, .entry-content > .pmco-news { max-width: var(--wrap); margin-inline: auto; }
.entry-content img { border-radius: 14px; }
.entry-content .wp-block-image figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .3em; }
.entry-content iframe { max-width: 100%; border-radius: 14px; }
.entry-content .wp-block-embed, .entry-content video { max-width: 100%; border-radius: 14px; }
.single .entry-content { max-width: 760px; margin-inline: auto; }
.single .entry-content > * { max-width: none; }
.single .post-nav { max-width: 760px; margin: 3rem auto 0; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--sand-line); }
.single .post-nav a { text-decoration: none; font-weight: 600; }
.single .entry-featured { max-width: 980px; margin: -3rem auto 2.5rem; position: relative; z-index: 2; padding-inline: var(--gutter); }
.single .entry-featured img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* WPBakery-Altinhalte (vc-compat) */
.vc-row { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; grid-template-columns: repeat(12, 1fr); }
.vc-col { grid-column: span var(--span, 12); min-width: 0; }
@media (max-width: 760px) { .vc-col { grid-column: span 12; } }
.vc-row > .vc-col > *:first-child { margin-top: 0; }
.vc-sep { border: 0; border-top: 3px solid var(--orange); width: 80px; margin: 1.5rem 0; }
.vc-video { aspect-ratio: 16 / 9; }
.vc-video iframe { width: 100%; height: 100%; }
.vc-iconbox { text-align: center; padding: 1.5rem; }
.vc-cta { background: var(--sand-light); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; }
.vc-cta h3 { margin-top: 0; }

/* Archiv */
.archive-head { margin-bottom: 2.5rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5rem .9rem; border-radius: 10px; background: white; border: 1px solid var(--sand-line); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: white; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; margin-top: 0; }
.site-footer a { color: white; }
.site-footer h4 { color: white; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { text-decoration: none; opacity: .9; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-logo { background: white; border-radius: 14px; padding: .6rem 1rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo img { height: 52px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .92rem; opacity: .8; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--orange); color: var(--navy); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Formulare ---------- */
.pmco-form { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--sand-line); max-width: 760px; margin-inline: auto; }
.pmco-form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.pmco-form legend { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: .8rem; }
.pmco-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .pmco-form .row { grid-template-columns: 1fr; } }
.pmco-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; color: var(--navy); }
.pmco-form input[type=text], .pmco-form input[type=email], .pmco-form input[type=tel], .pmco-form input[type=date], .pmco-form select, .pmco-form textarea {
  width: 100%; font: inherit; padding: .7em .9em; border: 1px solid var(--sand); border-radius: 10px; background: var(--paper); color: var(--ink);
}
.pmco-form input:focus, .pmco-form select:focus, .pmco-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.pmco-form .field { margin-bottom: 1rem; }
.pmco-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.pmco-form .check input { margin-top: .3em; }
.pmco-form .help { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.pmco-form .hp { position: absolute; left: -9999px; }
.pmco-notice { padding: 1rem 1.3rem; border-radius: 12px; margin-bottom: 1.5rem; background: var(--sand-light); border-left: 4px solid var(--orange); }
.pmco-notice.is-success { border-left-color: #2f8f5b; }
.pmco-notice.is-error { border-left-color: #c0392b; }
.pmco-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; }
.pmco-choice label { border: 2px solid var(--sand-line); border-radius: 12px; padding: .9rem; cursor: pointer; font-weight: 600; display: flex; gap: .5rem; align-items: center; margin: 0; }
.pmco-choice label:has(input:checked) { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, white); }
.pmco-choice small { display: block; font-weight: 400; color: var(--muted); }

/* Block-Editor-Feinschliff */
.wp-block-columns { gap: 1.5rem; }
.wp-block-buttons { gap: .8rem; }
.wp-block-separator { border-color: var(--sand-line); }
.has-navy-color { color: var(--navy); } .has-navy-background-color { background: var(--navy); }
.has-orange-color { color: var(--orange); } .has-orange-background-color { background: var(--orange); }
.has-sand-color { color: var(--sand); } .has-sand-background-color { background: var(--sand); }
.has-paper-background-color { background: var(--paper); }
.has-slate-color { color: var(--slate); } .has-slate-background-color { background: var(--slate); }
.has-ink-color { color: var(--ink); }
