/* Amirian Haustechnik · Startseite Stand 10 */

body.ah-mc{
  --mc-paper:#faf7f1;
  --mc-paper-2:#f1ece2;
  --mc-ink:#102f50;
  --mc-ink-2:#0a2138;
  --mc-text:#26364a;
  --mc-muted:#56616e;
  --mc-line:#e2dacb;
  --mc-green:#15774b;
  --mc-green-hover:#0f5f3b;
  --mc-green-soft:#e3f1e8;
  --mc-mint:#8fd6b0;
  --mc-radius:16px;
  background:var(--mc-paper);
}
body.ah-mc nav{background:var(--mc-ink)}
body.ah-mc nav.scrolled{background:rgba(10,33,56,.94)}
body.ah-mc nav .nav-links > li > a:not(.nav-cta):is(.active, :hover){color:var(--mc-mint)!important}

/* ================= Einstieg ================= */
/* #hero bleibt Sprungmarke; die alten Vollbild-Regeln (100vh, Zentrierung) werden aufgehoben */
#hero.mc-hero{position:relative;height:auto;min-height:0;display:block;overflow:hidden;color:var(--mc-text);
  background:linear-gradient(180deg,var(--mc-paper) 0%,#f6f1e7 100%);
  padding:calc(var(--mc-nav-h,88px) + clamp(2rem,5vh,4rem)) 5% clamp(2.5rem,6vh,4.5rem)}
.mc-hero__inner{position:relative;max-width:1320px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);grid-template-areas:"headline feature" "facts feature";column-gap:clamp(2rem,4vw,4.5rem);align-items:center}
.mc-hero__text{grid-area:headline;min-width:0;align-self:end}

.mc-eyebrow{display:inline-flex;align-items:center;gap:.6rem;margin:0 0 1.3rem;padding:.55rem 1rem;border:1px solid var(--mc-line);border-radius:999px;background:#fff;
  font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mc-ink)}
.mc-eyebrow__dot{width:9px;height:9px;border-radius:50%;background:var(--mc-green);box-shadow:0 0 0 4px var(--mc-green-soft)}
.mc-h1{font-size:clamp(2.4rem,4.5vw,4.9rem);font-weight:900;line-height:1.0;letter-spacing:-.03em;color:var(--mc-ink);margin:0 0 1.3rem;text-transform:none;hyphens:manual}
.mc-nowrap{white-space:nowrap;color:var(--mc-green)}
.mc-lead{font-size:clamp(1.06rem,1.35vw,1.22rem);line-height:1.65;color:var(--mc-text);max-width:36rem;margin:0 0 1.8rem}

.mc-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin:0 0 1.5rem}
.mc-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:60px;padding:.9rem 1.55rem;border-radius:14px;
  font-family:inherit;font-size:1.08rem;font-weight:800;letter-spacing:.005em;text-decoration:none;line-height:1.15;border:2px solid transparent;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.mc-btn svg{width:22px;height:22px;flex-shrink:0}
