/* ==========================================================================
   Dolibarr - Verein zur Foerderung der deutschsprachigen Dolibarr-Community
   Design nach Mock-Up Feedbackschleife Vorstand (31.03.2026)
   Semantisches CSS, keine externen Abhaengigkeiten (kein CDN, keine Webfonts)
   ========================================================================== */

.bodywebsite {
  --primary: #263C5C;      /* Dolibarr Deep Blue */
  --action: #007BFF;       /* Standard Blue */
  --action-dark: #0062cc;
  --support: #7460AA;      /* v23 eldy butactionbg (116,96,170) fuer Verein/Mitglied-CTAs */
  --support-dark: #5e4d8d;
  --accent: #F8F9FA;       /* Hellgrau Sektionen */
  --text: #4B5563;
  --heading: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(17, 24, 39, .07), 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-lg: 0 10px 24px rgba(17, 24, 39, .10);
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.bodywebsite *, .bodywebsite *::before, .bodywebsite *::after { box-sizing: border-box; }

.bodywebsite h1, .bodywebsite h2, .bodywebsite h3, .bodywebsite h4 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  padding: 0;
  font-weight: 700;
}
.bodywebsite h1 { font-size: 2.6rem; letter-spacing: -.02em; color: var(--primary); }
.bodywebsite h2 { font-size: 1.9rem; }
.bodywebsite h3 { font-size: 1.2rem; }
.bodywebsite p { margin: 0 0 1em; }
.bodywebsite a { color: var(--action); text-decoration: none; }
.bodywebsite a:hover { text-decoration: underline; }
.bodywebsite img { max-width: 100%; height: auto; }

.bodywebsite .wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.bodywebsite .wrap--narrow { max-width: 780px; }

