    /* Header */
    #header.header { background-color: #2D5A88 !important; }
    #header .navbar a, #header .navbar a:focus { color: #fff !important; }
    #header .navbar a:hover, #header .navbar .active, #header .navbar li:hover > a { color: #F2EDDF !important; }
    #header .navbar .dropdown ul { background: #2D5A88; }
    #header .navbar .dropdown ul a { color: #fff !important; }
    #header .mobile-nav-toggle { color: #fff; }
    /* Hero */
    #hero { border-top: 5px solid #4178A6; }
    /* Mobile/Tablet-randlos-Fix fürs Hero-Bild ist projektweit in
       assets/css/common.css (gilt für alle Seiten mit diesem Hero-Muster). */
    /* Intro: section transparent, card gets the sand */
    section#intro { background: #4178A6; padding: 0; }
    section#intro .intro-item {
      background: #F2EDDF;
      padding: 40px;
      border-radius: 4px;
    }
    
    section#intro .intro-item h1 {
      color: #4178A6;
      font-family: 'Roboto Flex', sans-serif;
      font-size: 1.75rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 1rem;
    }
    section#intro .intro-item p {
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.7;
      margin-bottom: 0.75rem;
    }
    section#intro .intro-item .intro-lead {
      font-size: 1.1rem;
      font-weight: 500;
      color: #4178A6;
      line-height: 1.65;
      margin-bottom: 1rem;
    }
    section#intro .intro-item ul {
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.7;
      margin-bottom: 0.75rem;
      padding-left: 1.25rem;
    }
    section#intro .intro-item li {
      margin-bottom: 0.25rem;
    }
    section#intro .intro-item strong {
      font-weight: 600;
      color: #2D5A88;
    }
    section#intro .intro-item h2 {
      color: #4178A6;
      text-align: left;
    }

    /* Accents */
    :root { --color-primary: #4178A6; }
    #main h1 { color: #4178A6; }
    #main h2 { color: #4178A6; }
    /* Footer */
    #footersection { background-color: #2D5A88 !important; }
    #footersection h4, #footersection p, #footersection .credits { color: #fff !important; }
    #footersection a { color: #fff !important; }
    #footersection a:hover { color: #F2EDDF !important; }
    .scroll-top { background: #4178A6; }

    /* ── Content section backgrounds ── */
    .module, .daten, .preis, .faq, .kursraum, .einzugsgebiet { padding: 0; }

    /* ── Shared item base (matches .service-item pattern) ── */
    .modul-item, .daten-item, .preis-item, .faq-item, .kursraum-item, .einzugsgebiet-item {
      padding: 40px;
      background: #F2EDDF;
      border-radius: 4px;
      box-shadow: 0 0.1rem 0.3rem 0.2rem rgba(10,10,10,0.10);
      font-size: 17px;
      font-weight: 300;
      line-height: 26px;
    }

    /* Section spacing: hero colour fills between items */
    .module  { background-color: #4178A6; padding: 40px 0; }
    .daten   { background-color: #4178A6; padding: 40px 0; }
    .preis   { background-color: #4178A6; padding: 40px 0; }
    .kursraum       { background-color: #4178A6; padding: 40px 0; }
    .einzugsgebiet  { background-color: #4178A6; padding: 40px 0; }
    .faq     { background-color: #4178A6; padding: 40px 0 60px; }

    /* Headings inside items */
    .modul-item h2, .daten-item h2, .preis-item h2, .faq-item h2, .kursraum-item h2, .einzugsgebiet-item h2 {
      color: #4178A6;
      font-weight: 700;
      margin: 0 0 24px 0;
      padding-bottom: 10px;
      font-size: 28px;
      border-bottom: 3px solid #4178A6;
      display: block;
    }

    /* Kursraum: Bild-Galerie rechtsbündig, Text fliesst links vorbei */
    .kursraum-item::after, .einzugsgebiet-item::after {
      content: "";
      display: table;
      clear: both;
    }
    .kursraum-gallery {
      float: right;
      width: 200px;
      max-width: 100%;
      margin: 0 0 80px 100px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .kursraum-thumb {
      width: 100%;
      border-radius: 4px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.20);
      transition: box-shadow 0.2s ease, transform 0.2s ease;
      cursor: pointer;
    }
    .kursraum-thumb:hover {
      box-shadow: 0 8px 24px rgba(0,0,0,0.30);
      transform: translateY(-2px);
    }

    /* Einzugsgebiet: Karte rechtsbündig, gleiche Breite wie die Kursraum-Bilder */
    .einzugsgebiet-map-wrap {
      float: right;
      width: 300px;
      max-width: 100%;
      margin: 0 0 20px 24px;
    }
    .einzugsgebiet-map-wrap iframe {
      width: 100%;
      height: 220px;
      border: 0;
      border-radius: 4px;
      display: block;
      box-shadow: 0 4px 12px rgba(0,0,0,0.20);
    }
    @media (max-width: 576px) {
      .kursraum-gallery, .einzugsgebiet-map-wrap { float: none; margin: 0 auto 20px; }
    }
    .daten-item h3, .preis-item h3 {
      color: #4178A6;
      font-size: 20px;
      font-weight: 600;
      margin-top: 28px;
      margin-bottom: 8px;
    }

    /* Module cards inside modul-item */
    /* Flip-Container */
    .modul-card {
      flex: 1;
      width: 100%;
      min-height: 940px;
      border-radius: 4px;
      perspective: 1000px;
      cursor: pointer;
      background: transparent;
      box-shadow: none;
    }
    .modul-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
      transform-style: preserve-3d;
    }
    .modul-card.flipped .modul-card-inner {
      transform: rotateY(180deg);
    }
    .modul-card-front,
    .modul-card-back {
      border-radius: 4px;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .modul-card-front {
      height: 100%;
      padding: 28px;
      background: #fff;
      box-shadow: 0 0.1rem 0.2rem rgba(10,10,10,0.12);
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }
    .modul-card-back {
      position: absolute;
      inset: 0;
      padding: 28px;
      background: #4178A6;
      color: #fff;
      transform: rotateY(180deg);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      overflow: hidden;
      box-shadow: 0 0.1rem 0.2rem rgba(10,10,10,0.12);
    }
    .modul-card-back ul,
    .modul-card-back li {
      font-size: inherit !important;
      line-height: inherit !important;
    }
    .modul-card-back h3 {
      font-size: 16px !important;
      font-weight: 700;
      color: #fff !important;
      margin-bottom: 14px;
      border-bottom: 2px solid rgba(255,255,255,0.4);
      padding-bottom: 8px;
      width: 100%;
    }
    .modul-card h3 {
      color: #2D5A88;
      font-weight: 700;
      font-size: 20px;
      margin-bottom: 12px;
    }
    .modul-card h3 small {
      font-size: 14px;
      font-weight: 400;
      color: #888;
    }
    .modul-card .prereq {
      font-size: 13px;
      color: #888;
      margin-top: auto;
      padding-top: 12px;
    }
    .modul-card-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
      padding: 0.35rem 0.9rem;
      font-size: 0.875rem;
      font-weight: 600;
      line-height: 1.5;
      color: #fff;
      background: #4178A6;
      border: 1px solid #4178A6;
      border-radius: 50px;
      align-self: flex-start;
      transition: background 0.2s, border-color 0.2s;
      text-decoration: none;
    }
    #main .modul-card-btn .bi {
      font-size: 1rem;
      color: #fff;
    }
    .modul-card span.modul-card-btn {
      pointer-events: none;
    }
    /* Ohne den (entfernten) prereq-Absatz braucht der Button selbst den
       Auto-Margin, um unten in der Karte "angeklebt" zu bleiben. */
    .modul-card-front .modul-card-btn {
      margin-top: auto;
    }
    a.modul-card-btn:hover,
    section#intro a.modul-card-btn:hover {
      color: #fff !important;
      background: #2DAA88;
      border-color: #2D5A88;
      text-decoration: none;
    }
    .modul-card:hover .modul-card-btn {
      background: #2DAA88;
      border-color: #2D5A88;
    }
    .modul-card.flipped .modul-card-btn {
      display: none;
    }

    /* Tables inside items */
    .daten-item table, .preis-item table {
      background: #fff;
    }

    /* FAQ accordion inside faq-item */
    .faq-item .accordion-button:not(.collapsed),
    .daten-item .accordion-button:not(.collapsed) {
      background-color: #d4e6f4;
      color: #2D5A88;
    }
    .faq-item .accordion-button:focus,
    .daten-item .accordion-button:focus {
      box-shadow: 0 0 0 0.2rem rgba(65,120,166,0.25);
    }

    /* Accordion h2: no section-heading border */
    .faq-item .accordion-item h2.accordion-header,
    .daten-item .accordion-item h2.accordion-header {
      border-bottom: none;
      margin: 0;
      padding-bottom: 0;
    }
    /* Accordion button text: weight 500 (text lives on the button, not the h2) */
    .faq-item .accordion-button,
    .daten-item .accordion-button {
      font-weight: 600;
      font-size: 0.7em;
    }
    /* Accordion body: slightly lighter than header highlight (#d4e6f4) */
    .faq-item .accordion-body,
    .daten-item .accordion-body {
      background-color: #f2f8ff;
    }
    /* Strong inside accordion body: color + weight for clear contrast on light-weight base font */
    .faq-item .accordion-body strong,
    .daten-item .accordion-body strong {
      color: #1D4A78;
      font-weight: 600;
    }


    /* ── Auto-added: inline-style cleanup ── */
    /* Intro section headings */
    section#intro h1 { color: #4178A6; }
    section#intro h2 { color: #4178A6; }
    /* Footer padding (override base .footer padding) */
    #footersection { padding: 40px 0; }
    /* Buttons in main content */
    #main .btn, section.intro .btn, section#intro .btn {
      background: #4178A6; border-color: #4178A6; color: #fff;
    }
    #main .btn:hover, section.intro .btn:hover, section#intro .btn:hover {
      background: #2DAA88; border-color: #2D5A88; color: #fff;
    }
    /* Auffällige "Jetzt anmelden"-CTAs: grösser, runder, mit Icon */
    #main .btn-cta-anmelden {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 34px;
      font-size: 1.15rem;
      font-weight: 700;
      border-radius: 50px;
      background: #DD6644;
      border-color: #DD6644;
      box-shadow: 0 6px 16px rgba(221, 102, 68, 0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    #main .btn-cta-anmelden .bi {
      color: #fff;
      font-size: 1.3rem;
    }
    #main .btn-cta-anmelden:hover {
      background: #c1502f;
      border-color: #c1502f;
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(221, 102, 68, 0.45);
    }
    /* Link hover in main content */
    #main a:not(.btn):hover { color: #4178A6; }
    section#intro a:not(.btn):hover { color: #4178A6; }
    /* Icons in main content */
    #main .bi { color: #4178A6; }
    /* Table headers */
    #main table thead, section.kontakt table thead {
      background: #4178A6; color: #fff;
    }
    /* h3 inside content items */
    #main h3 { color: #2D5A88; }
    section#intro h3 { color: #2D5A88; }

    /* Säulen-Kacheln */
    .saeulen { background-color: #4178A6; padding: 40px 0; }
    .home-feature-card {
      background: #F2EDDF;
      border-radius: 4px;
      border-top: 4px solid #4178A6;
      padding: 28px;
      box-shadow: 0 0.1rem 0.3rem 0.1rem rgba(10,10,10,0.08);
    }
    .home-feature-icon {
      font-size: 2rem;
      color: #4178A6 !important;
      display: block;
      margin-bottom: 0.5em;
    }
    .home-feature-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: #2D5A88 !important;
      margin-bottom: 0.4em;
    }
    .home-feature-lead {
      font-weight: 600;
      font-size: 0.95rem;
      color: #4178A6;
      margin-bottom: 0.6em;
    }
    .home-feature-card p {
      font-size: 0.95rem;
      margin-bottom: 0;
      color: #333;
    }
