/* Maria Rosa Feustel – statische Seite
   Farben: Waldgrün #466344, Eyebrow oliv, helle Salbei-Flächen
   Schrift: Inter (lokal, SIL OFL – site/fonts/Inter-*.woff2, siehe Inter-LICENSE.txt)
*/

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: color-mix(in srgb, var(--color-muted-green) 11%, white);
  --color-bg-elevated: color-mix(in srgb, var(--color-muted-green) 5%, white);
  --color-text: #2d2d2d;
  --color-text-muted: #5a5a5a;
  --color-muted-green: #8ba385;
  --color-forest: #466344;
  --color-forest-hover: #3a5438;
  --color-border: color-mix(in srgb, var(--color-muted-green) 35%, white);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-weight-regular: 400;
  --font-weight-extralight: 200;
  --radius-pill: 999px;
  --radius-card: 1.5rem;
  --radius-portrait: 2.25rem;
  --header-h: 5.5rem;
  --shadow-portrait: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(70, 99, 68, 0.1);
  --color-hero-back: var(--color-muted-green);
  --color-motto-attribution: #a82c2c;
  --max-width: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-forest);
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-forest-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-forest);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-muted-green) 10%, var(--color-bg-elevated));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 3.75rem;
  width: auto;
  max-width: min(100%, 17rem);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav a:hover {
  color: var(--color-forest);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-elevated);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--color-forest);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 48rem) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.25rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
    background: color-mix(in srgb, var(--color-muted-green) 8%, var(--color-bg-elevated));
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 20px rgba(45, 45, 45, 0.08);
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.2rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }
}

/* —— Hero —— */

.hero {
  padding: 0 0 clamp(3rem, 7vw, 5.5rem);
}

.hero__banner {
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 56rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted-green);
  margin: 0 0 0.75rem;
}

.hero__heading {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.38;
  margin: 0 0 0.85rem;
  color: var(--color-text);
}

.hero__keywords {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-green);
}

.hero__keywords span:not(.hero__keywords-sep) {
  font-weight: 700;
}

.hero__lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.hero__lead-list {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--color-text-muted);
}

.hero__lead-list li {
  margin: 0.25em 0;
  padding-left: 0.15em;
}

.hero__closing {
  margin: 0;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.52;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 56rem) {
  .hero__visual {
    justify-content: flex-end;
  }
}

/* Rotiertes Grau hinter dem Portrait (Back-Layering) */
.hero__portrait-stack {
  position: relative;
  display: block;
  width: 100%;
  max-width: min(100%, 26rem);
  /* Platz für leichte Drehung + Schatten */
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 1.5vw, 1rem)
    clamp(0.5rem, 1.5vw, 0.75rem);
}

.hero__portrait-stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 4%;
  top: 6%;
  bottom: 2%;
  background: var(--color-hero-back);
  border-radius: calc(var(--radius-portrait) + 0.2rem);
  transform: rotate(-4deg);
  box-shadow: 0 6px 28px rgba(45, 45, 45, 0.1);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__portrait-stack::before {
    transform: none;
  }
}

.hero__portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  border-radius: var(--radius-portrait);
  overflow: hidden;
  box-shadow: var(--shadow-portrait);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}

.hero__portrait img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-forest);
  color: #fff;
  box-shadow: 0 2px 8px rgba(70, 99, 68, 0.25);
}

.btn--primary:hover {
  background: var(--color-forest-hover);
  color: #fff;
}

.btn--ghost {
  background: var(--color-bg-elevated);
  color: var(--color-forest);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-forest);
  color: var(--color-forest-hover);
}

/* —— Sections —— */

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--angebot {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(3.25rem, 6.5vw, 5.5rem) 0;
}

.angebot__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .angebot__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 3rem);
  }
}

/* Salbei-Back-Layer hinter Vortragsbild; Foto bleibt gerade (vgl. .hero__portrait-stack) */
.angebot__figure-stack {
  position: relative;
  display: block;
  width: 100%;
  max-width: min(100%, 26rem);
  margin-inline: auto;
  padding: clamp(0.75rem, 2vw, 1.15rem) clamp(0.5rem, 1.5vw, 1rem)
    clamp(0.5rem, 1.5vw, 0.75rem);
}

.angebot__figure-stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 4%;
  top: 6%;
  bottom: 2%;
  background: var(--color-muted-green);
  border-radius: calc(var(--radius-card) + 0.2rem);
  transform: rotate(-3.5deg);
  box-shadow: 0 6px 28px rgba(45, 45, 45, 0.08);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .angebot__figure-stack::before {
    transform: none;
  }
}