/* --- Buttons -------------------------------------------------------------- */
.bodywebsite .btn {
  display: inline-block;
  padding: .7rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.bodywebsite .btn:hover { text-decoration: none; }
.bodywebsite .btn--action { background: var(--action); color: #fff; }
.bodywebsite .btn--action:hover { background: var(--action-dark); color: #fff; }
.bodywebsite .btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.bodywebsite .btn--outline:hover { background: var(--primary); color: #fff; }
.bodywebsite .btn--support { background: var(--support); color: #fff; }
.bodywebsite .btn--support:hover { background: var(--support-dark); color: #fff; }
.bodywebsite .btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.bodywebsite .btn--ghost:hover { background: #fff; color: var(--primary); }

.bodywebsite .textlink { font-weight: 600; }
.bodywebsite .textlink svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: .3rem; }
.bodywebsite .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--action);
  margin-bottom: .8em;
}

/* --- Header --------------------------------------------------------------- */
.bodywebsite .site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bodywebsite .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}
.bodywebsite .brand { display: flex; align-items: center; gap: .8rem; color: var(--primary); }
.bodywebsite .brand:hover { text-decoration: none; opacity: .9; }
.bodywebsite .brand-mark { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.bodywebsite .brand-sub {
  font-size: 1.05rem;
  font-weight: 700;
  border-left: 2px solid var(--border);
  padding-left: .8rem;
}
.bodywebsite .main-nav { display: flex; align-items: center; gap: 1.6rem; }
.bodywebsite .main-nav a { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; }
.bodywebsite .main-nav a:hover { color: var(--action); text-decoration: none; }
.bodywebsite .main-nav a svg { width: 18px; height: 18px; }
.bodywebsite .nav-sep { width: 1px; height: 24px; background: var(--border); }
.bodywebsite .nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .4rem;
  color: var(--primary);
  cursor: pointer;
}
.bodywebsite .nav-toggle svg { width: 26px; height: 26px; }

/* --- Hero ----------------------------------------------------------------- */
.bodywebsite .hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  border-bottom: 1px solid var(--border);
}
.bodywebsite .hero h1 { font-size: 3rem; margin-bottom: .5em; }
.bodywebsite .hero .lead { font-size: 1.2rem; max-width: 640px; margin: 0 auto 2.2rem; }
.bodywebsite .hero .btn { margin: .3rem .4rem; }
.bodywebsite .hero--left { text-align: left; }
.bodywebsite .hero--left .lead { margin-left: 0; }
.bodywebsite .hero .lead--strong { font-weight: 600; color: var(--heading); margin-bottom: .8rem; }

/* --- Hero mit Titelbild --------------------------------------------------- */
.bodywebsite .hero--photo {
  position: relative;
  padding: 7rem 0;
  text-align: left;
  background-color: var(--primary);
  background-size: cover;
  background-position: 32% center;
  background-repeat: no-repeat;
  border-bottom: 0;
}
.bodywebsite .hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 24, 40, .82) 0%, rgba(14, 24, 40, .62) 45%, rgba(14, 24, 40, .28) 100%);
}
.bodywebsite .hero--photo > .wrap { position: relative; }
.bodywebsite .hero--photo h1 { color: #fff; max-width: 16em; }
.bodywebsite .hero--photo .lead { color: rgba(255, 255, 255, .88); margin-left: 0; }
.bodywebsite .hero--photo .btn { margin: .3rem .8rem .3rem 0; }

/* --- Sektionen ------------------------------------------------------------ */
.bodywebsite .section { padding: 5.5rem 0; }
.bodywebsite .section--alt { background: var(--accent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bodywebsite .section--dark { background: var(--primary); color: #fff; }
.bodywebsite .section--dark h2, .bodywebsite .section--dark h3 { color: #fff; }
.bodywebsite .section--dark p { color: rgba(255,255,255,.85); }
.bodywebsite .section-head { text-align: center; max-width: 760px; margin: 0 auto 3.2rem; }
.bodywebsite .section-head p { font-size: 1.05rem; }

/* --- Karten-Raster -------------------------------------------------------- */
.bodywebsite .grid { display: grid; gap: 1.5rem; }
.bodywebsite .cards-flex { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.bodywebsite .cards-flex .card { flex: 0 1 350px; }
.bodywebsite .grid--2 { grid-template-columns: repeat(2, 1fr); }
.bodywebsite .grid--3 { grid-template-columns: repeat(3, 1fr); }
.bodywebsite .grid--4 { grid-template-columns: repeat(4, 1fr); }

.bodywebsite .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.bodywebsite .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.bodywebsite .card h3 { margin-bottom: .5em; }
.bodywebsite .card p:last-child { margin-bottom: 0; }
.bodywebsite .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0, 123, 255, .1);
  color: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.bodywebsite .card-icon svg { width: 24px; height: 24px; }
.bodywebsite .card--link { display: block; color: inherit; }
.bodywebsite .card--link:hover { text-decoration: none; }
.bodywebsite .card--link:hover h3 { color: var(--action); }

.bodywebsite .partner-logo {
  height: 72px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: .25rem 0 1.25rem;
}

/* Basic Partner: kompakte Kachelliste unter den Preferred Partnern */
.bodywebsite .partner-list__title { text-align: center; margin: 3.5rem 0 0; }
.bodywebsite .partner-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;  /* wie .grid: zwei Basic-Kacheln = eine Preferred-Kachel */
}
.bodywebsite .partner-list li { margin: 0; }
.bodywebsite .partner-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  box-sizing: border-box;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color .2s ease;
}
.bodywebsite .partner-list a:hover { text-decoration: none; border-color: var(--action); }
.bodywebsite .partner-list a:hover strong { color: var(--action); }
.bodywebsite .partner-list strong { color: var(--heading); font-weight: 600; }
.bodywebsite .partner-list__logo {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
  border-radius: 6px;
}
.bodywebsite .partner-list__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.bodywebsite .partner-list__text span { font-size: .85rem; color: var(--muted); }

/* Voraussetzungen Partner (aufklappbar) */
.bodywebsite details.partner-req { max-width: 960px; margin: 2.5rem auto 0; }
.bodywebsite .partner-req__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bodywebsite details.partner-req h4 { margin: .4rem 0 .5rem; color: var(--heading); }
.bodywebsite details.partner-req p { margin-bottom: .8rem; }

.bodywebsite .tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--action);
  background: rgba(0, 123, 255, .1);
  border-radius: 999px;
  padding: .25em 1em;
  margin-bottom: 1rem;
}

/* --- Events --------------------------------------------------------------- */
.bodywebsite .events { max-width: 860px; margin: 0 auto; display: grid; gap: 1.25rem; }
.bodywebsite .event {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bodywebsite .event__date {
  background: var(--primary);
  color: #fff;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem .8rem;
  text-align: center;
}
.bodywebsite .event__month { text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.bodywebsite .event__day { font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.bodywebsite .event__year { font-size: .78rem; opacity: .75; }
.bodywebsite .event__body { padding: 1.3rem 1.5rem 1.3rem 0; }
.bodywebsite .event__body h3 { margin-bottom: .35em; }
.bodywebsite .event__body p { margin-bottom: .6em; }
.bodywebsite .event__tag {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .5em;
}
.bodywebsite .event__tag--live { color: var(--support); }
.bodywebsite .events-empty { text-align: center; color: var(--muted); }

/* --- Akkordeon Funktionen ------------------------------------------------- */
.bodywebsite .acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 960px; margin: 0 auto; }
.bodywebsite details.acc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 1.4rem;
  align-self: start;
}
.bodywebsite details.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 0;
  font-weight: 700;
  color: var(--heading);
}
.bodywebsite details.acc summary::-webkit-details-marker { display: none; }
.bodywebsite details.acc summary svg { width: 20px; height: 20px; color: var(--action); flex: none; }
.bodywebsite details.acc summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform .2s ease;
  flex: none;
}
.bodywebsite details.acc[open] summary::after { transform: rotate(-135deg); }
.bodywebsite details.acc .acc-body { padding: 0 0 1.2rem; }
.bodywebsite details.acc ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.bodywebsite details.acc li { margin-bottom: .3rem; }

