/* ==========================================================================
   Culture Cockpit — Originaldesign nach Figma «Culture Cockpit - Landingpage»
   (Stand 20.11.2026; Masse: work/spec-landing.txt, Desktop 1490 px).
   Urbanist ersetzt vorerst Gilroy (Lizenz in Klärung), siehe cc-fonts.css.
   Kontrast-Anpassungen gegenüber dem Figma: Primär-Button #677CFF → #5566E8
   (4.68:1 mit Weiss), Text-Links #677CFF → #4F63E6 (4.93:1 auf Weiss/Hell),
   Fokus-Ring auf dunklen Flächen gelb (#FFD670) statt Lila.
   Wird nach edih.css, share-preview.css und lang-switch.css geladen und
   überschreibt diese bei gleicher Spezifität durch die spätere Reihenfolge.
   ========================================================================== */

/* Schriften und die Variablen --cc-font-head / --cc-font-body: siehe cc-fonts.css (wird vorher geladen). */

/* ---------- Design-Tokens ---------- */

:root {
  --cc-casal: #1F5466;            /* Headings, Text auf Hell, dunkle Sektionen, Footer */
  --cc-casal-card: #336B7F;       /* dunkle Karten, Preisbox */
  --cc-casal-500: #678B9B;
  --cc-casal-100: #AAC9D4;
  --cc-team-from: #1F5466;
  --cc-team-to: #6C8E9B;          /* Verlauf Team-Sektion */
  --cc-page: #F6F6FA;             /* Header, Seite */
  --cc-light: #EBEFF4;            /* helle Sektionen */
  --cc-white: #FFFFFF;
  --cc-yellow: #FFD670;           /* Akzent: Quotes, Checks, Schritt-Nummern, Fokus auf Dunkel */
  --cc-purple: #677CFF;           /* nur dekorativ, nie hinter Text */
  --cc-purple-btn: #5566E8;       /* Button mit Weiss (4.68:1) */
  --cc-purple-btn-hover: #4553C9;
  --cc-purple-link: #4F63E6;      /* Linktext auf Weiss/Hell (4.93:1) */
  --cc-muted-on-dark: rgba(255, 255, 255, .72);
  --cc-eu-blue: #003399;          /* nur EU-Förderhinweis */
  --cc-radius-btn: 12px;
  --cc-radius-card: 20px;
  --cc-radius-card-sm: 16px;
  --cc-radius-quote: 22px;
  --cc-radius-photo: 8px;
  --cc-radius-inner: 14px;
  --cc-gutter: 80px;
  --cc-content: 1330px;
  --cc-section-y: 120px;
}

@media (max-width: 1023px) {
  :root { --cc-gutter: 20px; --cc-section-y: 64px; }
}

/* ---------- Basis: Seite, Typo, Links, Fokus ---------- */

body.edih {
  background: var(--cc-light);
  color: var(--cc-casal);
  font-family: var(--cc-font-body);
  font-size: 20px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.edih h1, .edih h2, .edih h3 {
  font-family: var(--cc-font-head);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--cc-casal);
  hyphens: manual;
  overflow-wrap: break-word;
}
.edih h1 { font-size: 56px; line-height: 1.25; max-width: none; margin-bottom: 0; }
.edih h2 { font-size: 48px; }
.edih h3 { font-family: var(--cc-font-body); font-weight: 600; font-size: 24px; line-height: 1.2; }
.edih small { font-size: 15px; }
.edih a { color: var(--cc-purple-link); }
.edih a:hover { color: var(--cc-purple-link); }

.edih .eyebrow, .edih .small-label {
  display: inline-block;
  font-family: var(--cc-font-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cc-casal);
  margin-bottom: 20px;
}
/* Der Strich des EDIH-Eyebrows entfällt im Originaldesign. */
.edih .eyebrow::before, .edih .small-label::before { content: none; }

.edih .lead { font-size: 24px; line-height: 1.25; color: var(--cc-casal); max-width: none; }

.edih :is(a, button, summary):focus-visible { outline: 3px solid var(--cc-purple-btn); outline-offset: 3px; }
.edih .news-card-link:focus-visible { outline: 3px solid var(--cc-purple-btn); outline-offset: 3px; box-shadow: none; }
.edih .erasmus-slides:focus-visible { outline: 3px solid var(--cc-purple-btn); outline-offset: 3px; }

/* Fokus auf dunklen Flächen (Hero, dunkle Sektionen, Preisbox, Footer) gelb. */
.edih .hero :is(a, button, summary):focus-visible,
.edih .steps-strip :is(a, button, summary):focus-visible,
.edih .intro-section :is(a, button, summary):focus-visible,
.edih .home-study :is(a, button, summary):focus-visible,
.edih .offers-reports :is(a, button, summary):focus-visible,
.edih .courses-assistants :is(a, button, summary):focus-visible,
.edih .erasmus-results :is(a, button, summary):focus-visible,
.edih .section:has(.timeline) :is(a, button, summary):focus-visible,
.edih .team :is(a, button, summary):focus-visible,
.edih .offer-band :is(a, button, summary):focus-visible,
.edih .site-footer.edih-footer :is(a, button, summary):focus-visible { outline-color: var(--cc-yellow); }