.mc-btn--call{background:var(--mc-green);color:#fff;box-shadow:0 12px 26px -12px rgba(21,119,75,.85)}
.mc-btn--call:hover{background:var(--mc-green-hover);transform:translateY(-2px)}
.mc-btn__nr{font-weight:600;opacity:.95;padding-left:.65rem;border-left:1px solid rgba(255,255,255,.4)}
.mc-btn--ghost{background:#fff;color:var(--mc-ink);border-color:var(--mc-ink)}
.mc-btn--ghost:hover{background:var(--mc-ink);color:#fff;transform:translateY(-2px)}
.mc-btn--light{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.mc-btn--light:hover{background:#fff;color:var(--mc-ink)}
.mc-facts{grid-area:facts;align-self:start;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem 1.4rem;font-size:.92rem;font-weight:600;color:var(--mc-muted)}
.mc-facts li{display:flex;align-items:center;gap:.45rem}
.mc-facts svg{width:17px;height:17px;color:var(--mc-green);flex-shrink:0}
.mc-facts a{color:var(--mc-ink);font-weight:800;text-decoration:underline;text-underline-offset:3px}

.mc-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2.5rem;margin-bottom:2.1rem}
.mc-kicker{margin:0 0 .55rem;font-size:.8rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--mc-green)}
.mc-h2{margin:0;font-size:clamp(2rem,3.4vw,3.1rem);font-weight:900;line-height:1.05;letter-spacing:-.025em;color:var(--mc-ink);text-transform:none}
.mc-head p{margin:0;max-width:32rem;font-size:1.02rem;color:var(--mc-muted);line-height:1.6}
.mc-head a{color:var(--mc-ink);font-weight:800}

/* ================= Notdienst ================= */
.mc-notdienst{background:var(--mc-ink);color:#fff;padding:clamp(2.5rem,5vw,3.75rem) 5%}
.mc-notdienst__inner{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:1.5rem 3rem;align-items:center}
.mc-notdienst .mc-kicker{color:var(--mc-mint)}
.mc-notdienst .mc-h2{color:#fff}
.mc-notdienst p{margin:.8rem 0 0;color:rgba(255,255,255,.88);font-size:1.02rem;line-height:1.65;max-width:42rem}
.mc-notdienst__actions{display:flex;flex-wrap:wrap;gap:.75rem}
.mc-notdienst .mc-btn--call{box-shadow:none}

/* ================= Planer ================= */
.mc-planer{background:var(--mc-paper-2);padding:clamp(2.75rem,6vw,4.25rem) 5%}
.mc-planer .mc-head{margin-bottom:1.5rem}
.mc-planer .hero-tools{justify-content:flex-start;animation:none;margin:0}
.mc-planer .hero-tool.t-navy{background:var(--mc-ink);backdrop-filter:none;-webkit-backdrop-filter:none}


.mc-wrap { max-width: 1320px; margin-inline: auto; }

/* Arbeitsablauf und Warmwasser-Detailseite */
.mc-process {
  padding: clamp(28px, 4vw, 56px) 5%;
  border-top: 1px solid var(--mc-line);
  background: #fff;
}
.mc-process__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px clamp(24px, 5vw, 64px);
}
.mc-process__inner p:not(.mc-kicker) {
  margin: 0 0 .85rem;
  color: var(--mc-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.mc-process a {
  color: var(--mc-green-hover);
  font-weight: 800;
  text-underline-offset: 3px;
}

.mc-detail, .mc-detail * { box-sizing: border-box; }
.mc-detail {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--mc-ink);
}
.mc-detail__header, .mc-detail__footer {
  padding: 15px 5%;
  background: var(--mc-ink);
  color: white;
}
.mc-detail__header .mc-wrap, .mc-detail__footer .mc-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.mc-detail__header .mc-wrap { justify-content: space-between; }
.mc-detail__header img { display: block; width: min(36vw, 180px); height: auto; }
.mc-detail__header a, .mc-detail__footer a { color: white; text-underline-offset: 3px; }
.mc-detail__header a { padding-block: 9px; font-size: .9rem; font-weight: 800; }
.mc-detail__hero { padding: clamp(28px, 6vw, 76px) 5%; }
.mc-detail__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 65px);
}
.mc-detail__photo { display: block; width: 100%; height: auto; border-radius: var(--mc-radius); }
.mc-detail__footer { font-size: .82rem; }
@media (max-width: 780px) {
  .mc-detail__grid { grid-template-columns: 1fr; }
}


/* Sechs Leistungen im normalen Seitenfluss */
.mc-services {
  border-top: 1px solid var(--mc-line);
  padding: clamp(38px, 5.5vw, 76px) 5% clamp(34px, 5vw, 68px);
  background: #fff;
}
.mc-services__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px 40px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.mc-services .mc-h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  text-transform: uppercase;
  letter-spacing: -.045em;
}
.mc-services__head > p {
  max-width: 29rem;
  margin: 0;
  color: var(--mc-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.mc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mc-cards > li { display: flex; min-width: 0; }
.mc-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce0df;
  border-radius: 7px;
  background: #fff;
  color: var(--mc-ink);
  text-decoration: none;
  box-shadow: 0 5px 16px #102f5010;
  transition: box-shadow .2s ease, transform .2s ease;
}
.mc-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mc-paper-2);
}
.mc-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-card__source {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: .23rem .42rem;
  border-radius: 3px;
  background: #0a2138ed;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .015em;
}
.mc-card__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 4px clamp(9px, 1.2vw, 16px);
  flex: 1;
  padding: clamp(12px, 1.4vw, 19px);
}
.mc-card__icon {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--mc-green);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}
.mc-card h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(1.05rem, 1.65vw, 1.57rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--mc-ink);
  text-transform: uppercase;
  hyphens: manual;
  overflow-wrap: anywhere;
}
.mc-card__text {
  grid-column: 2;
  font-size: clamp(.81rem, 1vw, .94rem);
  line-height: 1.4;
  color: var(--mc-muted);
}
.mc-card__arrow {
  grid-area: 1 / 3 / span 2;
  align-self: center;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--mc-ink);
}
.mc-card--urgent { border-color: var(--mc-green); }
.mc-card--urgent .mc-card__body { background: var(--mc-green); }
.mc-card--urgent :is(h3, .mc-card__icon, .mc-card__text, .mc-card__arrow) { color: white; }
@media (hover: hover) {
  .mc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px #102f5022; }
}
.mc-services__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 13px;
}
.mc-services__footer a {
  display: flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  color: var(--mc-green-hover);
  font-size: .85rem;
  font-weight: 750;
  text-underline-offset: 3px;
}
.ah-mc :is(.mc-btn, .mc-card, .mc-services__footer a, .mc-facts a, .mc-process a):focus-visible {
  outline: 3px solid #efb909;
  outline-offset: 3px;
}