/* --- Vorstand ------------------------------------------------------------- */
.bodywebsite .person { text-align: center; }
.bodywebsite .person-photo {
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #dbe3ee, #f2f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.1rem;
  overflow: hidden;
}
.bodywebsite .person-photo svg { width: 56px; height: 56px; opacity: .5; }
.bodywebsite .person-photo img { width: 100%; height: 100%; object-fit: cover; }
.bodywebsite .person h3 { margin-bottom: .1em; }
.bodywebsite .person .role { color: var(--action); font-weight: 700; font-size: .88rem; margin-bottom: .6em; }
.bodywebsite .person p:last-child { font-size: .92rem; }

/* --- Footer --------------------------------------------------------------- */
.bodywebsite .site-footer { background: #101827; color: rgba(255,255,255,.75); }
.bodywebsite .site-footer .footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
.bodywebsite .site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1em; }
.bodywebsite .site-footer ul { list-style: none; margin: 0; padding: 0; }
.bodywebsite .site-footer li { margin-bottom: .55rem; }
.bodywebsite .site-footer a { color: rgba(255,255,255,.75); }
.bodywebsite .site-footer a:hover { color: #fff; }
.bodywebsite .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 0;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}
.bodywebsite .footer-bottom a { color: rgba(255,255,255,.75); }

