/* Future Perfect – Styles. Palette/Typo aus dem Squarespace-Original
   (docs/konzept-future-perfect-webseite.md, Kap. 7): Blau #1c3572 / #3558bf,
   Gelb #ffcd52, Hellblau #f4f5fb; IBM Plex Sans; Pill-Buttons mit hartem
   Schatten (3px 3px 0 #1c3572), Karten mit 2px Rahmen und 5px Schatten. */

:root {
  --blue-dark: #1c3572;   /* darkAccent 223,61%,28% */
  --blue: #3558bf;        /* accent 223,57%,48% */
  --blue-light: #f4f5fb;  /* lightAccent 230,37%,97% */
  --yellow: #ffcd52;      /* "black" im Squarespace-Theme = Gelb */
  --blue-bright: #5b8ff7; /* bright-Theme 222,91%,66% */
  --green: #33f0a4;       /* tertiary/bright-Buttons 157,90%,57% */
  --white: #fff;
  --text: #1c3572;
  --shadow: 3px 3px 0 var(--blue-dark);
  --shadow-lg: 5px 5px 0 var(--blue-dark);
  --radius: 20px;
  --wrap: 1300px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-heading: 'FavoritMedium', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: calc(.12vw + 1rem); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[x-cloak] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small, .small p { font-size: calc(-.1vw + 1rem); }

h1, h2, h3, h4 { font-weight: 400; margin: 0; }
h1, h2 { font-family: var(--font-heading); letter-spacing: .01em; }
h3, h4 { font-family: var(--font); }
h1 { font-size: calc(3.6vw + 1rem); line-height: 1.32; }
h2 { font-size: calc(1.8vw + 1rem); line-height: 1.41; }
h3 { font-size: calc(1.32vw + 1rem); line-height: 1.43; }
h4 { font-size: calc(.48vw + 1rem); line-height: 1.48; }
h1 strong, h2 strong { font-weight: inherit; }
h3 strong, h4 strong { font-weight: 600; }
.prose > * + * { margin-top: 1rem; }
.prose h1 + p, .prose h2 + p { margin-top: 1.2rem; }
.prose h3 + p, .prose h4 + p, .prose h4 + ul { margin-top: .4rem; }
.prose p { margin: 0; }
.prose p.large { font-size: calc(.48vw + 1rem); line-height: 1.5; }
.prose p.small { font-size: calc(-.1vw + 1rem); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li > p, .prose li > h4 { margin: 0; }
.prose ul li > h4 { font-size: 1.05rem; }
.prose a { color: var(--blue); }
.prose .center { text-align: center; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.text-center { text-align: center; }
.text-center.prose ul, .text-center.prose ol, .text-center .prose ul, .text-center .prose ol { display: block; width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; padding-left: 1.3em; }
.text-center.prose ul li h4, .text-center .prose ul li h4 { margin: .5em 0; font-size: calc(.48vw + 1rem); font-weight: 400; }
.text-left { text-align: left; }
.text-left h1 { font-size: calc(1.8vw + 1rem); margin-top: 2.5rem; }
.text-left h2 { font-size: calc(.9vw + 1rem); font-family: var(--font); font-weight: 600; margin-top: 2.2rem; }
.text-left h3 { font-size: calc(.3vw + 1rem); font-weight: 600; margin-top: 1.4rem; }
.text-left h1:first-child { margin-top: 0; }
.toc { background: var(--blue-light); border-radius: 14px; padding: 1.2rem 1.5rem; margin-bottom: 2rem; font-size: .95rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .25rem 1.5rem; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 110px; }
.section-head { max-width: 1000px; margin: 0 auto 3.5rem; }
.section-head:empty { display: none; }
.kicker { text-align: center; margin-bottom: 3rem; }
.kicker h2, .kicker h1 { margin: 0; }
.c-darkAccent { color: var(--blue-dark); }
.c-accent { color: var(--blue); }
.c-white { color: var(--white); }
.c-lightAccent { color: var(--blue-light); }
.c-black { color: var(--yellow); }
mark { background: none; color: inherit; position: relative; white-space: nowrap; }
@media (max-width: 600px) { mark { white-space: normal; } mark::after { display: none; } mark { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .12em; text-underline-offset: .18em; } }
mark::after { content: ""; position: absolute; left: -.12em; right: -.06em; bottom: -.12em; height: .16em; background: var(--yellow); border-radius: .08em .12em .1em .06em / 100% 100% 60% 100%; transform: rotate(-.6deg) skewX(-6deg); animation: draw .7s ease-out both; z-index: -1; pointer-events: none; }
mark { z-index: 0; }
mark:nth-of-type(2)::after { animation-delay: .3s; } mark:nth-of-type(3)::after { animation-delay: .6s; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.wrap--narrow { max-width: 860px; }
.section { padding: 6.6vmax 0; position: relative; }

/* Themes – exakt nach den Squarespace-Theme-Definitionen (site.css):
   Hintergrund / grosse Titel (h1,h2) / mittlere Titel (h3,h4) / Text / Buttons */
.section { --bg: var(--white); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark);
  --btn1-bg: var(--yellow); --btn1-fg: var(--blue-dark); --btn2-bg: var(--blue-dark); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-white-bold { --btn3-bg: var(--green); --btn3-fg: var(--blue-dark); }
.theme-light, .theme-light-bold { --bg: var(--blue-light); --h-medium: var(--blue-dark);
  --btn1-bg: var(--blue-dark); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--white); --btn3-fg: var(--blue-dark); }
.theme-bright, .theme-bright-inverse { --bg: var(--blue-bright); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn1-bg: var(--green); --btn1-fg: var(--blue-dark); --btn2-bg: var(--green); --btn2-fg: var(--blue-dark); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-bright-inverse { --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); }
.theme-dark { --bg: var(--blue); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn2-bg: var(--green); --btn2-fg: var(--blue-dark); --btn3-bg: var(--blue-light); --btn3-fg: var(--blue-dark); }
.theme-dark-bold { --bg: var(--blue-dark); --h-large: var(--blue); --h-medium: var(--blue); --p: var(--blue);
  --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-black { --bg: var(--blue-dark); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn2-bg: var(--white); --btn2-fg: var(--blue-dark); }
.theme-black-bold { --bg: var(--yellow); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark);
  --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.section { background: var(--bg); color: var(--p); }
.section h1, .section h2 { color: var(--h-large); }
.section h3, .section h4 { color: var(--h-medium); }
.section .prose a:not(.btn) { color: var(--h-medium); }
/* Flächen-Klassen (Squarespace-Shape-Farben) für Kacheln und Boxen */
.bg-white { --bg: var(--white); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-lightAccent { --bg: var(--blue-light); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-accent { --bg: var(--blue); --h-large: var(--white); --h-medium: var(--white); --p: var(--white); background: var(--bg); color: var(--p); }
.bg-black { --bg: var(--yellow); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-darkAccent { --bg: var(--blue-dark); --h-large: var(--white); --h-medium: var(--white); --p: var(--white); background: var(--bg); color: var(--p); }
[class*="bg-"] h1, [class*="bg-"] h2 { color: var(--h-large); } [class*="bg-"] h3, [class*="bg-"] h4 { color: var(--h-medium); }
/* Redaktionelle Farbspans: in dunklen Flächen auf Weiss/Gelb umschalten */
.theme-black .c-darkAccent, .theme-dark .c-darkAccent, .theme-bright .c-darkAccent, .theme-bright-inverse .c-darkAccent, .bg-accent .c-darkAccent, .bg-darkAccent .c-darkAccent { color: var(--white); }
.theme-black .c-accent, .theme-dark .c-accent, .theme-bright .c-accent, .theme-bright-inverse .c-accent, .bg-accent .c-accent, .bg-darkAccent .c-accent { color: var(--white); }
.bg-white .c-darkAccent, .bg-lightAccent .c-darkAccent, .bg-black .c-darkAccent, .theme-white .c-darkAccent, .theme-light .c-darkAccent, .theme-black-bold .c-darkAccent { color: var(--blue-dark); }
.bg-white .c-accent, .bg-lightAccent .c-accent, .theme-white .c-accent, .theme-light .c-accent, .theme-black-bold .c-accent { color: var(--blue); }
.bg-black .c-accent { color: var(--blue-dark); }
.bg-black .c-white, .bg-white .c-white, .bg-lightAccent .c-white, .theme-black-bold .c-white, .theme-white .c-white { color: var(--blue-dark); }

/* Buttons – Pill, uppercase, harter Schatten, Hover verschiebt sich in den Schatten */
.btn { display: inline-block; font-family: var(--font); font-weight: 700; font-size: calc(-.1vw + 1rem); letter-spacing: .1em; text-transform: uppercase; padding: .8rem 1rem; border-radius: 999px; text-decoration: none; cursor: pointer; line-height: 1.2; border: 1px solid var(--blue-dark); box-shadow: var(--shadow); transition: transform .1s, box-shadow .1s; background: var(--btn1-bg, var(--yellow)); color: var(--btn1-fg, var(--blue-dark)); }
.btn:hover { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--blue-dark); }
.btn--primary { background: var(--btn1-bg, var(--yellow)); color: var(--btn1-fg, var(--blue-dark)); }
.btn--secondary { background: var(--btn2-bg, var(--blue-dark)); color: var(--btn2-fg, var(--white)); }
.btn--tertiary { background: var(--btn3-bg, var(--blue)); color: var(--btn3-fg, var(--white)); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 0; }
.btn-row.center { justify-content: center; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Header */
.admin-bar { background: #222; color: #fff; font-size: .85rem; padding: .35rem 1rem; }
.admin-bar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #e6e8f0; transition: transform .25s; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.site-header .logo img { height: 50px; width: auto; }
.header-inner { padding: 1.2rem 0; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.main-nav > a, .nav-folder-title { text-decoration: none; font-weight: 400; font-size: calc(.12vw + 1rem); padding: .3em 0; border-bottom: 2px solid transparent; color: var(--text); background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .3em; }
.main-nav > a:hover, .main-nav > a.active, .nav-folder-title:hover, .nav-folder-title.active { border-bottom-color: var(--yellow); }
.nav-folder { position: relative; }
.nav-folder-content { display: none; position: absolute; top: 100%; left: -15px; min-width: 240px; background: var(--blue-dark); border-radius: 10px; box-shadow: 5px 5px 10px rgba(0,0,0,.2); padding: 0; overflow: hidden; z-index: 60; }
.nav-folder.open .nav-folder-content { display: block; }
.nav-folder-content a { display: block; padding: 15px; color: #fff; text-decoration: none; }
.nav-folder-content a:hover, .nav-folder-content a.active { background: var(--yellow); color: #000; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 8px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 960px) {
  .site-header .logo img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--blue-light); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid #ddd; gap: .4rem; }
  .main-nav > a, .nav-folder-title { font-size: 1.15rem; }
  .nav-folder-content { position: static; box-shadow: none; margin: .3rem 0 .6rem; }
  .nav-folder-content a { padding: 10px 15px; }
  .nav-open .main-nav { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: min(900px, max(62vh, 520px)); }
.section--hero { padding: 5vmax 0; }
.hero--compact { grid-template-columns: 1fr; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text h2, .hero-text h3 { margin-top: 2.5rem; }
.hero-text p { max-width: 34em; }
.hero-image img { width: 100%; max-height: 520px; object-fit: contain; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-image { order: -1; max-width: 320px; margin-inline: auto; } .hero-image img { max-height: 260px; } }

/* Feature-Box (blaue Fläche mit Titel, Einleitung, Akkordeon, Bild, Spalten) */
.feature-box { background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 3.5rem); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); }
.theme-light .feature-box, .theme-light-bold .feature-box { background: var(--white); }
.feature-col--card { background: var(--white); border: 2px solid var(--blue-dark); border-radius: 16px; padding: 1.5rem 1.6rem; }
.feature-col--card h3 { margin-bottom: .6rem; }
/* Kacheln einheitlich: ein Titelstil, ein Textstil, eine Farbe (v20) */
.feature-col--card { color: var(--blue-dark); }
.feature-col--card h3 { line-height: 1.3; }
.feature-col--card p, .feature-col--card li, .feature-col--card li > p { font-size: 1rem; line-height: 1.5; color: var(--blue-dark); }
.feature-col--card strong { font-weight: 700; }
.feature-col--card li > p + p { margin-top: .15em; }
.feature-col--card p + p { margin-top: .2rem; }
.feature-col--card p:has(> strong:only-child) + p { margin-top: 0; }
.feature-col--card p + p:has(> strong:only-child) { margin-top: .8rem; }
.feature-head { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.feature-head:has(.feature-image) { grid-template-columns: 1.4fr .8fr; }
.feature-head h2 { color: var(--blue-dark); }
.feature-head h4 { color: var(--blue); }
.feature-image img { width: 100%; max-height: 320px; object-fit: contain; }
.feature-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.feature-col h3 { color: var(--blue-dark); font-size: calc(.6vw + 1rem); }
.feature-col ul { padding-left: 1.1em; } .feature-col li { margin: .45em 0; } .feature-col li > p { font-size: calc(-.1vw + 1rem); }
.feature-col--heading { grid-column: 1 / -1; margin-top: 1rem; }
/* genau vier Kacheln: 2×2 statt 3+1, auf breiten Bildschirmen 4 nebeneinander */
@media (min-width: 700px) { .feature-columns:has(> .feature-col--card:nth-child(4):last-child):not(:has(.themen)) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .feature-columns:has(> .feature-col--card:nth-child(4):last-child):not(:has(.themen)) { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.feature-col--heading h2 { margin-bottom: 0; }
@media (max-width: 860px) { .feature-head:has(.feature-image) { grid-template-columns: 1fr; } .feature-image { order: -1; max-width: 260px; } }

/* Akkordeon */
.accordion { margin: 1.2rem 0; border-top: 1px solid rgba(28,53,114,.25); }
.accordion-item { border-bottom: 1px solid rgba(28,53,114,.25); }
.accordion-item > button { width: 100%; text-align: left; background: none; border: 0; font: inherit; font-weight: 600; color: var(--blue-dark); padding: .9rem 2.5rem .9rem 0; cursor: pointer; position: relative; }
.accordion-icon { position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.accordion-item.open .accordion-icon { transform: translateY(-30%) rotate(-135deg); }
.accordion-body { padding: 0 0 1rem; }

/* Grid / Kacheln */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--1 { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5, .grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4, .grid--5, .grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.grid-item .prose { width: 100%; }
.grid-item .prose h4 { margin-bottom: .4em; }
.grid-item .btn-row { margin-top: auto; padding-top: 1rem; }
.grid--cards .grid-item { background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.5rem 2rem; }
.grid--cards .grid-item h4 { color: var(--h-large); }
.grid-item .prose > * + * { margin-top: .5rem; }
.grid--box { background: var(--bg); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 3vw, 3rem); }
.grid--rows { grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin-inline: auto; }
.grid--rows .grid-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; text-align: left; align-items: start; }
.grid--rows .grid-image { margin: 0; } .grid--rows .grid-image img { max-height: 70px; }
.grid--rows .btn-row { grid-column: 2; }
.grid-image { width: 100%; margin-bottom: 1rem; display: flex; justify-content: center; }
.grid-image img { max-height: 200px; object-fit: contain; border-radius: 12px; }
.grid-item--icon .grid-image img { max-height: 90px; }
.grid-image img[src*="/img/icons/"] { width: 64px; height: 64px; border-radius: 0; }
.page-uber-uns .grid-image img { aspect-ratio: 3/4; object-fit: cover; max-height: 320px; border-radius: 12px; }

/* Logo-Wand */
.logo-group { margin-top: 2rem; }
.logo-group-title { text-align: center; color: var(--blue-dark); margin-bottom: 1.2rem; }
.theme-bright .logo-group-title { color: var(--blue-dark); }
.logo-wall { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.logo-wall li { width: 240px; text-align: center; }
.logo-card { background: var(--white); border-radius: 14px; border: 2px solid var(--blue-dark); box-shadow: var(--shadow); height: 150px; display: flex; align-items: center; justify-content: center; padding: .8rem 1.1rem; margin-bottom: .5rem; }
.logo-wall--compact li { width: 210px; } .logo-wall--compact .logo-card { height: 124px; }
.logo-wall--large { gap: 1.6rem; } .logo-wall--large li { width: 340px; } .logo-wall--large .logo-card { height: 190px; padding: 1rem 1.4rem; } .logo-wall--large .logo-name { font-size: 1rem; }
@media (max-width: 600px) { .logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; } .logo-wall li { width: auto; } .logo-card { height: 96px; padding: .5rem; } .logo-wall--large { grid-template-columns: repeat(2, 1fr); } .logo-wall--large .logo-card { height: 110px; } .logo-wall--large li { width: auto; } .logo-wall--large li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .4rem); } .logo-name { font-size: .75rem; } }
.theme-white .logo-card { border: 0; box-shadow: none; background: var(--blue-light); }
.logo-card img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo-card a { display: contents; }
.logo-name { font-size: .85rem; line-height: 1.3; display: block; }
.logo-name:has(+ .logo-desc) { font-weight: 600; }
.logo-desc { display: block; font-size: .85rem; line-height: 1.35; margin-top: .15rem; opacity: .85; }
.logo-wall--large .logo-desc { font-size: .95rem; }

/* Karten-Reel (Angebote) und Galerie */
.reel { position: relative; margin-top: 1.5rem; }
.reel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 min(376px, 85vw); scroll-snap-align: start; background: var(--white); color: var(--blue-dark); text-align: center; --btn1-bg: var(--yellow); --btn1-fg: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.35rem; display: flex; flex-direction: column; gap: 1rem; }
.card h3 { color: var(--blue-dark); font-size: calc(.72vw + 1rem); }
.card .prose { font-size: 1rem; color: var(--blue); }
.card .btn { align-self: center; margin-top: auto; }
.card .prose > * + * { margin-top: .8rem; }
.card .prose p:first-child strong { color: var(--blue); }
.card-image img { max-height: 160px; object-fit: contain; margin: 0 auto 1rem; }
.gallery-track img { height: min(50vh, 420px); width: auto; max-width: 90vw; flex: 0 0 auto; scroll-snap-align: center; border-radius: var(--radius); object-fit: cover; cursor: zoom-in; }
.reel-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.reel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue-dark); background: var(--white); color: var(--blue-dark); box-shadow: var(--shadow); cursor: pointer; font-size: 1.1rem; }
.reel-nav button:hover { transform: translate(3px, 3px); box-shadow: none; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* Zitate */
.quote-card { margin: 0; background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.8rem; }
.quote-card h4 { font-style: italic; font-size: calc(.12vw + 1rem); line-height: 1.5; }
.quote-card h4 .c-darkAccent { color: var(--blue-dark); }
.quote-card p { margin: .5em 0 0; font-size: .9rem; color: var(--blue); }

/* CTA + Newsletter */
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.cta-grid h3 { font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.cta-grid .newsletter-box p:not(.small) { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.4; margin: 1rem 0 2rem; }  /* gleiche Schrift wie die Frage links (.cta-grid h3) */
.cta-grid .newsletter-box input { background: var(--white); border-color: var(--white); border-radius: 0; padding: 1.6rem 1.2rem; font-size: 1.1rem; }
.cta-grid .newsletter-box .btn { background: var(--white); color: var(--blue-dark); box-shadow: var(--shadow); }
.cta-grid .form--inline { gap: 1.2rem; }
.cta-grid .form--inline input { flex: 1 1 100%; }
.cta-grid .form-footnote { color: inherit; opacity: .8; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.form-box { background: var(--white); color: var(--blue-dark); --h-large: var(--blue-dark); border: 1px solid var(--blue-dark); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 1.8rem; }
.form-box h2 { color: var(--blue-dark); font-size: calc(.72vw + 1rem); margin-bottom: 1rem; }
.form label { display: block; font-weight: 600; margin: .9rem 0 0; font-size: .95rem; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: .3rem; font: inherit; padding: .7rem 1rem; border: 1px solid #c9cedf; border-radius: 999px; background: var(--blue-light); }
.form textarea { border-radius: 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { background: #fff; border-color: var(--blue); }
.form .req { font-weight: 400; color: var(--blue); font-size: .85rem; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: .35em; }
.form .btn { margin-top: 1.4rem; }
.form--inline { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.form--inline input { flex: 1 1 220px; margin: 0; }
.form--inline .btn { margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-footnote { margin: 1rem 0 0; color: #555; }
.form-success { background: #e6f5ea; border: 1px solid #7fbf90; border-radius: 12px; padding: 1rem 1.2rem; }
.form-error { background: #fbe9e9; border: 1px solid #d99; border-radius: 12px; padding: .8rem 1.2rem; }

/* Kontaktseite */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-text h1 { color: var(--yellow); }
.contact-text h3, .contact-text h4 { font-weight: 500; }
.contact-image { max-width: 300px; margin-top: 2rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-image { display: none; } }

/* News */
.news-list { display: grid; gap: 2.5rem; max-width: 1000px; margin-inline: auto; }
.news-item { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; background: var(--blue-light); color: var(--blue-dark); border-radius: var(--radius); padding: 1.5rem; }
.news-image img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.news-body h2 { font-size: calc(.72vw + 1rem); }
.news-body h2 a { text-decoration: none; color: var(--blue-dark); }
.tag { display: inline-block; background: var(--yellow); color: var(--blue-dark); border-radius: 999px; padding: .1em .7em; margin-right: .4em; font-size: .8rem; font-weight: 600; }
.theme-black .tag { background: var(--yellow); }
.news-hero { border-radius: var(--radius); margin-bottom: 2rem; max-height: 480px; object-fit: cover; width: 100%; }
.article h2, .article h3 { color: var(--blue-dark); margin-top: 1.5em; }
.article figure { margin: 1.5em 0; }
.article figure img { border-radius: 12px; width: 100%; }
.article figcaption { font-size: .9rem; margin-top: .5em; opacity: .8; }
.article video { display: block; width: 100%; border-radius: 12px; background: var(--blue-dark); }
.article .video-portrait { max-width: 400px; margin-inline: auto; }
@media (max-width: 760px) { .news-item { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--blue-dark); color: var(--white); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { color: var(--yellow); margin-bottom: .6rem; }
.footer-grid a { text-decoration: none; font-size: calc(-.1vw + 1rem); line-height: 1.9; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.social { display: inline-block; margin-top: 1.2rem; color: var(--white); line-height: 0; transition: color .15s, transform .15s; }
.social svg { display: block; }
.social:hover, .social:focus-visible { color: var(--yellow); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom a { color: var(--white); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }


/* Buttons innerhalb .prose behalten ihre Theme-Farben */
.prose a.btn, .prose a.btn--primary { color: var(--btn1-fg, var(--blue-dark)); }
.prose a.btn--secondary { color: var(--btn2-fg, var(--white)); }
.prose a.btn--tertiary { color: var(--btn3-fg, var(--white)); }

/* Einblenden beim Scrollen (wie die Squarespace-Animation); ohne JS bzw. bei reduced-motion sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .cards-track > .reveal:nth-child(2), .js .logo-wall > .reveal:nth-child(2) { transition-delay: .1s; }
.js .grid > .reveal:nth-child(3), .js .cards-track > .reveal:nth-child(3), .js .logo-wall > .reveal:nth-child(3) { transition-delay: .2s; }
.js .grid > .reveal:nth-child(4), .js .cards-track > .reveal:nth-child(4), .js .logo-wall > .reveal:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
/* Kachelfarben aus den Shape-Blöcken haben Vorrang vor der Karten-Grundfarbe */
.grid--cards .grid-item[class*="bg-"], .grid--box[class*="bg-"] { background: var(--bg); color: var(--p); }
.bg-accent .c-white, .bg-darkAccent .c-white, .bg-accent .c-darkAccent, .bg-accent .c-accent, .bg-accent h4 { color: var(--white); }
.grid--box .grid-item { border: 0; box-shadow: none; padding: 0; background: transparent; color: var(--p); }
.grid--box { --h-medium: var(--blue-dark); }

/* Kachel-Grid mit Text links (Team): Kopf links, Kacheln rechts */
.grid-wrap--side { display: grid; grid-template-columns: 1fr 2.3fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.grid-wrap--side .kicker { grid-column: 1 / -1; }
.section-head--side { position: sticky; top: 110px; }
.section-head--side h2 { margin-bottom: 1rem; }
.grid-wrap--side .btn-row { grid-column: 1 / -1; }
@media (max-width: 960px) { .grid-wrap--side { grid-template-columns: 1fr; } .section-head--side { position: static; } }

/* Ablauf-Schritte (1-2-3) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--5 { grid-template-columns: repeat(3, 1fr); } .steps--2 { grid-template-columns: repeat(2, 1fr); }
.step { position: relative; background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2rem 1.6rem 1.6rem; --h-medium: var(--blue-dark); }
.step-num { position: absolute; top: -1.1rem; left: 1.4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--yellow); color: var(--blue-dark); border: 2px solid var(--blue-dark); display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; }
.step h4 { font-weight: 600; margin-bottom: .4rem; }
.step p { font-size: calc(-.1vw + 1rem); }
@media (max-width: 960px) { .steps--3, .steps--4, .steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Angebots-Karten als festes Raster statt Karussell (Startseite) */
.cards-grid { margin-top: 1.5rem; }
.cards-grid-track { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 2.5vw, 2rem); }
.cards-grid-track .card { flex: 0 1 376px; }
@media (max-width: 600px) { .cards-grid-track .card { flex-basis: 100%; } }

/* CTA ohne Newsletter: einspaltig, zentriert */
.cta-grid--single { grid-template-columns: 1fr; text-align: center; max-width: 820px; }
.cta-grid--single .btn-row { justify-content: center; }
.cta-grid--single .prose p { max-width: 38em; margin-inline: auto; }

/* Sicherheitsnetz gegen horizontales Scrollen */
html, body { overflow-x: clip; }
.section, .wrap { min-width: 0; }
.steps--inbox { margin-top: 2.5rem; }
.steps--inbox .step { box-shadow: var(--shadow); }

.card-buttons .btn { min-width: 8.5rem; justify-content: center; text-align: center; padding-left: 2rem; padding-right: 2rem; }
.card-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: auto; }

/* «Für wen»: gleiche Bildhöhe, damit Titel und Texte der drei Karten auf einer Linie stehen */
#fuer-wen .grid-image { height: 200px; align-items: center; }

.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* ---- Auswertung Lehrpersonenbefragung (/lehrpersonenbefragung) ---- */
.ausw-hero > * { max-width: 62rem; }
.ausw-kicker { color: var(--yellow); font-weight: 600; letter-spacing: .02em; margin: 0 0 1rem; }
.ausw-hero h1 { margin-bottom: 1.2rem; }
.ausw-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 2.2rem 0 0; padding: 0; }
.ausw-stats div { display: flex; flex-direction: column; }
.ausw-stats dt { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--yellow); }
.ausw-stats dd { margin: .4rem 0 0; font-size: .95rem; opacity: .9; max-width: 12rem; }
.ausw-nav { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid #d9dfee; }
.ausw-nav .wrap { display: flex; gap: .3rem 1.4rem; flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
.ausw-nav a { color: var(--blue-dark); text-decoration: none; font-size: .92rem; }
.ausw-nav a:hover, .ausw-nav a:focus-visible { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .15em; }
.page-auswertung [id] { scroll-margin-top: 130px; }
.page-auswertung .section { padding: clamp(3rem, 6vw, 5rem) 0; }
.page-auswertung .section-head { max-width: 52rem; margin: 0 0 2rem; text-align: left; }

.ausw-kern { list-style: none; counter-reset: k; padding: 1rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem 1.4rem; }
.ausw-kern li { counter-increment: k; position: relative; background: var(--white); border: 2px solid var(--blue-dark); border-radius: 20px; box-shadow: var(--shadow); padding: 2.2rem 1.5rem 1.5rem; }
.ausw-kern li::before { content: counter(k); position: absolute; top: -1.1rem; left: 1.3rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--yellow); border: 2px solid var(--blue-dark); display: grid; place-items: center; font-weight: 700; color: var(--blue-dark); }
.ausw-kern h3 { font-size: 1.15rem; font-weight: 600; color: var(--blue-dark); margin: 0 0 .5rem; }
.ausw-kern p { margin: 0; font-size: .98rem; color: var(--blue-dark); }

.ausw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
@media (max-width: 900px) { .ausw-grid { grid-template-columns: minmax(0, 1fr); } }
.ausw-chart { margin: 0 0 1.4rem; background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: 20px; box-shadow: var(--shadow); padding: 1.4rem 1.5rem 1.3rem; }
.ausw-grid .ausw-chart { margin: 0; }
.ausw-chart figcaption { font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; }
.ausw-n { font-weight: 400; opacity: .7; font-size: .9rem; }
.ausw-bars { list-style: none; margin: 0; padding: 0; }
.ausw-bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 5.6rem; gap: .8rem; align-items: center; padding: .28rem 0; font-size: .92rem; }
@media (max-width: 600px) { .ausw-bars li, .ausw-bars--rang li { grid-template-columns: minmax(0, 1fr) auto; } .ausw-bars .ausw-track { grid-column: 1 / -1; order: 3; } }
.ausw-label { line-height: 1.3; }
.ausw-track { height: 12px; background: #e6eaf5; border-radius: 6px; overflow: hidden; }
.ausw-fill { display: block; height: 100%; border-radius: 6px; background: var(--blue); }
.ausw-bars--yellow .ausw-fill { background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--blue-dark); }
.ausw-val { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; text-align: right; }
.ausw-bars--rang li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 11.5rem; }
.ausw-val small { font-weight: 400; opacity: .75; }
.ausw-scale { display: flex; justify-content: space-between; font-size: .8rem; opacity: .7; margin: -.4rem 0 .6rem; }
.ausw-note { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid #e1e6f3; font-size: .93rem; }

.ausw-quotes { columns: 2 320px; column-gap: 1.4rem; }
.ausw-quotes blockquote { break-inside: avoid; margin: 0 0 1.2rem; background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: 20px; box-shadow: var(--shadow); padding: 1.3rem 1.5rem; font-size: .98rem; line-height: 1.5; }
.ausw-quotes blockquote::before { content: "«"; }
.ausw-quotes blockquote::after { content: "»"; }

.ausw-take { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; gap: 1.2rem; max-width: 56rem; }
.ausw-take li { counter-increment: t; display: grid; grid-template-columns: 3rem 1fr; gap: 0 1.2rem; }
.ausw-take li::before { content: counter(t); grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--yellow); color: var(--blue-dark); display: grid; place-items: center; font-weight: 700; }
.ausw-take h3 { margin: 0 0 .3rem; font-size: 1.2rem; font-weight: 600; color: var(--white); }
.ausw-take p { margin: 0; color: var(--white); }

/* Startseite: Teaser «Aktuelles Projekt» */
.project-teaser { max-width: 46rem; margin: 3rem auto 0; padding: 1.8rem clamp(1.4rem, 4vw, 2.4rem) 1.6rem; background: var(--yellow); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: 24px; box-shadow: var(--shadow-lg); text-align: center; }
.project-teaser .project-kicker { margin: 0 0 .4rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-teaser h3 { margin: 0 0 .6rem; color: var(--blue-dark); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.project-teaser p { color: var(--blue-dark); margin: 0 0 1rem; }
.project-teaser p:last-child { margin-bottom: 0; }
.project-teaser .btn { --btn1-bg: var(--blue-dark); --btn1-fg: var(--white); }

#next-level.section { padding: clamp(2rem, 4vw, 3.2rem) 0; }
#next-level .project-teaser { margin-top: 0; }

/* Produktbild als helle Karte auf farbigem Hintergrund (z. B. «Was in der Box steckt») */
.section--text.theme-dark .text-image { margin-top: 2rem; }
.section--text.theme-dark .text-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }


/* Links in gelb markierten Wörtern: nur die gelbe Linie, keine zweite Unterstreichung */
mark a { text-decoration: none; color: inherit; }

/* Info-Kacheln einladender (v29): leichter Schatten, Icon oben, Häkchen statt Punkte, Eckdaten hervorgehoben */
.feature-col--card { box-shadow: var(--shadow); }
.feature-col--card .card-icon { display: block; width: 52px; height: 52px; margin-bottom: 1rem; }
.feature-col--card ul { list-style: none; padding-left: 0; }
.feature-col--card ul > li { position: relative; padding-left: 1.8em; }
.feature-col--card ul > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15em; height: 1.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ffcd52'/%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231c3572' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.feature-col--card:has(.fakten) { background: #fff6dc; }
.feature-col--card ul.fakten > li { display: flex; gap: .9rem; align-items: flex-start; padding-left: 0; margin: 0 0 1rem; }
.feature-col--card ul.fakten > li::before { display: none; }
.feature-col--card ul.fakten img { width: 40px; height: 40px; flex: none; }
.feature-col--card ul.fakten p { margin: 0; }

/* Icons über den Angebotskarten der Startseite */
.card-image img[src*="/img/icons/"] { width: 64px; height: 64px; margin: 0 auto .25rem; }

/* Themen-Raster in Kacheln (ABU/BM): volle Breite, Icon links, Titel + kurze Beschreibung (v34) */
@media (min-width: 700px) { .feature-columns:has(.themen) { grid-template-columns: repeat(2, 1fr); } }
.feature-col--card:has(.themen) { grid-column: 1 / -1; }
.feature-col--card ul.themen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem 2.2rem; margin-top: 1.2rem; }
.feature-col--card ul.themen > li { display: flex; gap: .9rem; align-items: flex-start; padding-left: 0; margin: 0; }
.feature-col--card ul.themen > li::before { display: none; }
.feature-col--card ul.themen img { width: 44px; height: 44px; flex: none; }
.feature-col--card ul.themen p { margin: 0; line-height: 1.45; }
.feature-col--card ul.themen strong { display: inline-block; margin-bottom: .15rem; }

/* Einheitliche Textgrösse in allen Info-Kacheln: Absätze, Listen und Eckdaten gleich gross (v36) */
.feature-col.feature-col--card p,
.feature-col.feature-col--card li,
.feature-col.feature-col--card li > p { font-size: 1rem; line-height: 1.5; }
.feature-col.feature-col--card ul.themen p { line-height: 1.45; }

/* Kachel-Titel fett und etwas kompakter, Icons kleiner (v37) */
.feature-col.feature-col--card h3 { font-weight: 600; font-size: calc(.4vw + 1.05rem); line-height: 1.3; }
.feature-col.feature-col--card .card-icon { width: 44px; height: 44px; margin-bottom: .8rem; }

/* Über uns, Team: Text zentriert über dem Raster, runde kompakte Porträts, Kontakt-Symbole (v38) */
#team .section-head { max-width: 46rem; margin-inline: auto; }
#team .grid--cards .grid-item { padding: 2rem 1.5rem 1.8rem; }
#team .grid-image { margin-bottom: 1.1rem; }
#team .grid-image img { width: 150px; height: 150px; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-radius: 50%; border: 3px solid var(--yellow); }
#team .grid-item .prose p { color: var(--blue); }
.team-kontakt { display: flex; justify-content: center; gap: .6rem; margin-top: .9rem !important; }
.team-kontakt a { display: inline-flex; transition: transform .15s; }
.team-kontakt a:hover { transform: translateY(-2px); }
.team-kontakt img { width: 36px; height: 36px; }
#team .grid-item .prose { flex: 1; display: flex; flex-direction: column; }
#team .grid-item .prose .team-kontakt { margin-top: auto !important; padding-top: 1rem; }
/* Team-Karten minim grösser (v40) */
#team .grid--cards .grid-item { padding: 2.4rem 1.8rem 2.1rem; }
#team .grid-image img { width: 172px; height: 172px; }
#team .grid-item h4 { font-size: calc(.3vw + 1.2rem); }
#team .grid-item .prose p { font-size: 1.02rem; }
.team-kontakt img { width: 40px; height: 40px; }
/* Startseite Angebotskarten: Icon minim grösser, Titel fett (v41) */
.card-image img[src*="/img/icons/"] { width: 72px; height: 72px; }
.card h3 { font-weight: 600; }

/* Über uns «Wir arbeiten»: fünf Werte mit Icons in einer Reihe, Strich zeichnet sich beim Hineinscrollen (v42) */
#werte .grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { #werte .grid { grid-template-columns: repeat(5, 1fr); } }
#werte .grid-image img { width: 72px; height: 72px; margin: 0 auto 1rem; }
#werte .grid-item h4 { font-size: calc(.3vw + 1.15rem); font-weight: 600; margin-bottom: .25em; }
#werte .grid-item p { color: var(--blue); }
.js #werte .grid-item mark::after { animation-play-state: paused; }
.js #werte .grid-item.in mark::after { animation-play-state: running; }
#werte .grid-item:nth-child(1) mark::after { animation-delay: .35s; }
#werte .grid-item:nth-child(2) mark::after { animation-delay: .5s; }
#werte .grid-item:nth-child(3) mark::after { animation-delay: .65s; }
#werte .grid-item:nth-child(4) mark::after { animation-delay: .8s; }
#werte .grid-item:nth-child(5) mark::after { animation-delay: .95s; }

/* Heroes einheitlich (v43): Untertitel gleich gross und fett, Fliesstext gleich gross, Links weiss unterstrichen */
.hero-text h2, .hero-text h3 { font-size: calc(1vw + 1.35rem); font-weight: 600; line-height: 1.3; margin-top: 2.2rem; margin-bottom: 1.2rem; }
.hero-text p, .hero-text p.large { font-size: calc(.48vw + 1rem); line-height: 1.5; }
.hero-text p a { color: inherit; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .2em; }
/* Auf gelbem Hintergrund (OdA-Hero) ist der gelbe Strich unsichtbar: dort weiss */
.theme-black-bold mark::after, .bg-black-bold mark::after { background: var(--white); }
@media (max-width: 600px) { .theme-black-bold mark, .bg-black-bold mark { text-decoration-color: var(--white); } }