main { overflow-x: clip; }

/* ---------- Kopf ---------- */

.edih .site-header {
  max-width: none; margin: 0; min-height: 77px;
  padding: 0 var(--cc-gutter);
  background: var(--cc-page);
  border-bottom: 0; box-shadow: none; gap: 32px;
}
.edih .brand { color: var(--cc-casal); }
.edih .brand img { width: 270px; height: auto; min-width: 0; }

.edih .desktop-nav {
  margin-left: auto; gap: 40px;
  font-family: var(--cc-font-head); font-weight: 500; font-size: 16px;
}
.edih .desktop-nav a { color: var(--cc-casal); text-decoration: none; }
.edih .desktop-nav a:hover { color: var(--cc-casal); text-decoration: underline; }
.edih .desktop-nav a[aria-current="page"],
.edih .desktop-nav a[aria-current="true"] { font-weight: 700; }

.edih .header-cta { min-height: 48px; padding: 12px 24px; font-size: 16px; }

.edih .lang-switch a {
  color: var(--cc-casal); border-radius: 0;
  font-family: var(--cc-font-head); font-weight: 500; font-size: 16px;
}
.edih .lang-switch a:hover, .edih .lang-switch a:focus-visible { color: var(--cc-casal); text-decoration: underline; }
.edih .lang-switch a[aria-current="true"] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--cc-casal);
  text-underline-offset: 6px;
}

.edih .mobile-menu summary {
  color: var(--cc-casal);
  background: transparent;
  border: 2px solid var(--cc-casal);
  border-radius: var(--cc-radius-btn);
  padding: 8px 16px;
  min-height: 44px;
  display: flex; align-items: center;
  font-family: var(--cc-font-head); font-weight: 500; font-size: 16px;
  list-style: none;
}
.edih .mobile-menu nav { background: var(--cc-page); border: 0; border-radius: var(--cc-radius-btn); box-shadow: none; }
.edih .mobile-menu nav a { color: var(--cc-casal); }

/* ---------- Knöpfe und Text-Links ---------- */

.edih .button {
  min-height: 62px; padding: 20px 32px;
  border: 2px solid transparent; border-radius: var(--cc-radius-btn);
  font-family: var(--cc-font-body); font-weight: 700; font-size: 18px; line-height: 1.2;
  gap: 10px; text-decoration: none;
}
.edih .button:hover { filter: none; }
.edih .button.primary { background: var(--cc-purple-btn); border-color: var(--cc-purple-btn); color: var(--cc-white); }
.edih .button.primary:hover { background: var(--cc-purple-btn-hover); border-color: var(--cc-purple-btn-hover); color: var(--cc-white); }
/* Jede nicht-primäre Variante: transparent mit 2px-Rahmen. */
.edih .button:not(.primary) { background: transparent; border-color: var(--cc-casal); color: var(--cc-casal); }
.edih .button:not(.primary):hover { background: rgba(31, 84, 102, .08); }
/* Auf dunklen Flächen: weisser Rahmen, weisser Text. */
.edih .hero .button:not(.primary),
.edih .offer-band .button:not(.primary),
.edih .steps-strip .button:not(.primary),
.edih .intro-section .button:not(.primary),
.edih .home-study .button:not(.primary),
.edih .offers-reports .button:not(.primary),
.edih .courses-assistants .button:not(.primary),
.edih .erasmus-results .button:not(.primary),
.edih .section:has(.timeline) .button:not(.primary),
.edih .team .button:not(.primary) { border-color: var(--cc-white); color: var(--cc-white); }
.edih .hero .button:not(.primary):hover,
.edih .offer-band .button:not(.primary):hover,
.edih .steps-strip .button:not(.primary):hover,
.edih .intro-section .button:not(.primary):hover,
.edih .home-study .button:not(.primary):hover,
.edih .offers-reports .button:not(.primary):hover,
.edih .courses-assistants .button:not(.primary):hover,
.edih .erasmus-results .button:not(.primary):hover,
.edih .section:has(.timeline) .button:not(.primary):hover,
.edih .team .button:not(.primary):hover { background: rgba(255, 255, 255, .12); }

.edih .text-link { color: var(--cc-purple-link); font-weight: 700; font-size: 18px; text-decoration: none; }
.edih .text-link:hover { text-decoration: underline; }
/* Auf dunklen Sektionen gelb; in der Preisbox weiss. */
.edih .hero .text-link,
.edih .steps-strip .text-link,
.edih .intro-section .text-link,
.edih .home-study .text-link,
.edih .offers-reports .text-link,
.edih .courses-assistants .text-link,
.edih .erasmus-results .text-link,
.edih .section:has(.timeline) .text-link,
.edih .team .text-link { color: var(--cc-yellow); }
.edih .offer-band .text-link { color: var(--cc-white); }
/* Links im Fliesstext dunkler Flächen: gelb (Purple auf Casal hätte nur etwa 1,9:1). */
.edih :is(.hero, .steps-strip, .intro-section, .home-study, .offers-reports, .courses-assistants, .section:has(.timeline), .team, .offer-band) :is(p, li, small) a:not(.button) { color: var(--cc-yellow); }