.angebot__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(45, 45, 45, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.angebot__figure img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.angebot__content .section__intro {
  margin-bottom: 1.5rem;
}

.angebot__content--lead .section__intro--angebot {
  margin-bottom: 0.85rem;
}

.section__heading--angebot {
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  letter-spacing: -0.02em;
}

.angebot__value-line {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text);
  font-weight: 400;
}

.angebot__highlight-card {
  border-color: color-mix(in srgb, var(--color-forest) 22%, var(--color-border));
  box-shadow: 0 10px 36px rgba(70, 99, 68, 0.08);
}

.section__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-muted-green);
  margin: 0 0 0.5rem;
}

.section__heading {
  font-family: var(--font);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.section__intro {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--color-text-muted);
}

.angle-card {
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.angle-card h3 {
  font-family: var(--font);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--color-forest);
}

.angle-card__intro {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-forest);
  opacity: 0.65;
}

.icon-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 400;
}

.icon-list li:last-child {
  margin-bottom: 0;
}

.icon-list__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.05em;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--color-muted-green) 24%, var(--color-bg));
  color: var(--color-forest);
}

.icon-list__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* Angebot: einheitliche Icon-Spalte (inline-SVG o. ä.) */
.icon-list.icon-list--angebot {
  --angebot-icon-slot-w: 6rem;
  --angebot-icon-slot-h: 2.65rem;
}

.icon-list.icon-list--angebot > li > .icon-list__icon {
  flex: 0 0 var(--angebot-icon-slot-w);
  width: var(--angebot-icon-slot-w);
  min-width: var(--angebot-icon-slot-w);
  height: var(--angebot-icon-slot-h);
  box-sizing: border-box;
}

.icon-list.icon-list--angebot .icon-list__icon img,
.icon-list.icon-list--angebot .icon-list__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: var(--angebot-img-max, 1.85rem);
  max-height: var(--angebot-img-max, 1.85rem);
  margin: 0 auto;
}

.icon-list.icon-list--angebot .icon-list__icon img {
  object-fit: contain;
}

.icon-list strong {
  font-weight: 600;
}

.angebot__bereiche {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--color-border);
}

.angebot__bereiche .section__label {
  margin-bottom: 0.35rem;
}

.angebot__bereiche-heading {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.angebot__bereiche-intro {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.angebot-tabs-card {
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
}

.angebot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 0 1.5rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-muted-green) 14%, var(--color-bg));
  border: 1px solid var(--color-border);
}

.angebot-tabs__btn {
  flex: 1 1 auto;
  min-width: min(100%, 9.5rem);
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.angebot-tabs__btn:hover {
  color: var(--color-forest);
  background: color-mix(in srgb, var(--color-bg-elevated) 65%, transparent);
}

.angebot-tabs__btn:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}

.angebot-tabs__btn[aria-selected="true"] {
  background: var(--color-forest);
  color: #fff;
  box-shadow: 0 2px 10px rgba(70, 99, 68, 0.28);
}

.angebot-tabs__btn[aria-selected="true"]:hover {
  color: #fff;
  background: var(--color-forest-hover);
}

#tab-angebot-stressmanagement[aria-selected="true"],
#tab-angebot-stressmanagement[aria-selected="true"]:hover {
  background: var(--color-forest);
  color: #fff;
}

#tab-angebot-stressmanagement[aria-selected="true"]:hover {
  background: var(--color-forest-hover);
}

#tab-angebot-entspannung[aria-selected="true"] {
  background: #f6a0dd;
  color: #1c141f;
  box-shadow: 0 2px 12px color-mix(in srgb, #f6a0dd 45%, transparent);
}

#tab-angebot-entspannung[aria-selected="true"]:hover {
  background: color-mix(in srgb, #f6a0dd 92%, black);
  color: #1c141f;
}

#tab-angebot-kommunikation[aria-selected="true"] {
  background: #cac1ff;
  color: #16151f;
  box-shadow: 0 2px 12px color-mix(in srgb, #cac1ff 45%, transparent);
}

#tab-angebot-kommunikation[aria-selected="true"]:hover {
  background: color-mix(in srgb, #cac1ff 88%, rgb(110, 100, 150));
  color: #16151f;
}

.angebot-tabs__panels {
  min-width: 0;
}

.angebot-panel.angebot-detail {
  margin-top: 0;
}

.angebot-detail__title {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--detail-title-accent, var(--color-forest));
}

.angebot-detail--stress {
  --detail-title-accent: var(--color-forest);
  --offer-accent: var(--color-forest);
}

.angebot-detail--entspannung {
  --detail-title-accent: #9b3f7a;
  --offer-accent: #f6a0dd;
}

.angebot-detail--kommunikation {
  --detail-title-accent: #5b4faa;
  --offer-accent: #cac1ff;
}

.angebot-detail p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 50rem;
}