/* Die Kombination mit PV hat einen eigenen Abschnitt. */
.mc-pv {
  border-block: 1px solid #cbded2;
  padding: clamp(27px, 4.2vw, 55px) 5%;
  background: var(--mc-green-soft);
}
.mc-pv__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px clamp(20px, 3vw, 44px);
}
.mc-pv__icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: var(--mc-green);
  color: #fff;
}
.mc-pv__icon svg { width: 44px; height: 44px; }
.mc-pv__inner p:not(.mc-kicker) {
  max-width: 43rem;
  margin: .6rem 0 0;
  color: var(--mc-text);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .mc-eyebrow { font-size: .72rem; letter-spacing: .06em; }
}
@media (max-width: 920px) {
  .mc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-notdienst__inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mc-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "headline" "feature" "facts";
    row-gap: 17px;
  }
  .mc-hero__text .mc-actions { margin-bottom: 0; }
  .mc-services__head { align-items: start; flex-direction: column; }
  .mc-pv__inner { grid-template-columns: auto minmax(0, 1fr); }
  .mc-pv .mc-btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  #hero.mc-hero { padding: calc(var(--mc-nav-h, 72px) + .8rem) 16px 1.55rem; }
  .mc-eyebrow { font-size: .61rem; letter-spacing: .04em; padding: .4rem .7rem; margin-bottom: .8rem; gap: .45rem; }
  .mc-h1 { font-size: clamp(1.85rem, 9vw, 2.65rem); margin-bottom: .8rem; }
  .mc-lead { font-size: .94rem; line-height: 1.5; margin-bottom: .95rem; }
  .mc-actions { flex-direction: column; align-items: stretch; gap: .58rem; }
  .mc-btn { width: 100%; min-height: 51px; padding: .7rem .8rem; font-size: .99rem; }
  .mc-btn__nr { font-size: .81rem; padding-left: .48rem; }
  .mc-facts { font-size: .81rem; gap: .45rem 1rem; }
  .mc-services, .mc-pv, .mc-process, .mc-notdienst, .mc-planer { padding-inline: 16px; }
  .mc-services .mc-h2 { font-size: clamp(1.95rem, 8.3vw, 2.55rem); }
  .mc-services__head > p { font-size: .93rem; }
  .mc-cards { grid-template-columns: 1fr; }
  .mc-card h3 { font-size: clamp(1.2rem, 5vw, 1.48rem); }
  .mc-card__icon { font-size: 2rem; }
  .mc-pv__icon { width: 46px; height: 46px; align-self: start; }
  .mc-pv__icon svg { width: 30px; height: 30px; }
  .mc-pv .mc-h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .mc-pv .mc-btn { grid-column: 1 / -1; }
  .mc-process__inner { grid-template-columns: 1fr; }
  .mc-notdienst__actions { flex-direction: column; align-items: stretch; }
}
@media (min-width: 821px) and (max-height: 780px) {
  #hero.mc-hero { padding-top: calc(var(--mc-nav-h, 80px) + 1rem); padding-bottom: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-btn, .mc-card { transition: none; }
  .mc-btn:hover, .mc-card:hover { transform: none; }
}