.edih .actions { gap: 24px; }

/* ---------- Hero ---------- */

.edih .hero {
  max-width: none; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  background: var(--cc-casal) url('/images/hero-verlauf.webp') center / cover no-repeat;
  color: var(--cc-white);
}
@media (min-width: 1024px) {
  .edih .hero {
    grid-template-columns: minmax(0, 661px) minmax(0, 1fr);
    padding: calc(var(--cc-section-y) + 40px) 0 calc(var(--cc-section-y) + 40px) var(--cc-gutter);
  }
  .edih .hero-figure, .edih .hero-figure:has(img[src$=".svg"]) { height: 521px; }
}

.edih .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.edih .hero-copy > * { margin: 0; }
.edih .hero-copy .actions { margin-top: 44px; } /* 20px Raster + 44px = 64px vor den Aktionen */
.edih .hero .eyebrow { color: var(--cc-white); } /* voll weiss: der Verlauf hat helle Stellen */
.edih .hero h1 { font-size: 56px; line-height: 1.25; color: var(--cc-white); }
.edih .hero .lead { font-size: 24px; line-height: 1.25; color: var(--cc-white); max-width: 521px; }

.edih .claims { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.edih .claims span {
  background: rgba(255, 255, 255, .85); color: var(--cc-casal);
  border-radius: var(--cc-radius-btn); padding: 12px 20px;
  font-family: var(--cc-font-body); font-size: 16px; font-weight: 700; line-height: 1.2;
}

.edih .hero-figure {
  margin: 0; min-width: 0; align-self: center;
  border-radius: var(--cc-radius-card) 0 0 var(--cc-radius-card);
  overflow: hidden;
}
.edih .hero-figure img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
/* SVG-Illustrationen sitzen auf heller Fläche und werden eingepasst. */
.edih .hero-figure:has(img[src$=".svg"]) { background: var(--cc-page); }
.edih .hero-figure:has(img[src$=".svg"]) img { object-fit: contain; padding: 40px; box-sizing: border-box; }

/* ---------- Sektionen ---------- */

.edih .section {
  max-width: none; margin: 0;
  padding: var(--cc-section-y) max(var(--cc-gutter), calc((100% - var(--cc-content)) / 2));
}

.edih .section-heading h2 { font-size: 40px; max-width: 18ch; margin: 0; }
.edih .section-heading p {
  color: var(--cc-casal); font-size: 20px; line-height: 1.4;
  max-width: 45ch; padding-top: 0; margin: 0;
}

/* Dunkle Sektionen: Casal-Fläche, weisser Text, gedämpfter Eyebrow. */
.edih .intro-section, .edih .home-study, .edih .offers-reports,
.edih .courses-assistants, .edih .erasmus-results, .edih .section:has(.timeline) {
  background: var(--cc-casal); color: var(--cc-white);
  box-shadow: none; clip-path: none; border: 0;
}
.edih .intro-section :is(h1, h2, h3), .edih .home-study :is(h1, h2, h3),
.edih .offers-reports :is(h1, h2, h3), .edih .courses-assistants :is(h1, h2, h3),
.edih .erasmus-results :is(h1, h2, h3), .edih .section:has(.timeline) :is(h1, h2, h3) { color: var(--cc-white); }
.edih .intro-section .eyebrow, .edih .home-study .eyebrow, .edih .offers-reports .eyebrow,
.edih .courses-assistants .eyebrow, .edih .erasmus-results .eyebrow, .edih .section:has(.timeline) .eyebrow,
.edih .intro-section .section-heading p, .edih .home-study .section-heading p,
.edih .offers-reports .section-heading p, .edih .courses-assistants .section-heading p,
.edih .erasmus-results .section-heading p, .edih .section:has(.timeline) .section-heading p { color: var(--cc-muted-on-dark); }

/* ---------- Karten ---------- */

.edih .content-card {
  background: var(--cc-white); border: 0; box-shadow: none;
  border-radius: var(--cc-radius-card); padding: 32px; min-width: 0;
}
.edih .content-card h3 { margin: 20px 0 12px; }
.edih .content-card p { color: var(--cc-casal); font-size: 20px; line-height: 1.4; margin: 0; }

/* Karten auf dunklen Sektionen: Weiss mit 92 %, Casal-Text. */
.edih .intro-section .content-card, .edih .offers-reports .content-card {
  background: rgba(255, 255, 255, .92); color: var(--cc-casal);
  border-radius: var(--cc-radius-card-sm); padding: 40px;
}
.edih .intro-section .content-card :is(h3, p),
.edih .offers-reports .content-card :is(h3, p) { color: var(--cc-casal); }

/* Schritt-Nummern und -Tags: gelbe Kreise. */
.edih .step-tag, .edih .step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cc-yellow); color: var(--cc-casal);
  border: 0; opacity: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cc-font-body); font-weight: 700; font-size: 18px; line-height: 1;
}
.edih .step-tag { margin-bottom: 4px; }

