/* sem solutions ag – Theme (ctek AG, 2026-10-05). Basis: Claude-Design-Handoff "Website verschönern". */
:root {
    --bg: #f6f5f2; --ink: #1c1f22; --muted: #4a4f55; --accent: #4071A2; --line: #e4e1db; --line-2: #c9c5bd; --soft: #e6edf5; --soft-line: #c9d6e5; --white: #fff;
    --radius: 6px; --radius-lg: 8px; --max: 1200px; --pad: 32px;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.6; }
a { color: var(--ink); text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, p, ul, figure, dl, dd { margin: 0; }
img { max-width: 100%; }
.sem-wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sem-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.sem-eyebrow--sm { font-size: 12px; letter-spacing: .12em; }
.sem-h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.sem-h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.02em; font-weight: 700; line-height: 1.05; }
.sem-lead { font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.sem-text { font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.sem-text p + p, .sem-prose p + p { margin-top: 1em; }
.sem-muted { color: var(--muted); }
.sem-btn { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--accent); color: var(--white); font-weight: 600; font-size: 15px; border: 1px solid var(--accent); line-height: 1.2; }
.sem-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sem-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.sem-btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.sem-btn--sm { padding: 12px 18px; font-size: 14px; }
.sem-link { font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; }
.sem-link--accent { color: var(--accent); border: 0; font-size: 14px; }
.sem-img { display: block; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.sem-img--empty { aspect-ratio: 4/3; }
.sem-ratio-43 { aspect-ratio: 4/3; } .sem-ratio-32 { aspect-ratio: 3/2; } .sem-ratio-169 { aspect-ratio: 16/9; } .sem-ratio-168 { aspect-ratio: 16/8; } .sem-ratio-54 { aspect-ratio: 5/4; } .sem-ratio-1 { aspect-ratio: 1; object-position: top; } .sem-ratio-45 { aspect-ratio: 4/5; object-position: top; }
.sem-section { padding-top: 80px; padding-bottom: 80px; }
.sem-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sem-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sem-grid--fill { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sem-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.sem-stack { display: flex; flex-direction: column; gap: 24px; }
.sem-stack--sm { gap: 12px; }
.sem-breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.sem-breadcrumb a { color: var(--muted); } .sem-breadcrumb a:hover { color: var(--accent); }
.sem-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.sem-list { list-style: none; padding: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.sem-list li { border-top: 1px solid var(--line); padding: 13px 0; font-size: 15px; font-weight: 500; }
.sem-list li a { display: flex; justify-content: space-between; gap: 12px; }
.sem-list--lg li { font-size: 16px; padding: 12px 0; }
.sem-list--soft, .sem-list--soft li { border-color: var(--soft-line); }
.sem-divider-top { border-top: 1px solid var(--line); padding-top: 28px; }
.sem-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sem-actions--end { margin-left: auto; }
.sem-page { padding: 64px var(--pad) 96px; display: flex; flex-direction: column; gap: 48px; max-width: var(--max); margin: 0 auto; }
.sem-page__intro { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }

/* Header */
.sem-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sem-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.sem-logo img { height: 34px; width: auto; display: block; }
.sem-nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 600; flex-wrap: wrap; justify-content: flex-end; }
.sem-nav a.is-active { color: var(--accent); }
.sem-nav .sem-btn { padding: 9px 16px; }
.sem-nav .sem-btn:hover, .sem-nav .sem-btn.is-active { color: var(--white); }
.sem-burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 767px) {
    .sem-burger { display: inline-flex; }
    .sem-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
    .sem-nav.is-open { display: flex; }
    .sem-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
    .sem-nav .sem-btn { margin-top: 12px; text-align: center; border-top: 0; }
}

/* Hero */
.sem-hero { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: end; }
.sem-hero__title { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.sem-hero .sem-lead { max-width: 520px; }
.sem-hero .sem-actions { padding-top: 8px; }

/* Statement */
.sem-statement { padding-top: 24px; padding-bottom: 72px; }
.sem-statement p { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; font-weight: 500; max-width: 900px; text-wrap: pretty; border-top: 1px solid var(--line); padding-top: 32px; }

/* Leistungsangebot */
.sem-services { background: var(--soft); }
.sem-services .sem-section__head { margin-bottom: 48px; }
.sem-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.sem-service-group { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; }
.sem-services--page .sem-service-group { border: 1px solid var(--line); }
.sem-service-group h3, .sem-service-group h2 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.sem-service-group .sem-eyebrow { font-size: 12px; }
.sem-service-detail__box { background: var(--soft); border-radius: var(--radius-lg); padding: 48px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; }
.sem-service-detail__box h2 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }

/* Teaser / Cards */
.sem-teaser { display: flex; flex-direction: column; gap: 14px; }
.sem-teaser h3 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.sem-teaser p { font-size: 15px; color: var(--muted); }
.sem-teaser:hover .sem-img { filter: brightness(.96); }
.sem-newscard { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; align-content: start; }
.sem-newscard:hover { border-color: var(--accent); color: var(--ink); }
.sem-newscard h3, .sem-newscard h2 { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.sem-newscard p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.sem-newscard--image { padding: 0; overflow: hidden; }
.sem-newscard--image .sem-img { border-radius: 0; }
.sem-newscard--image .sem-newscard__body { display: flex; flex-direction: column; gap: 12px; padding: 8px 28px 28px; }

/* Testimonials */
.sem-testimonials { padding-top: 40px; padding-bottom: 88px; }
.sem-quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.sem-quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; text-wrap: pretty; }
.sem-quote figcaption { display: flex; align-items: center; gap: 14px; }
.sem-quote figcaption .sem-img { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; }
.sem-quote figcaption b { font-weight: 700; font-size: 14px; display: block; }
.sem-quote figcaption span { font-size: 13px; color: var(--muted); }

/* Team */
.sem-team-teaser { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sem-team-teaser .sem-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.sem-team-list { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0 88px; }
.sem-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.sem-member { display: flex; flex-direction: column; gap: 12px; }
.sem-member h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sem-member .sem-eyebrow { font-size: 13px; letter-spacing: .1em; }
.sem-person { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.sem-person__name { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sem-person__contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.sem-person__quote { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.sem-person__quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--accent); text-wrap: pretty; }
.sem-person__quote figcaption { font-size: 13px; color: var(--muted); }
.sem-person__blocks { display: flex; flex-direction: column; gap: 40px; }

/* Projekte */
.sem-filter { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; }
.sem-filter button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
.sem-filter button:hover { border-color: var(--accent); }
.sem-filter button.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.sem-projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; }
.sem-project[hidden] { display: none; }
.sem-project-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.sem-project-detail h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.sem-facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.sem-facts div { display: flex; flex-direction: column; gap: 4px; }
.sem-facts div + div { border-top: 1px solid var(--line); padding-top: 18px; }
.sem-facts dd { font-weight: 600; }
.sem-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sem-gallery__item { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.sem-gallery__item .sem-img { transition: transform .25s; }
.sem-gallery__item:hover .sem-img { transform: scale(1.03); }

/* Lightbox */
.sem-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 31, 34, .92); display: flex; align-items: center; justify-content: center; padding: 56px 72px; opacity: 0; transition: opacity .2s; }
.sem-lightbox.is-open { opacity: 1; }
.sem-lightbox[hidden] { display: none; }
.sem-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #000; }
.sem-lightbox__caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #d6d9dc; font-size: 14px; padding: 0 72px; }
.sem-lightbox__btn { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit; transition: background .15s; }
.sem-lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.sem-lightbox__close { top: 16px; right: 16px; }
.sem-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.sem-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.sem-lightbox__count { position: absolute; top: 24px; left: 24px; color: #d6d9dc; font-size: 13px; letter-spacing: .08em; }
body.sem-lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .sem-lightbox { padding: 64px 12px 48px; } .sem-lightbox__prev { left: 8px; } .sem-lightbox__next { right: 8px; } .sem-lightbox__caption { padding: 0 16px; } }

/* News */
.sem-article { max-width: 860px; display: flex; flex-direction: column; gap: 28px; }
.sem-article__head { display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.sem-article__head h1 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.sem-prose { font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.sem-prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; padding-top: 12px; color: var(--ink); margin: 28px 0 0; }
.sem-prose h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 24px 0 0; }
.sem-prose p { margin: 0; } .sem-prose p + p, .sem-prose h2 + p, .sem-prose h3 + p { margin-top: 20px; }
.sem-prose figure { margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sem-prose figure img { width: 100%; border-radius: var(--radius); display: block; background: var(--line); }
.sem-prose figcaption { font-size: 13px; color: var(--muted); }
.sem-prose .sem-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.sem-prose .sem-pair figure { margin: 0; }
.sem-prose .sem-pair img { aspect-ratio: 4/3; object-fit: cover; }
.sem-prose ul { padding-left: 20px; margin-top: 16px; } .sem-prose li + li { margin-top: 6px; }
.sem-prose a { color: var(--accent); border-bottom: 1px solid transparent; } .sem-prose a:hover { border-color: currentColor; }

/* Kontakt */
.sem-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.sem-contact__big { display: flex; flex-direction: column; gap: 8px; }
.sem-contact__big a:first-child { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.sem-contact__big a:nth-child(2) { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--accent); }
.sem-contact__addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.sem-contact__addresses div { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
.sem-map { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); display: block; background: var(--line); }

/* Formular */
.sem-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; max-width: 760px; }
.sem-form .form-group, .sem-form .rex-yform-element { margin-bottom: 18px; }
.sem-form label, .sem-form .control-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.sem-form .form-control, .sem-form input[type=text], .sem-form input[type=email], .sem-form input[type=tel], .sem-form textarea, .sem-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; font-size: 16px; background: var(--white); color: var(--ink); }
.sem-form .form-control:focus, .sem-form textarea:focus, .sem-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(64, 113, 162, .18); }
.sem-form textarea { min-height: 160px; resize: vertical; }
.sem-form .has-error .form-control, .sem-form .has-error input, .sem-form .has-error textarea { border-color: #b3261e; }
.sem-form .help-block, .sem-form .form-text { font-size: 13px; color: var(--muted); }
.sem-form .alert { padding: 12px 14px; border-radius: var(--radius); background: #fdecea; color: #8a1c13; border: 1px solid #f3b8b1; margin-bottom: 18px; font-size: 15px; }
.sem-form .alert-success, .sem-form__success { background: var(--soft); color: var(--ink); border: 1px solid var(--soft-line); padding: 24px; border-radius: var(--radius-lg); }
.sem-form .btn-primary, .sem-form button[type=submit] { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--accent); color: var(--white); font-weight: 600; font-size: 15px; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; }
.sem-form .btn-primary:hover, .sem-form button[type=submit]:hover { background: var(--ink); border-color: var(--ink); }
.sem-form .sem-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.sem-form .cf-turnstile { margin: 8px 0 18px; }

/* Infokarten (Impressum) */
.sem-infocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.sem-infocard { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.sem-infocard a { color: var(--accent); }
.sem-infocard p + p { margin-top: 6px; }
.sem-sections { max-width: 860px; display: flex; flex-direction: column; gap: 36px; }
.sem-sections section { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.sem-sections h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.sem-sections p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.sem-sections p + p { margin-top: 10px; }

/* Footer */
.sem-footer { background: var(--white); color: var(--muted); border-top: 1px solid var(--line); margin-top: auto; }
.sem-footer__inner { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.sem-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.sem-footer__brand { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.sem-footer__brand b { color: var(--ink); font-weight: 700; font-size: 18px; }
.sem-footer__brand a { color: var(--ink); font-weight: 600; } .sem-footer__brand a:hover { color: var(--accent); }
.sem-footer__nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.sem-footer__nav a { color: var(--ink); } .sem-footer__nav a:hover { color: var(--accent); }
.sem-footer__logos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sem-footer__logos img { height: 40px; width: auto; } .sem-footer__logos img.is-wide { height: 24px; }
.sem-footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.sem-footer__bottom nav { display: flex; gap: 20px; }
.sem-footer__bottom a { color: var(--muted); } .sem-footer__bottom a:hover { color: var(--accent); }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

@media (max-width: 640px) {
    :root { --pad: 20px; }
    .sem-section { padding-top: 56px; padding-bottom: 56px; }
    .sem-page { padding-top: 40px; padding-bottom: 64px; gap: 36px; }
    .sem-hero { padding-top: 40px; gap: 32px; }
    .sem-service-group { padding: 28px 24px; }
    .sem-service-detail__box { padding: 32px 24px; }
    .sem-form { padding: 24px 20px; }
}

/* Startseite: Hero mit Bild und Leistungsbalken; Bereichsseiten (2026-10-07) */
.sem-herox { position: relative; min-height: min(82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #dfe3e6; }
.sem-herox__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sem-herox::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.sem-herox--light::after { background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .08) 45%, rgba(0, 0, 0, .10) 100%); }
.sem-herox--dark::after { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .10) 45%, rgba(0, 0, 0, .35) 100%); }
.sem-herox__inner { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 48px; display: flex; flex-direction: column; gap: clamp(72px, 14vh, 180px); }
.sem-herox__title { font-size: clamp(40px, 5.6vw, 76px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; color: #2a2f34; max-width: 680px; text-wrap: balance; }
.sem-herox--dark .sem-herox__title { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.sem-herox__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sem-herox__bar { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 108px; padding: 20px 26px 22px; border-radius: 4px; color: var(--white); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); transition: transform .2s, filter .2s; }
.sem-herox__bar:hover { transform: translateY(-3px); filter: brightness(1.08); color: var(--white); }
.sem-herox__num { font-size: 12px; letter-spacing: .12em; opacity: .9; }
.sem-herox__label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; line-height: 1.2; }
.sem-herox__label span { font-size: 1.2em; font-weight: 300; }
.sem-service-group { scroll-margin-top: 110px; }
.sem-service-group h2 a, .sem-service-group h3 a { color: inherit; }
.sem-group__num { color: var(--group, var(--accent)); }
.sem-group .sem-page__intro { border-left: 6px solid var(--group, var(--accent)); padding-left: 28px; }
.sem-group__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sem-group__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.sem-group__img { display: block; }
.sem-group__band { height: 6px; background: var(--group, var(--accent)); }
.sem-group__img .sem-img { border-radius: 0; }
.sem-group__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sem-group__body h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.sem-group__body .sem-text { font-size: 15px; flex: 1; }
.sem-group__body .sem-eyebrow { color: var(--group, var(--accent)); font-size: 12px; }
.sem-group__others { display: flex; flex-direction: column; gap: 16px; }
.sem-group__others .sem-herox__bars { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sem-group__others .sem-herox__bar { box-shadow: none; min-height: 84px; }
@media (max-width: 760px) { .sem-herox { min-height: 0; } .sem-herox__inner { padding-top: 72px; gap: 56px; } .sem-herox__bars { grid-template-columns: 1fr; } .sem-herox__bar { min-height: 84px; } .sem-group .sem-page__intro { padding-left: 18px; } }

/* Themenwelt: Gruppenfarbe als Akzent (2026-10-07) */
body.has-group { --accent: var(--group); --soft: color-mix(in srgb, var(--group) 13%, #fff); --soft-line: color-mix(in srgb, var(--group) 32%, #fff); }
body.has-group .sem-header { box-shadow: inset 0 4px 0 var(--group); }
body.has-group .sem-header__inner { padding-top: 20px; }
.sem-service-group--colored { border-top: 5px solid var(--accent) !important; }
.sem-service-group--colored .sem-list a:hover, .sem-service-group--colored h2 a:hover, .sem-service-group--colored h3 a:hover { color: var(--accent); }
.sem-group__tag { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--group, var(--accent)); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.sem-group__tag span { background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 2px 8px; font-size: 11px; letter-spacing: .12em; }
.sem-group__tag:hover { color: var(--white); filter: brightness(1.08); }
.sem-group .sem-service-detail__box { border-left: 6px solid var(--group, var(--accent)); }
.sem-group__card:hover { border-color: var(--group, var(--accent)); }