.angebot-detail p:last-child {
  margin-bottom: 0;
}

.angebot-detail__ref {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.angebot-detail__h {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 1.75rem 0 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--offer-accent, var(--color-forest)) 22%, var(--color-bg));
  color: var(--detail-title-accent, var(--color-forest));
}

.angebot-detail__h5 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  margin: 1.25rem 0 0.5rem;
  color: var(--detail-title-accent, var(--color-forest));
}

.angebot-detail__h5--pmr {
  margin-top: 1.85rem;
  font-size: 1.02rem;
  color: var(--detail-title-accent, var(--color-forest));
}

.angebot-detail__pmr-intro {
  margin: -0.2rem 0 0.6rem !important;
  font-size: 0.95rem;
}

.angebot-detail__offerlist {
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
}

.angebot-detail__offerlist li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--offer-accent, var(--color-forest)) 42%, var(--color-border));
  background: color-mix(in srgb, var(--offer-accent, var(--color-muted-green)) 20%, var(--color-bg-elevated));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--offer-accent, rgb(70, 99, 68)) 18%, transparent);
  color: var(--color-text);
}

.angebot-detail__offerlist > li + li {
  margin-top: 0.5rem;
}

.angebot-detail__name {
  flex: 1 1 100%;
  color: var(--color-text);
}

.angebot-detail__offerlist .angebot-detail__meta {
  flex: 1 1 100%;
  display: block;
  color: var(--detail-title-accent, var(--color-forest));
  white-space: normal;
  line-height: 1.4;
}

.angebot-detail__meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  white-space: normal;
}

.angebot-detail__meta--block {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.angebot-detail__workshops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.55rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-text);
}

.angebot-detail__workshops li {
  position: relative;
  margin-bottom: 0;
  padding: 0.7rem 0.85rem 0.7rem 2rem;
  border-radius: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--offer-accent, var(--color-forest)) 35%, var(--color-border));
  background: color-mix(in srgb, var(--offer-accent, var(--color-muted-green)) 20%, var(--color-bg-elevated));
}

.angebot-detail__workshops li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--offer-accent, var(--color-forest));
  opacity: 0.75;
}

.angebot-detail__workshops li:last-child {
  margin-bottom: 0;
}

.angebot-detail__note {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.angebot-detail__note strong {
  font-weight: 400;
  color: var(--detail-title-accent, var(--color-forest));
}

.angebot-detail--kommunikation .angebot-detail__note {
  color: var(--detail-title-accent);
}

.angebot-detail__jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.angebot-detail__jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--offer-accent, var(--color-forest)) 35%, var(--color-border));
  background: color-mix(in srgb, var(--offer-accent, var(--color-muted-green)) 20%, var(--color-bg-elevated));
  color: var(--color-forest);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.angebot-detail__jump:hover {
  border-color: color-mix(in srgb, var(--offer-accent, var(--color-forest)) 45%, var(--color-border));
  background: color-mix(in srgb, var(--offer-accent, var(--color-muted-green)) 28%, var(--color-bg-elevated));
  color: var(--color-forest-hover);
}

.angebot-detail__jump:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}

.angebot-detail__cta {
  margin-top: 1rem !important;
  font-size: 0.95rem;
  color: var(--color-text);
}

.angebot-detail__cta strong {
  font-weight: 600;
}

.angebot-detail__cta a {
  color: var(--color-forest);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-forest) 38%, transparent);
  text-underline-offset: 0.15em;
}

.angebot-detail__cta a:hover {
  text-decoration-color: var(--color-forest);
}

.angebot-detail--kommunikation .angebot-detail__cta {
  margin-top: 1rem !important;
  font-size: 0.95rem;
  color: var(--detail-title-accent);
}

.angebot-detail--kommunikation .angebot-detail__cta strong {
  font-weight: 600;
}

.angebot-detail--kommunikation .angebot-detail__cta a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--detail-title-accent) 45%, transparent);
  text-underline-offset: 0.15em;
}

.angebot-detail--kommunikation .angebot-detail__cta a:hover {
  text-decoration-color: var(--detail-title-accent);
}

.angebot-detail--tbd .angebot-detail__tbd {
  margin-bottom: 0;
}

.section--profil {
  background: var(--color-bg);
}

.profil__grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 45rem) {
  .profil__grid {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  }
}

.profil__body p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 46rem;
}

.h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 1.75rem 0 0.5rem;
}

.profil__subtitle {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 22rem;
}

/* Herz-Logo in linker Spalte: kein Float wie früher neben Logo-Text */
.profil__intro .profil__logo-figure {
  margin-top: 1rem;
}

@media (min-width: 38rem) {
  .profil__intro .profil__logo-figure {
    float: none;
    max-width: min(13.5rem, 100%);
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }
}