/* ---------- Schrittleiste ---------- */

.edih .steps-strip {
  max-width: none; margin: 0; box-sizing: border-box;
  padding: 40px max(var(--cc-gutter), calc((100% - var(--cc-content)) / 2));
  background: var(--cc-casal); color: var(--cc-white);
}
.edih .steps-strip .eyebrow { color: var(--cc-muted-on-dark); margin-bottom: 0; }
.edih .steps-strip ol {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
}
.edih .steps-strip li { display: flex; gap: 16px; align-items: flex-start; border-top: 0; padding-top: 0; }
.edih .steps-strip li strong { color: var(--cc-white); font-size: 20px; font-weight: 700; }
.edih .steps-strip li p { color: var(--cc-muted-on-dark); font-size: 16px; margin: 4px 0 0; }
.edih .steps-note { color: var(--cc-muted-on-dark); font-size: 16px; margin: 24px 0 0; }

/* ---------- Ereigniskarten (Aktuelles, Kurse, Start) ---------- */

.edih .news-card, .edih .course-tile, .edih .upcoming-card, .edih .video-card {
  background: var(--cc-white); border: 0; box-shadow: none;
  border-radius: var(--cc-radius-card); padding: 8px; overflow: hidden; min-width: 0;
}
.edih .news-card img, .edih .course-tile img, .edih .upcoming-card img, .edih .video-card img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 0; border-radius: var(--cc-radius-inner); background: var(--cc-light);
}
.edih .news-card-body, .edih .course-tile-body, .edih .upcoming-body, .edih .video-card-body { padding: 20px; }
.edih .news-card h2, .edih .course-tile h3 {
  font-family: var(--cc-font-body); font-weight: 600; font-size: 24px; line-height: 1.2;
  color: var(--cc-casal); margin: 12px 0 8px;
}
.edih .news-card-body > p:last-child, .edih .course-tile-body > p:not(.news-meta),
.edih .upcoming-body > p:not(.course-audience), .edih .video-card p:not(.news-meta) {
  color: var(--cc-casal); font-size: 16px; line-height: 1.4; margin: 0 0 16px;
}
.edih .news-card-link, .edih .video-card a { color: var(--cc-casal); text-decoration: none; }
.edih .news-card-link:hover h2 { color: var(--cc-purple-link); }
.edih .video-card a:hover h3 { color: var(--cc-purple-link); }
.edih .course-tile .text-link, .edih .video-card .text-link { margin-top: auto; font-size: 18px; }

/* Meta-Zeile als gelbes Label. */
.edih .news-meta {
  display: inline-flex; flex-wrap: wrap; gap: 4px 12px;
  background: var(--cc-yellow); color: var(--cc-casal);
  border-radius: var(--cc-radius-btn); padding: 6px 14px;
  font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0;
}
.edih .news-meta span:first-child { color: var(--cc-casal); font-weight: 700; }
.edih .news-archive { border: 0; background: transparent; padding: 0; border-radius: 0; font-weight: 700; }

.edih .news-feature .news-card-link { flex-direction: row; align-items: stretch; }
.edih .news-feature img { width: 50%; aspect-ratio: auto; min-height: 280px; height: 100%; flex: none; }
.edih .news-feature .news-card-body { padding: 40px; align-self: center; }
.edih .news-feature h2 { font-size: 32px; }

.edih .home-course {
  background: var(--cc-white); border-radius: var(--cc-radius-card); padding: 8px;
  display: flex; flex-direction: column; color: var(--cc-casal); text-decoration: none; min-width: 0;
}
.edih .home-course img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 0; border-radius: var(--cc-radius-inner); background: var(--cc-light);
}
.edih .home-course strong {
  padding: 20px;
  font-family: var(--cc-font-body); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--cc-casal);
}
.edih .home-course:hover strong { color: var(--cc-purple-link); }

/* ---------- Preisband (Start- und Workshopseite) ---------- */