/* Der Einstieg bleibt stehen, während die Geräteansicht dem Scrollen folgt. */
body.ah-mc { overflow-x: clip; }
#hero.mc-hero {
  --story-travel: clamp(300px, 63svh, 540px);
  --story-bottom-gap: 8px;
  display: block;
  overflow: visible;
  padding: var(--mc-nav-h, 82px) 0 0;
  background: var(--mc-paper);
}
.mc-story__stage { padding: clamp(22px, 5vh, 48px) 5% clamp(24px, 4vw, 52px); }
#hero.mc-hero.has-scroll-animation {
  min-height: calc(var(--mc-nav-h, 82px) + var(--story-stage-height, 620px) + var(--story-travel));
}
.has-scroll-animation .mc-story__stage {
  position: sticky;
  top: min(var(--mc-nav-h, 82px), calc(100svh - var(--story-stage-height) - var(--story-bottom-gap)));
}
.mc-story__visual { grid-area: feature; min-width: 0; }
.mc-device {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.mc-device::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, #218b5d, #10543c 90%);
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}
.mc-device__fallback,
.mc-device__canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 660;
  object-fit: cover;
}
.mc-device__fallback { clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%); }
.mc-device [hidden] { display: none; }
.mc-device__overlay {
  position: absolute;
  right: 9px;
  bottom: 10px;
  left: max(10px, 8%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
}
.mc-device__state {
  padding: .45rem .58rem;
  border-radius: 4px;
  background: #0a2138ed;
  color: white;
  font-size: clamp(.68rem, 1.1vw, .8rem);
  font-weight: 750;
}
.mc-device__motion {
  min-height: 42px;
  padding: .28rem .62rem;
  border: 1px solid #ffffff8a;
  border-radius: 5px;
  background: #0c302be0;
  color: white;
  font: inherit;
  font-size: .7rem;
  font-weight: 750;
  cursor: pointer;
}
.mc-device__motion[aria-pressed="true"] { background: #f6f3e9; color: var(--mc-ink); }
.mc-story__next {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  color: var(--mc-green-hover);
  font-weight: 800;
  font-size: .84rem;
  text-underline-offset: .21em;
}
#leistungsgebiete.mc-services {
  padding: clamp(38px, 5.5vw, 76px) 5% clamp(34px, 5vw, 68px);
}
#leistungen-start { display: block; }

#so-arbeiten-wir .mc-process__inner p:not(.mc-kicker) { margin-top: .8rem; }

@media (max-width: 767px) {
  #hero.mc-hero {
    --story-travel: clamp(270px, 53svh, 425px);
    --story-bottom-gap: 70px;
  }
}
@media (max-width: 640px) {
  .mc-story__stage { padding: 12px 16px 22px; }
  .mc-device::before { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
  .mc-device__canvas {
    position: relative;
    transform: translateY(calc(var(--story-open, 0) * -65px));
  }
  .mc-device__overlay { left: 8px; right: 8px; bottom: 7px; }
  .mc-device__motion { min-height: 38px; }
  .has-scroll-animation .mc-hero__text { opacity: calc(1 - var(--story-open, 0) * .36); }
  #leistungsgebiete.mc-services { padding-inline: 16px; }
}

/* Aus sechs Bauteilgruppen entstehen die sechs Gerätebilder. */
.mc-device__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
  padding: 13px 10px 43px;
  background: #fff;
}
.mc-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--mc-ink);
  text-decoration: none;
}
.mc-topic__image {
  display: block;
  width: min(100%, 220px);
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.mc-topic__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: clamp(.87rem, 1.42vw, 1.22rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.mc-topic__label::before {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--mc-green);
  content: "";
}
.mc-topic:hover { color: var(--mc-green-hover); }
.mc-topic:focus-visible { outline: 3px solid #d4a400; outline-offset: 1px; border-radius: 6px; }
.mc-device.is-animated {
  aspect-ratio: 900 / 710;
}
.mc-device.is-animated::before {
  opacity: calc(1 - var(--topics-reveal, 0));
}
.mc-device.is-animated::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: var(--topics-reveal, 0);
  content: "";
}
.mc-device.is-animated .mc-device__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
}
.mc-device.is-animated .mc-device__topics {
  position: absolute;
  inset: 0;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  background: transparent;
}
.is-animated .mc-topic {
  opacity: var(--topic-reveal, 0);
  transform: translate(var(--topic-x, 0px), var(--topic-y, 0px)) scale(var(--topic-scale, 1));
}
.is-animated .mc-topic__label {
  opacity: var(--topic-label-reveal, 0);
}
.is-animated .mc-topic__image {
  width: 100%;
  height: calc(100% - 31px);
  max-width: 220px;
  max-height: 130px;
  aspect-ratio: auto;
  flex: 0 1 auto;
}
.is-animated .mc-topic__label { flex: 0 0 auto; }
.mc-device.is-animated .mc-device__overlay {
  left: 9px;
  right: 9px;
  bottom: 7px;
}
.mc-device.is-animated .mc-device__state {
  background: color-mix(in srgb, var(--mc-ink-2) calc((1 - var(--topics-reveal, 0)) * 100%), transparent);
  opacity: calc(1 - var(--topics-reveal, 0));
}
.mc-device.is-animated .mc-device__motion {
  color: var(--mc-ink);
  border-color: #849c8f;
  background: #eff5efed;
}
#hero.mc-hero { --story-travel: clamp(260px, 40svh, 400px); }
@media (max-width: 640px) {
  .mc-device.is-animated { aspect-ratio: .83; }
  .is-animated .mc-topic__image { max-height: 105px; max-width: 180px; }
  .mc-topic__label { font-size: clamp(.78rem, 3.3vw, .99rem); gap: 4px; }
  .mc-device__topics { gap: 1px 5px; padding: 8px 6px 39px; }
  #hero.mc-hero { --story-travel: clamp(260px, 42svh, 380px); }
}