.profil__qualifikationen-wrap {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-muted-green) 9%, white);
}

.profil__qualifikationen-wrap .h3 {
  margin-top: 0;
}

.profil__qualifikationen {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
  max-width: none;
  color: var(--color-text-muted);
}

.profil__qualifikationen li + li {
  margin-top: 0.4rem;
}

.profil__logo-figure {
  margin: 0 0 0.85rem;
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
  min-width: 0;
}

@media (min-width: 38rem) {
  .profil__logo-figure {
    float: left;
    max-width: min(13.5rem, 38vw);
    width: 100%;
    margin: 0 1.25rem 0.5rem 0;
  }
}

.profil__logo-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.profil__motto {
  margin: 0 0 0.25rem;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-left: 4px solid color-mix(in srgb, var(--color-muted-green) 70%, var(--color-forest));
  max-width: 46rem;
  font-size: 1.15rem;
  font-style: italic;
  font-family: var(--font-accent, var(--font));
  color: var(--color-text);
}

.profil__motto p {
  margin: 0;
  color: inherit;
}

.profil__motto-attribution {
  margin: 0.35rem 0 0;
  max-width: 46rem;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 400;
  color: var(--color-motto-attribution);
}

.section--kontakt {
  background: color-mix(in srgb, var(--color-muted-green) 16%, var(--color-bg));
  border-top: 1px solid var(--color-border);
}

.kontakt__cta {
  margin: 0;
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0 2rem;
  background: var(--color-bg-elevated);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 32rem) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer__links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--color-forest);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* —— Cookie notice —— */

.cookie-banner {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner__content {
  width: min(100%, 48rem);
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-forest) 22%, var(--color-border));
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--color-bg-elevated) 94%, white);
  box-shadow: 0 18px 44px rgba(70, 99, 68, 0.18);
  pointer-events: auto;
}

.cookie-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}

.cookie-banner__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.cookie-banner__link {
  font-size: 0.95rem;
  color: var(--color-forest);
}

.cookie-banner__button {
  width: auto;
  min-height: 2.5rem;
}

@media (max-width: 28rem) {
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .cookie-banner__link {
    text-align: center;
    padding: 0.5rem;
  }

  .cookie-banner__button {
    width: 100%;
  }
}

@media (min-width: 42rem) {
  .cookie-banner__content {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1rem 1.15rem;
  }

  .cookie-banner__title,
  .cookie-banner__text {
    grid-column: 1;
  }

  .cookie-banner__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
  }
}

/* —— Legal / subpages —— */

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 0 1rem;
}

.legal h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.legal p,
.legal li {
  color: var(--color-text-muted);
  margin: 0 0 0.9rem;
}

.legal h2 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--color-text);
}

.legal__meta {
  font-size: 0.9rem;
}

.legal__note {
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-muted-green) 12%, var(--color-bg-elevated));
}

/* ============================================================
   Mobile / small-screen improvements
   ============================================================ */

/* Anchor targets clear the sticky header */
#home,
#angebot,
#profil,
#kontakt {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* Prevent horizontal scroll from absolute/rotated decorative elements */
body {
  overflow-x: clip;
}

/* —— Smaller header on narrow screens —— */
@media (max-width: 48rem) {
  :root {
    --header-h: 4rem;
  }

  .logo img {
    height: 2.5rem;
  }
}

/* —— Hero: portrait less tall on mobile —— */
@media (max-width: 55rem) {
  .hero__portrait-stack {
    max-width: min(100%, 22rem);
  }

  .hero__portrait img {
    aspect-ratio: 3 / 2;
  }
}

/* —— Hero keywords: wrap gracefully on narrow screens —— */
.hero__keywords {
  flex-wrap: wrap;
  row-gap: 0.25rem;
}

@media (max-width: 30rem) {
  .hero__keywords {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }
}

/* —— CTA buttons: stack on very small screens —— */
@media (max-width: 28rem) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— Angebot tabs: pill → card shape when stacked vertically —— */
@media (max-width: 36rem) {
  .angebot-tabs {
    border-radius: var(--radius-card);
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .angebot-tabs__btn {
    min-width: 100%;
    padding: 0.65rem 1rem;
  }
}

/* —— Reduce inner horizontal padding slightly on very small screens —— */
@media (max-width: 25rem) {
  .inner {
    width: min(100% - 1.5rem, var(--max-width));
  }
}

/* —— Touch-friendly minimum tap size for nav links —— */
@media (max-width: 48rem) {
  .nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
}

/* —— Profil section: tighter gap on single column —— */
@media (max-width: 45rem) {
  .profil__grid {
    gap: 1rem;
  }
}