.edih .offer-band {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
  width: auto;
  background: var(--cc-casal-card); color: var(--cc-white);
  border-radius: var(--cc-radius-quote); padding: 40px 50px;
  max-width: var(--cc-content);
  margin: var(--cc-section-y) max(var(--cc-gutter), calc((100% - var(--cc-content)) / 2));
}
@media (min-width: 1101px) {
  .edih .offer-band { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
.edih .offer-band h2 { color: var(--cc-white); font-size: 40px; max-width: 18ch; margin: 0 0 20px; }
.edih .offer-band .eyebrow { color: var(--cc-muted-on-dark); }
.edih .offer-copy { color: var(--cc-white); min-width: 0; }
.edih .offer-copy > p:not(.eyebrow):not(.offer-note) {
  color: var(--cc-white); font-size: 20px; line-height: 1.4; max-width: 46ch; margin: 0;
}
.edih .offer-copy .actions { margin-top: 32px; }
.edih .offer-note { color: var(--cc-muted-on-dark); font-size: 16px; margin: 20px 0 0; max-width: 52ch; }

/* Faktenliste als eine weisse Karte mit gestapelten Zeilen. */
.edih .offer-facts {
  margin: 0; padding: 0; overflow: hidden;
  background: var(--cc-white); color: var(--cc-casal); border-radius: 8px;
}
.edih .offer-facts > div {
  display: grid; grid-template-columns: 9rem 1fr; gap: 4px 16px;
  padding: 16px 20px; border-top: 1px solid #E7E8E3; align-items: baseline;
}
.edih .offer-facts > div:first-child { border-top: 0; border-radius: 8px 8px 0 0; }
.edih .offer-facts > div:last-child { border-radius: 0 0 8px 8px; }
.edih .offer-facts dt { font-size: 16px; font-weight: 600; color: var(--cc-casal-500); }
.edih .offer-facts dd { margin: 0; font-size: 20px; color: var(--cc-casal); }
.edih .offer-facts .offer-total dd {
  font-family: var(--cc-font-head); font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--cc-casal);
}
.edih .offer-facts .offer-total small { grid-column: 2; font-size: 15px; color: var(--cc-casal-500); }

/* ---------- Angebotskarten (/angebote) ---------- */

.edih .offer-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--cc-casal-card); color: var(--cc-white);
  border: 0; box-shadow: none;
  border-radius: var(--cc-radius-card-sm); padding: 20px 20px 40px;
}
.edih .offer-kicker {
  margin: 0 0 8px;
  font-family: var(--cc-font-head); font-weight: 500; font-size: 20px; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--cc-muted-on-dark);
}
.edih .offer-card h2 { font-size: 24px; line-height: 1.2; color: var(--cc-white); margin: 0 0 12px; }
.edih .offer-card > p:not(.offer-kicker) {
  color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.4; margin: 0 0 12px;
}
.edih .offer-card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.edih .offer-card li {
  position: relative; padding-left: 28px; margin-bottom: 8px;
  color: rgba(255, 255, 255, .92); font-size: 16px; line-height: 1.4;
}
.edih .offer-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--cc-yellow); font-weight: 700;
}
.edih .offer-price {
  margin: auto 0 20px; padding: 20px 16px;
  background: var(--cc-white); color: var(--cc-casal); border-radius: 8px;
}
.edih .offer-price > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-top: 1px solid #E7E8E3;
}
.edih .offer-price > div:first-child { border-top: 0; padding-top: 0; }
.edih .offer-price > div:last-child { padding-bottom: 0; }
.edih .offer-price dt, .edih .offer-price dd { margin: 0; font-size: 16px; color: var(--cc-casal); }
.edih .offer-own dt { font-weight: 700; }
.edih .offer-own dt small { display: block; font-weight: 400; font-size: 15px; color: var(--cc-casal-500); }
.edih .offer-own dd {
  font-family: var(--cc-font-head); font-weight: 600; font-size: 28px;
  color: var(--cc-casal); white-space: nowrap;
}

.edih .offers-limit { color: var(--cc-casal); font-size: 16px; margin: 24px 0 0; max-width: 62rem; }
.edih .offers-steps li { border-top: 2px solid var(--cc-casal-100); padding-top: 12px; }
.edih .offers-steps li::before { color: var(--cc-casal); font-size: 16px; }
.edih .offers-steps strong { color: var(--cc-casal); }
.edih .offers-steps p { color: var(--cc-casal); font-size: 16px; }

/* ---------- Workshop-Fakten und Timeline ---------- */

.edih .workshop-facts {
  max-width: none; margin: 0; border: 0; background: transparent;
  padding: 0 max(var(--cc-gutter), calc((100% - var(--cc-content)) / 2));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.edih .workshop-facts > div {
  background: var(--cc-white); border: 0; border-radius: var(--cc-radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.edih .workshop-facts span {
  font-family: var(--cc-font-head); font-weight: 500; font-size: 16px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--cc-casal-500);
}
.edih .workshop-facts strong {
  font-family: var(--cc-font-head); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--cc-casal);
}
.edih .workshop-facts small { font-size: 16px; color: var(--cc-casal-500); line-height: 1.4; }

.edih .timeline { border-top: 1px solid rgba(255, 255, 255, .25); }
.edih .timeline article {
  display: flex; gap: 2rem; align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, .25); padding: 1.6rem 0;
}
.edih .timeline p { color: var(--cc-white); font-size: 20px; line-height: 1.4; margin: .35rem 0; max-width: 75ch; }

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