/* --- Rechtstexte ---------------------------------------------------------- */
.bodywebsite .legal h2 { font-size: 1.35rem; margin-top: 2em; }
.bodywebsite .legal h2:first-child { margin-top: 0; }
.bodywebsite .placeholder { background: #FFF7D6; padding: 0 .25em; }

/* --- Beitraege / News ------------------------------------------------------ */
.bodywebsite .post-figure { margin: 0 0 2rem; }
.bodywebsite .post-figure img { display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.bodywebsite .post-back { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.bodywebsite .section .wrap--narrow h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.bodywebsite .section .wrap--narrow h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.bodywebsite .section .wrap--narrow ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.bodywebsite .section .wrap--narrow li { margin-bottom: .4rem; }

.bodywebsite .newslist { display: flex; flex-direction: column; gap: 1.75rem; }
.bodywebsite .newsitem { display: flex; gap: 1.75rem; align-items: flex-start; padding: 0 0 1.75rem; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.bodywebsite .newslist .newsitem:last-child { border-bottom: 0; padding-bottom: 0; }

.bodywebsite .newsitem__thumb { flex: 0 0 220px; width: 220px; height: 140px; border-radius: var(--radius); overflow: hidden; background: var(--accent); border: 1px solid var(--border); }
.bodywebsite .newsitem__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bodywebsite .newsitem__thumb--empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary) 0%, #35527c 100%); border-color: transparent; }
.bodywebsite .newsitem__thumb--empty svg { width: 46px; height: 46px; color: rgba(255, 255, 255, .75); }
.bodywebsite .newsitem:hover .newsitem__thumb { box-shadow: var(--shadow-lg); }

.bodywebsite .newsitem__body { flex: 1; min-width: 0; }
.bodywebsite .newsitem__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: .6rem; }
.bodywebsite .newsitem__date { font-size: 1.05rem; font-weight: 600; color: var(--primary); letter-spacing: -.01em; }
.bodywebsite .newsitem__body h3 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 .5rem; color: var(--heading); }
.bodywebsite .newsitem:hover h3 { color: var(--action); }
.bodywebsite .newsitem__body p { margin: 0 0 1rem; }
.bodywebsite .newsitem__more { display: block; }

/* --- Weitere Informationen (unter dem Funktions-Akkordeon) ---------------- */
.bodywebsite .more-info { text-align: center; margin: 2.5rem auto 0; max-width: 760px; }
.bodywebsite .more-info__label { font-weight: 600; color: var(--heading); margin: 0 0 .75rem; }
.bodywebsite .more-info__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin: 0; }
.bodywebsite .more-info__links .textlink { white-space: nowrap; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .bodywebsite .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bodywebsite .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bodywebsite .site-footer .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .bodywebsite h1, .bodywebsite .hero h1 { font-size: 2.1rem; }
  .bodywebsite .section { padding: 3.5rem 0; }
  .bodywebsite .hero { padding: 4rem 0; }
  .bodywebsite .grid--2, .bodywebsite .grid--3, .bodywebsite .grid--4,
  .bodywebsite .acc-grid { grid-template-columns: 1fr; }
  .bodywebsite .partner-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .bodywebsite .partner-list a { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .bodywebsite .partner-req__cols { grid-template-columns: 1fr; gap: 1rem; }
  .bodywebsite .site-footer .footer-main { grid-template-columns: 1fr; }
  .bodywebsite .nav-toggle { display: block; }
  .bodywebsite .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .bodywebsite .main-nav.open { display: flex; }
  .bodywebsite .nav-sep { display: none; }
  .bodywebsite .event { flex-direction: column; gap: 0; }
  .bodywebsite .event__date { flex-direction: row; gap: .5rem; min-width: 0; padding: .7rem 1rem; justify-content: flex-start; }
  .bodywebsite .event__body { padding: 1.1rem 1.3rem; }
  .bodywebsite .newsitem { flex-direction: column; gap: 1rem; }
  .bodywebsite .newsitem__thumb { flex: none; width: 100%; height: 180px; }
  .bodywebsite .hero--photo { padding: 4.5rem 0; background-position: 42% center; }
  .bodywebsite .hero--photo::before { background: linear-gradient(180deg, rgba(14, 24, 40, .72) 0%, rgba(14, 24, 40, .82) 100%); }
  .bodywebsite .hero--photo h1 { max-width: none; }
}


#partner { scroll-margin-top: 80px; }  /* adjust to header height */
/* === Mitgliederbereich (generated by website/site/build.py) === */
/* Mitgliederbereich (Modul memberarea). Gleiche Variablen wie der Rest der Seite. */
.bodywebsite .ma-hero { padding: 3rem 0 2.6rem; }
.bodywebsite .ma-hero h1 { margin-bottom: .3em; }
.bodywebsite .ma-hero .lead { margin-bottom: 0; }
.bodywebsite .ma-section { padding: 2.8rem 0 4rem; }
.bodywebsite .ma-small { font-size: .85rem; color: var(--muted); }
.bodywebsite .ma-center { text-align: center; }
.bodywebsite .ma-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation: der zusätzliche Eintrag braucht Platz, Einträge brechen nicht um */
.bodywebsite .main-nav { gap: 1.25rem; }
.bodywebsite .main-nav a { white-space: nowrap; }
@media (min-width: 721px) and (max-width: 1360px) {
  .bodywebsite .main-nav a[target="_blank"] { font-size: 0; gap: 0; }
  .bodywebsite .main-nav a[target="_blank"] svg { width: 20px; height: 20px; }
}
.bodywebsite .main-nav .ma-navbtn { padding: .45rem 1.1rem; font-size: .92rem; color: #fff; }
.bodywebsite .main-nav .ma-navbtn:hover { color: #fff; }
.bodywebsite .main-nav .ma-navbtn svg { width: 16px; height: 16px; }
.bodywebsite .ma-navme { font-weight: 600; }
.bodywebsite .ma-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--support); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.bodywebsite .ma-avatar--lg { width: 44px; height: 44px; font-size: .9rem; }
.bodywebsite .ma-subnav { background: #fff; border-bottom: 1px solid var(--border); }
.bodywebsite .ma-subnav__inner { display: flex; align-items: center; gap: 1.6rem; overflow-x: auto; font-size: .93rem; font-weight: 600; }
.bodywebsite .ma-subnav a { color: var(--muted); padding: .85rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.bodywebsite .ma-subnav a:hover { color: var(--primary); text-decoration: none; }
.bodywebsite .ma-subnav a.is-current { color: var(--primary); border-bottom-color: var(--support); }
.bodywebsite .ma-subnav__logout { margin: 0 0 0 auto; }
.bodywebsite .ma-subnav__logout button { background: none; border: 0; padding: .85rem 0; font: inherit; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bodywebsite .ma-subnav__logout button:hover { color: var(--support); }
.bodywebsite .ma-banner { background: #EEF0F8; color: var(--support-dark); font-size: .85rem; font-weight: 600; padding: .5rem 0; }
.bodywebsite .ma-banner .wrap { display: flex; align-items: center; gap: .5rem; }
.bodywebsite .ma-banner svg { width: 15px; height: 15px; flex: none; }

/* Karten, Meldungen, Formulare */
.bodywebsite .ma-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; min-width: 0; }
.bodywebsite .ma-card h2 { font-size: 1.45rem; }
.bodywebsite .ma-card h3 { font-size: 1.1rem; }
.bodywebsite .ma-eyebrow { display: flex; align-items: center; gap: .4rem; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--support); margin-bottom: .6em; }
.bodywebsite .ma-eyebrow svg { width: 14px; height: 14px; }
.bodywebsite .ma-alert { border-radius: 6px; padding: .7rem .9rem; font-size: .92rem; margin: 0 0 1.1rem; }
.bodywebsite .ma-alert--success { background: #E8F5EC; color: #146C34; }
.bodywebsite .ma-alert--error { background: #FDECEC; color: #A61B13; }
.bodywebsite .ma-alert--warning { background: #FFF4E5; color: #7A4300; }
.bodywebsite .ma-placeholder { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border: 1px dashed var(--support); border-radius: var(--radius); color: var(--support-dark); background: #F6F5FB; font-size: .92rem; }
.bodywebsite .ma-placeholder svg { width: 18px; height: 18px; flex: none; }
.bodywebsite .ma-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; font-size: .92rem; min-width: 0; }
.bodywebsite .ma-field label { font-weight: 600; color: var(--heading); }
.bodywebsite .ma-field--wide { grid-column: 1 / -1; }
.bodywebsite .ma-input { width: 100%; border: 1px solid #CBD2DC; border-radius: 5px; padding: .6rem .75rem; font: inherit; font-size: .95rem; color: var(--heading); background: #fff; }
.bodywebsite .ma-input:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.bodywebsite .ma-input[readonly] { background: var(--accent); color: var(--muted); }
.bodywebsite .ma-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.bodywebsite .ma-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; margin: .2rem 0 1.2rem; cursor: pointer; }
.bodywebsite .ma-check input { margin-top: .25rem; accent-color: var(--support); }
.bodywebsite .ma-btn-block { width: 100%; text-align: center; }
.bodywebsite button.btn { font-family: inherit; font-size: 1rem; line-height: 1.6; }
.bodywebsite .ma-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; font-size: .88rem; margin: 1rem 0 0; }
.bodywebsite .ma-captcha { display: flex; gap: .6rem; align-items: center; }
.bodywebsite .ma-captcha img { border-radius: 5px; border: 1px solid var(--border); flex: none; }
.bodywebsite .ma-login { max-width: 440px; margin: 0 auto; }
.bodywebsite .ma-login .ma-card { padding: 1.8rem 1.8rem 1.5rem; }
.bodywebsite .ma-login .ma-small.ma-center { margin-top: 1rem; }

/* Übersicht */
.bodywebsite .ma-status { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-bottom: 1.4rem; }
.bodywebsite .ma-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; white-space: nowrap; }
.bodywebsite .ma-badge svg { width: 13px; height: 13px; }
.bodywebsite .ma-badge--ok { background: #E8F5EC; color: #146C34; }
.bodywebsite .ma-badge--warn { background: #FFF4E5; color: #7A4300; }
.bodywebsite .ma-kv { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; font-size: .92rem; }
.bodywebsite .ma-kv dt { color: var(--muted); }
.bodywebsite .ma-kv dd { margin: 0 .6rem 0 -1rem; color: var(--heading); font-weight: 600; }
.bodywebsite .ma-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bodywebsite .ma-tile { display: flex; flex-direction: column; gap: .3rem; color: inherit; transition: box-shadow .15s ease, border-color .15s ease; }
.bodywebsite .ma-tile:hover { text-decoration: none; box-shadow: var(--shadow-lg); border-color: #D6D1EA; }
.bodywebsite .ma-tile:hover h3 { color: var(--support); }
.bodywebsite .ma-tile h3 { margin: 0; }
.bodywebsite .ma-tile p { margin: 0; font-size: .92rem; }
.bodywebsite .ma-tile__icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #EEF0F8; color: var(--support); margin-bottom: .4rem; }
.bodywebsite .ma-tile__icon svg { width: 21px; height: 21px; }
.bodywebsite .ma-tile__count { font-size: .8rem; font-weight: 700; color: var(--action); margin-top: auto; padding-top: .4rem; }
.bodywebsite .ma-news { margin-top: 1.4rem; }
.bodywebsite .ma-list { list-style: none; margin: 0; padding: 0; }
.bodywebsite .ma-list li { display: flex; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.bodywebsite .ma-list li:last-child { border-bottom: 0; }
.bodywebsite .ma-list__kind { flex: 0 0 76px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bodywebsite .ma-list__title { flex: 1; min-width: 0; font-weight: 600; color: var(--heading); }
.bodywebsite .ma-list__date { font-size: .82rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Meine Daten, Beiträge */
.bodywebsite .ma-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.2rem; align-items: start; }
.bodywebsite .ma-section .wrap > .ma-card + .ma-card { margin-top: 1.2rem; }
.bodywebsite .ma-scroll { overflow-x: auto; }
.bodywebsite .ma-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bodywebsite .ma-table th, .bodywebsite .ma-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.bodywebsite .ma-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bodywebsite .ma-table tr:last-child td { border-bottom: 0; }
.bodywebsite .ma-num { text-align: right !important; font-variant-numeric: tabular-nums; }

/* Wissen */
.bodywebsite .ma-kb { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.bodywebsite .ma-search { display: flex; gap: .5rem; margin-bottom: .9rem; }
.bodywebsite .ma-search .btn { padding: .55rem 1.1rem; }
.bodywebsite .ma-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.bodywebsite .ma-chips__sep { width: .8rem; }
.bodywebsite .ma-chip { font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 99px; border: 1px solid var(--border); color: var(--text); background: #fff; }
.bodywebsite .ma-chip:hover { border-color: var(--primary); text-decoration: none; }
.bodywebsite .ma-chip.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.bodywebsite .ma-kblist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.bodywebsite .ma-kbitem { display: block; padding: .7rem .8rem; border-radius: 6px; border: 1px solid transparent; color: inherit; font-size: .92rem; }
.bodywebsite .ma-kbitem:hover { background: #fff; text-decoration: none; }
.bodywebsite .ma-kbitem.is-current { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.bodywebsite .ma-kbitem b { display: block; color: var(--heading); }
.bodywebsite .ma-kbitem small { color: var(--muted); font-size: .75rem; }
.bodywebsite .ma-article h2 { margin-top: .2rem; }
.bodywebsite .ma-article__body { overflow-wrap: anywhere; }
.bodywebsite .ma-article__body pre { background: #F1F3F7; border-radius: 6px; padding: .8rem 1rem; overflow-x: auto; font-size: .85rem; color: var(--heading); }
.bodywebsite .ma-article__body img { border-radius: 6px; }
.bodywebsite .ma-article__body table { border-collapse: collapse; }
.bodywebsite .ma-article__body th, .bodywebsite .ma-article__body td { border: 1px solid var(--border); padding: .4rem .6rem; }

/* Downloads */
.bodywebsite .ma-folder { margin-bottom: 1.2rem; }
.bodywebsite .ma-folder h3 { display: flex; align-items: center; gap: .5rem; }
.bodywebsite .ma-folder h3 svg { width: 19px; height: 19px; color: var(--support); flex: none; }
.bodywebsite .ma-file { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: .9rem; padding: .65rem .3rem; border-bottom: 1px solid var(--border); color: inherit; }
.bodywebsite .ma-file:last-child { border-bottom: 0; }
.bodywebsite .ma-file:hover { text-decoration: none; background: var(--accent); }
.bodywebsite .ma-file b { color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.bodywebsite .ma-file:hover b { color: var(--action); }
.bodywebsite .ma-file__meta { color: var(--muted); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bodywebsite .ma-ext { font-size: .66rem; font-weight: 800; border-radius: 4px; padding: .35rem 0; text-align: center; background: #EEF0F8; color: var(--support); }
.bodywebsite .ma-ext--pdf { background: #FDECEC; color: #B42318; }
.bodywebsite .ma-ext--pptx, .bodywebsite .ma-ext--ppt, .bodywebsite .ma-ext--odp { background: #FFF1E6; color: #B54708; }
.bodywebsite .ma-ext--docx, .bodywebsite .ma-ext--doc, .bodywebsite .ma-ext--odt { background: #E8F0FE; color: #1D4ED8; }
.bodywebsite .ma-ext--xlsx, .bodywebsite .ma-ext--xls, .bodywebsite .ma-ext--ods { background: #E8F5EC; color: #146C34; }

/* Exklusiv, Verzeichnis */
.bodywebsite .ma-pagelist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bodywebsite .ma-pageitem { display: flex; flex-direction: column; gap: .35rem; color: inherit; }
.bodywebsite .ma-pageitem:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.bodywebsite .ma-pageitem:hover h3 { color: var(--action); }
.bodywebsite .ma-pageitem h3, .bodywebsite .ma-pageitem p { margin: 0; }
.bodywebsite .ma-pageitem .textlink { margin-top: auto; padding-top: .4rem; }
.bodywebsite .ma-dirhead .ma-search { max-width: 460px; }
.bodywebsite .ma-dir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bodywebsite .ma-person { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; }
.bodywebsite .ma-person > div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; font-size: .92rem; }
.bodywebsite .ma-person b { color: var(--heading); }
.bodywebsite .ma-person a { overflow-wrap: anywhere; font-size: .86rem; }
.bodywebsite .ma-person .ma-person__contact { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-weight: 600; }
.bodywebsite .ma-person__contact svg { width: 15px; height: 15px; flex: none; }
.bodywebsite .ma-contact { max-width: 760px; margin-bottom: 1.4rem; }
.bodywebsite .ma-contact h3 { display: flex; align-items: center; gap: .5rem; }
.bodywebsite .ma-contact h3 svg { width: 20px; height: 20px; flex: none; color: var(--support); }
.bodywebsite .ma-contact__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .4rem; }
.bodywebsite textarea.ma-input { resize: vertical; min-height: 9rem; line-height: 1.5; }
.bodywebsite .ma-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; font-size: .88rem; color: var(--muted); margin: 1.2rem 0 0; }
.bodywebsite .ma-pager a { margin-left: 1rem; font-weight: 600; }

/* Teaser in den öffentlichen News */
.bodywebsite .ma-teaser__lock { background: linear-gradient(135deg, var(--support) 0%, var(--support-dark) 100%); }
.bodywebsite .ma-tag { background: #EEF0F8; color: var(--support-dark); }

@media (max-width: 960px) {
  .bodywebsite .ma-tiles, .bodywebsite .ma-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bodywebsite .ma-cols, .bodywebsite .ma-kb { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bodywebsite .ma-tiles, .bodywebsite .ma-dir, .bodywebsite .ma-pagelist, .bodywebsite .ma-form { grid-template-columns: minmax(0, 1fr); }
  .bodywebsite .ma-file { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .bodywebsite .ma-file__size { display: none; }
  .bodywebsite .ma-list li { flex-wrap: wrap; gap: .2rem .8rem; }
  .bodywebsite .ma-list__kind { flex-basis: auto; }
  .bodywebsite .ma-subnav__inner { gap: 1.1rem; }
  .bodywebsite .main-nav .ma-navbtn { margin-top: .3rem; }
  .bodywebsite .ma-kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
  .bodywebsite .ma-kv dd { margin: 0; }
}
/* === Ende Mitgliederbereich === */