/* Stand 9: einheitliche Montagemotive und grüne Kartenflächen. */
.mc-card { border-color: var(--mc-green); border-radius: 11px; }
.mc-card__body { background: var(--mc-green); padding: clamp(15px, 1.5vw, 22px); }
.mc-card :is(h3, .mc-card__icon, .mc-card__text, .mc-card__arrow) { color: #fff; }
.mc-card__icon { font-weight: 800; letter-spacing: -.045em; opacity: .94; }
.mc-card__text { color: #edf7f1; }
.mc-services__image-note { margin: 17px 0 0; color: var(--mc-muted); font-size: .78rem; line-height: 1.5; }


/* Originalzeichen ersetzen die Nummern. */
.mc-card__icon {
  grid-row: 1 / span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #ffffff10;
  color: #fff;
  opacity: 1;
}
.mc-card__icon svg { display: block; width: 24px; height: 24px; }

/* Gleiche Bildachsen und Beschriftungslinien nach der Verwandlung. */
.mc-device__topics { gap: 10px 16px; padding: 18px 16px 48px; }
.mc-topic { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 6px; padding: 3px; border-radius: 9px; }
.mc-topic__image { filter: drop-shadow(0 7px 10px #102f5016); }
.is-animated .mc-topic__image { width: 100%; height: 100%; max-height: 130px; }
.mc-topic__label { align-self: end; padding-bottom: 2px; }
@media (max-width: 640px) {
  .mc-card__icon { width: 40px; height: 40px; }
  .mc-card__icon svg { width: 22px; height: 22px; }
  .mc-device__topics { gap: 7px 8px; padding: 12px 8px 44px; }
  .mc-topic { gap: 4px; padding: 2px; }
  .is-animated .mc-topic__image { max-height: 105px; }
}


/* Stand 10: kurze Zusammenfassungen statt langer Textblöcke. */
.mc-funding-summary {
  margin: 0 0 1.45rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--mc-line);
  border-left: 4px solid var(--mc-green);
  border-radius: 11px;
  background: #fff;
}
.mc-funding-summary h3 { margin: 0 0 .4rem; color: var(--mc-ink); font-size: 1rem; line-height: 1.35; font-weight: 800; }
#wp-hero .mc-funding-summary p { margin: 0; font-size: .95rem; line-height: 1.55; }
.mc-funding-summary__links { display: flex; flex-wrap: wrap; gap: 0 1.3rem; margin-top: .45rem; }
.mc-funding-summary__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mc-green-hover); font-size: .86rem; font-weight: 800; text-underline-offset: 3px; }
#wp-hero .wp-hero-text > p { line-height: 1.65; margin-bottom: 1.35rem; }
#wp-hero .wp-hero-checks { gap: .65rem; margin-bottom: 1.7rem; }
#projekte .hs-header { margin-bottom: 1.65rem; }
#projekte .hs-leer { padding: 1.7rem 1.8rem; }
#projekte .hs-leer p { line-height: 1.6; }
.mc-review-details { margin: -1rem 0 2rem; }
.mc-review-details summary { min-height: 44px; padding: .65rem 0; color: var(--mc-green-hover); font-weight: 800; cursor: pointer; }
.mc-review-details[open] summary { margin-bottom: 1.2rem; }
.mc-review-details:focus-within { scroll-margin-top: 100px; }
.mc-review-details summary:focus-visible, .mc-funding-summary a:focus-visible { outline: 3px solid #d4a400; outline-offset: 3px; border-radius: 3px; }
.ks-google { padding: 1.35rem 1.5rem; }
.ks-google p { line-height: 1.6; }