.edih .team { background: linear-gradient(110deg, var(--cc-team-from), var(--cc-team-to)); color: var(--cc-white); }
.edih .team .eyebrow { color: var(--cc-muted-on-dark); }
.edih .team h2 { color: var(--cc-white); }
.edih .team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.edih .team-card {
  background: transparent; border: 0; padding: 0; box-shadow: none;
  display: flex; flex-direction: column; gap: 20px;
}
.edih .team-photo {
  width: 100%; height: auto; aspect-ratio: 317 / 371; object-fit: cover;
  border: 0; border-radius: var(--cc-radius-photo);
}
.edih .team-card h3 { color: var(--cc-white); margin: 0; }
.edih .team-card p { color: rgba(255, 255, 255, .85); font-size: 20px; line-height: 1.4; margin: 8px 0 0; }
.edih .team-card .actions { margin-top: 16px; }

/* ---------- KI-Assistenten ---------- */

.edih .assistant-item {
  background: rgba(255, 255, 255, .92); color: var(--cc-casal);
  border: 0; border-radius: var(--cc-radius-card-sm); padding: 24px; min-width: 0;
}
.edih .assistant-item h3 { color: var(--cc-casal); font-size: 20px; margin: 0 0 6px; }
.edih .assistant-item p { color: var(--cc-casal); font-size: 16px; line-height: 1.4; margin: 0; }
.edih .assistant-claim { color: var(--cc-muted-on-dark); font-size: 16px; margin-top: 24px; }

/* ---------- EDIH-Kontext ---------- */

.edih .edih-context { background: transparent; border: 0; box-shadow: none; clip-path: none; }
.edih .edih-copy > p:not(.eyebrow) { color: var(--cc-casal); }
.edih .edih-logos {
  background: var(--cc-white); border-radius: var(--cc-radius-card); padding: 32px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.edih .edih-logos .edih-network { max-width: 340px; }
.edih .edih-logos .edih-eu { max-width: 420px; }
.edih .edih-funding-note { color: var(--cc-casal); font-size: 16px; margin-top: 16px; }
.edih .edih-funding-note strong { color: var(--cc-casal); }

/* ---------- Erasmus+ ---------- */

.edih .erasmus-facts { border-top: 1px solid rgba(31, 84, 102, .15); }
.edih .erasmus-facts dt { color: var(--cc-casal-500); font-size: 16px; }
.edih .erasmus-facts dd { font-family: var(--cc-font-head); font-weight: 600; font-size: 20px; color: var(--cc-casal); }
.edih .erasmus-card {
  background: var(--cc-white); border: 0; box-shadow: none;
  border-radius: var(--cc-radius-card); padding: 8px;
}
.edih .erasmus-card-image {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 0; border-radius: var(--cc-radius-inner); background: var(--cc-light); margin: 0;
}
.edih .erasmus-card h3 { font-size: 24px; color: var(--cc-casal); margin: 16px 12px 8px; }
.edih .erasmus-card p { color: var(--cc-casal); font-size: 16px; line-height: 1.4; margin: 0 12px 8px; }
.edih .erasmus-card .erasmus-list { margin: 0 12px 8px; padding-left: 18px; font-size: 16px; }
.edih .erasmus-card .erasmus-list a { color: var(--cc-purple-link); }
.edih .erasmus-card .actions {
  margin: 12px; padding-top: 8px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.edih .erasmus-logos { background: transparent; }
.edih .erasmus-slide img, .edih .erasmus-shots img { border: 0; border-radius: var(--cc-radius-photo); background: var(--cc-light); }
.edih .erasmus-slide figcaption, .edih .erasmus-shots figcaption { color: var(--cc-casal); font-size: 15px; }
.edih .erasmus-partner {
  background: var(--cc-white); border: 0; box-shadow: none;
  border-radius: var(--cc-radius-card); padding: 32px;
}
.edih .erasmus-partner h3 a { color: var(--cc-casal); }
.edih .erasmus-partner h3 a:hover { color: var(--cc-purple-link); }
.edih .erasmus-partner-country { color: var(--cc-casal-500); font-size: 16px; }
.edih .erasmus-funding-box {
  background: var(--cc-white); border: 0; border-radius: var(--cc-radius-card); padding: 32px;
  display: flex; gap: 32px; align-items: flex-start;
}
.edih .erasmus-funding-box img { flex: 0 0 auto; width: 240px; height: auto; }
.edih .erasmus-funding-box p { color: var(--cc-casal); font-size: 16px; line-height: 1.4; margin: 0 0 8px; max-width: 70ch; }
.edih .erasmus-slider-controls button {
  min-width: 44px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--cc-casal); border-radius: var(--cc-radius-btn);
  background: transparent; color: var(--cc-casal);
  font-family: var(--cc-font-body); font-weight: 700; font-size: 16px; line-height: 1.2;
}
.edih .erasmus-slider-controls button:hover { border-color: var(--cc-purple-btn); color: var(--cc-purple-link); }
.edih .erasmus-slider-status { color: var(--cc-casal-500); font-size: 15px; }
.edih .compass-funding { color: var(--cc-casal); font-size: 16px; }
.edih .compass-funding a { color: var(--cc-purple-link); }
.edih .compass-study-copy p:not(.eyebrow) { color: var(--cc-casal); }
.edih .compass-study img, .edih .home-study img { border: 0; border-radius: var(--cc-radius-card); }
.edih .home-study p:not(.eyebrow) { color: var(--cc-white); font-size: 20px; }

/* ---------- Rechtliches, Lesen, Seitenkopf ---------- */

.edih .page-shell {
  max-width: none; margin: 0; min-height: 0; background: transparent;
  padding: var(--cc-section-y) max(var(--cc-gutter), calc((100% - var(--cc-content)) / 2));
}
.edih .offers-head, .edih .news-head, .edih .erasmus-head { padding-bottom: 0; }
.edih .page-heading { max-width: 860px; margin-bottom: 40px; }
.edih .page-heading h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.edih .page-heading p { color: var(--cc-casal); font-size: 20px; line-height: 1.4; max-width: 70ch; margin: 0; }
.edih .page-heading .eyebrow { color: var(--cc-casal); }

.edih .reading-section { max-width: 860px; }
.edih section.reading-section { max-width: none; }
.edih section.reading-section > *, .edih section.legal-text > * { max-width: 860px; }
.edih .reading-section p:not(.eyebrow) {
  color: var(--cc-casal); font-size: 20px; line-height: 1.4; margin-bottom: 1.5rem;
}
.edih .legal-text h2 {
  font-family: var(--cc-font-body); font-weight: 600; font-size: 24px;
  color: var(--cc-casal); margin: 32px 0 12px;
}
.edih .lang-notice { border-color: var(--cc-casal-100); color: var(--cc-casal); }
.edih .lang-note { color: var(--cc-casal); }

/* Beitragsseiten (/aktuelles/…) */
.edih .news-article { max-width: calc(860px + 48px); }
.edih .news-article h1 { font-size: 48px; line-height: 1.2; }
.edih .news-article-body h2 { font-size: 24px; margin: 32px 0 8px; }
.edih .news-article-body p, .edih .news-article-figure figcaption { color: var(--cc-casal); }
.edih .news-back a, .edih .news-links a { color: var(--cc-purple-link); }
.edih .news-note { color: var(--cc-casal); border-top-color: var(--cc-casal-100); }
.edih .news-article-figure img { border: 0; border-radius: var(--cc-radius-photo); background: var(--cc-light); }
.edih .news-more h2 { font-size: 24px; }
.edih .course-units summary { color: var(--cc-purple-link); }
.edih .course-audience { color: var(--cc-casal); }

/* ---------- Fuss ---------- */

.edih .site-footer.edih-footer {
  display: block; max-width: none;
  background: var(--cc-casal); color: var(--cc-white);
  border-top: 0; padding: 80px var(--cc-gutter) 40px; font-size: 16px;
}
.edih .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.edih .site-footer p { color: rgba(255, 255, 255, .85); font-size: 16px; margin: 0 0 12px; }
.edih .site-footer a { color: var(--cc-white); }
.edih .site-footer a:hover { color: var(--cc-white); text-decoration: underline; }
.edih .site-footer nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.edih .footer-name { display: inline-block; margin-bottom: 12px; text-decoration: none; }
.edih .footer-name img { display: block; width: 270px; height: auto; }
.edih .footer-title {
  font-family: var(--cc-font-head) !important; font-weight: 500 !important; font-size: 16px !important;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--cc-muted-on-dark) !important; margin-bottom: 14px !important;
}
.edih .footer-claims { color: var(--cc-muted-on-dark) !important; font-size: 16px !important; }

/* EU-Disclaimer als helles Band über die volle Breite. */
.edih .funding {
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center;
  margin: 48px calc(var(--cc-gutter) * -1) 0; padding: 40px var(--cc-gutter);
  background: var(--cc-light); color: var(--cc-casal); border-top: 0;
}
.edih .funding img { height: 44px; width: auto; }
.edih .funding .funding-network { height: 36px; }
.edih .funding p { flex: 1 1 320px; font-size: 16px; color: var(--cc-casal); margin: 0; max-width: 70ch; }

.edih .footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 15px; color: var(--cc-muted-on-dark);
}
.edih .coordinator { display: inline-flex; gap: 10px; align-items: center; }
.edih .coordinator img { height: 16px; width: auto; filter: brightness(0) invert(1); }

/* ---------- Nachbesserungen nach der Sichtprüfung (Claude, 20.11.2026) ---------- */

/* Zwei dunkle Abschnitte nacheinander: feine Linie wie im Figma zwischen Studie, Fakten und Whitepaper. */
.edih .steps-strip + .intro-section { border-top: 1px solid rgba(255, 255, 255, .18); }

/* Teamkarten so schmal wie im Original (317 px), auch wenn nur zwei Personen im Team sind. */
.edih .team-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 317px)); gap: 20px; }

/* Links im Fuss: 16 px, ohne Unterstrich, Unterstrich beim Darüberfahren. */
.edih .site-footer nav a { font-size: 16px; text-decoration: none; }
.edih .site-footer nav a:hover { text-decoration: underline; }

/* Hero der Startseite: Tablet mit dem App-Screen aus Figma (2-fach gerendert), ganz sichtbar auf passender Fläche. */
.edih .hero-figure:has(img[src*="cockpit-tablet"]) { background: rgb(212, 222, 227); }
.edih .hero-figure img[src*="cockpit-tablet"] { object-fit: contain; object-position: left center; }

/* Nummern in den gelben Kreisen in der Überschriftenschrift, wie die Zahlen im Figma («500 KMUs»). */
.edih .step-tag, .edih .step-number { font-family: var(--cc-font-head); font-weight: 600; font-variant-numeric: lining-nums proportional-nums; }

/* Workshop-Fakten: Abstand zum Hero. */
.edih .workshop-facts { padding-top: 40px; }

/* ---------- Mobile (≤ 1023 px) ---------- */

@media (max-width: 1023px) {
  body.edih { font-size: 17px; line-height: 1.45; }

  .edih .site-header { min-height: 64px; gap: 16px; }
  .edih .brand img { width: 190px; }
  .edih .header-cta { min-height: 44px; padding: 10px 18px; }

  .edih h1, .edih .hero h1 { font-size: 36px; line-height: 1.2; }
  .edih .page-heading h1 { font-size: 32px; line-height: 1.2; }
  .edih h2, .edih .section-heading h2, .edih .offer-band h2 { font-size: 28px; line-height: 1.2; }
  .edih h3 { font-size: 20px; }
  .edih .eyebrow, .edih .small-label { font-size: 16px; }
  .edih .lead, .edih .hero .lead { font-size: 18px; }
  .edih .button { min-height: 56px; padding: 16px 24px; font-size: 16px; }
  .edih .text-link { font-size: 16px; }

  .edih .hero { grid-template-columns: 1fr; padding: 64px 20px; gap: 32px; }
  .edih .hero-figure, .edih .hero-figure:has(img[src$=".svg"]) {
    height: auto; max-height: 360px; border-radius: var(--cc-radius-card);
  }
  .edih .hero-figure img { height: auto; max-height: 360px; }
  .edih .hero-figure:has(img[src$=".svg"]) img { padding: 24px; }
  .edih .hero-copy .actions { margin-top: 24px; }
  .edih .hero-figure { order: -1; } /* Telefon: Bild oben wie im Figma (400 px) */

  .edih .section-heading, .edih .card-grid.three, .edih .card-grid.two, .edih .offers-grid,
  .edih .team-grid, .edih .footer-grid, .edih .steps-strip ol, .edih .workshop-facts,
  .edih .offer-band, .edih .home-study, .edih .compass-study, .edih .erasmus-grid,
  .edih .erasmus-facts { grid-template-columns: 1fr; }

  .edih .offer-band { padding: 32px 24px; gap: 32px; }
  .edih .offer-facts > div { grid-template-columns: 1fr; }
  .edih .offer-facts .offer-total small { grid-column: auto; }

  .edih .news-feature .news-card-link { flex-direction: column; }
  .edih .news-feature img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .edih .news-feature .news-card-body { padding: 20px; }

  .edih .site-footer.edih-footer { padding: 64px 20px 32px; }
  .edih .funding { margin: 32px -20px 0; padding: 32px 20px; }
  .edih .footer-name img { width: 220px; }
}

/* Telefon: Kopf in einer Zeile mit Wortmarke, DE/EN und Menü. */
@media (max-width: 480px) {
  .edih .site-header { gap: 8px; }
  .edih .brand img { width: 150px; }
}
/* Sehr schmal: nur das Bildzeichen der Wortmarke. Der Link behält sein aria-label. */
@media (max-width: 360px) {
  .edih .brand img { width: 36px; height: 34px; object-fit: cover; object-position: left center; }
}

/* Kursseite: kurzer Satz unter den Knöpfen «Konto anlegen» und «Anmelden» (r6). */
.edih .hero .hero-note { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 521px; margin-top: -4px; }
.edih .footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.edih .footer-bottom a:hover { color: var(--cc-white); }

/* ---------- Häufige Fragen und EDIH-Seite (SEO/AEO, 20.11.2026) ---------- */

.edih .faq-section { background: var(--cc-white); }
.edih .faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; max-width: var(--cc-content); }
.edih .faq-item { border-top: 1px solid var(--cc-casal-100); padding-top: 20px; }
.edih .faq-question { color: var(--cc-casal); font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.edih .faq-answer { color: var(--cc-casal); font-size: 18px; line-height: 1.45; margin: 0; }
.edih .edih-links { padding-top: 0; }
.edih .edih-link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 860px; }
.edih .edih-link-list a { font-size: 20px; line-height: 1.4; }
.edih .edih-context-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
@media (max-width: 1023px) {
  .edih .faq-list { grid-template-columns: 1fr; }
  .edih .faq-question { font-size: 20px; }
  .edih .faq-answer, .edih .edih-link-list a { font-size: 17px; }
}
