:root {
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #1c2430;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}

.sg-dreampc,
.sg-site-shell {
    --sg-bg: #f4f6f8;
    --sg-surface: #ffffff;
    --sg-surface-soft: #eef2f5;
    --sg-text: #1c2430;
    --sg-muted: #647184;
    --sg-border: #d9e0e8;
    --sg-accent: #334155;
    --sg-accent-strong: #0f172a;
    --sg-accent-soft: #e2e8f0;
    --sg-radius-lg: 28px;
    --sg-radius-md: 18px;
    --sg-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);

    width: 100%;
    min-width: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top left,
            rgba(148, 163, 184, 0.22),
            transparent 34rem
        ),
        linear-gradient(180deg, #f8fafc 0%, var(--sg-bg) 100%);
    color: var(--sg-text);
}

/* =========================================================
   Hilfsklassen
   ========================================================= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
}

/* =========================================================
   Header
   ========================================================= */

body:is(.sg-modern, .dreampc) .sg-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;

    background: transparent;
}

/*
 * Der Hintergrund wird über die gesamte Fensterbreite gezogen,
 * ohne das Dropdown-Menü abzuschneiden.
 */
body:is(.sg-modern, .dreampc) .sg-site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;
    transform: translateX(-50%);

    background: color-mix(
        in srgb,
        var(--sg-bg) 91%,
        transparent
    );

    border-bottom: 1px solid transparent;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0);

    opacity: 0;
    pointer-events: none;

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    transition:
        opacity 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

body:is(.sg-modern, .dreampc)
.sg-site-header.is-scrolled::before {
    opacity: 1;
    border-bottom-color: var(--sg-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"]
body:is(.sg-modern, .dreampc)
.sg-site-header.is-scrolled::before {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

body:is(.dreampc, .sg-modern) .sg-site-header {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    grid-template-areas: "logo navigation tools";
    align-items: center;
    gap: 12px;

    max-width: 1180px;
    margin: 0 auto;
    padding: 18px;
}

body:is(.dreampc, .sg-modern) .sg-logo {
    grid-area: logo;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

body:is(.dreampc, .sg-modern) .sg-logo-image {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
}

body:is(.dreampc, .sg-modern) .sg-logo-image--light {
    display: block;
}

body:is(.dreampc, .sg-modern) .sg-logo-image--dark {
    display: none;
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
.sg-logo-image--light {
    display: none;
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
.sg-logo-image--dark {
    display: block;
}

body:is(.dreampc, .sg-modern) .sg-header-tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

body:is(.dreampc, .sg-modern) .sg-main-nav {
    grid-area: navigation;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
}

body:is(.dreampc, .sg-modern) .sg-main-nav > a {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--sg-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

body:is(.dreampc, .sg-modern) .sg-main-nav > a:hover,
body:is(.dreampc, .sg-modern) .sg-main-nav > a:focus-visible {
    color: var(--sg-text);
    background: var(--sg-surface);
    outline: none;
}

body:is(.dreampc, .sg-modern) .sg-legal-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

body:is(.dreampc, .sg-modern) .sg-legal-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--sg-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

body:is(.dreampc, .sg-modern) .sg-legal-nav a:hover,
body:is(.dreampc, .sg-modern) .sg-legal-nav a:focus-visible {
    color: var(--sg-text);
    background: var(--sg-surface);
    outline: none;
}

/* Menübutton */

body:is(.dreampc, .sg-modern) .sg-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    background: var(--sg-surface);
    color: var(--sg-text);
    cursor: pointer;
}

body:is(.dreampc, .sg-modern) .sg-menu-toggle:hover,
body:is(.dreampc, .sg-modern) .sg-menu-toggle:focus-visible {
    background: var(--sg-surface-soft);
    border-color: var(--sg-accent);
    outline: none;
}

body:is(.dreampc, .sg-modern) .sg-menu-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 14px;
}

body:is(.dreampc, .sg-modern) .sg-menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

body:is(.dreampc, .sg-modern)
.sg-menu-toggle[aria-expanded="true"]
.sg-menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body:is(.dreampc, .sg-modern)
.sg-menu-toggle[aria-expanded="true"]
.sg-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
}

body:is(.dreampc, .sg-modern)
.sg-menu-toggle[aria-expanded="true"]
.sg-menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   Suche
   ========================================================= */

body:is(.dreampc, .sg-modern) .top-search {
    flex: 0 0 150px;
    width: 150px;
}

body:is(.dreampc, .sg-modern) #searchform {
    width: 100%;
    margin: 0;
    padding: 0;
}

body:is(.dreampc, .sg-modern) .sg-search {
    position: relative;
    width: 100%;
}

body:is(.dreampc, .sg-modern) #searchform #s {
    appearance: none;
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 38px 0 13px;

    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;

    color: var(--sg-text);
    font-size: 0.82rem;
    line-height: normal;
}

body:is(.dreampc, .sg-modern) #searchform #s::placeholder {
    color: var(--sg-muted);
    opacity: 1;
}

body:is(.dreampc, .sg-modern) #searchform #s:focus {
    border-color: var(--sg-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.16);
}

body:is(.dreampc, .sg-modern) .sg-search-button {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);

    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sg-muted);
    cursor: pointer;
}

body:is(.dreampc, .sg-modern) .sg-search-button:hover,
body:is(.dreampc, .sg-modern) .sg-search-button:focus-visible {
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    outline: none;
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
#searchform
#s {
    background: rgba(24, 33, 43, 0.78);
}

/* =========================================================
   Navigations-Dropdowns
   ========================================================= */

body:is(.dreampc, .sg-modern) .sg-nav-dropdown {
    position: relative;
    display: inline-grid;
    grid-template-columns: auto 32px;
    align-items: stretch;
    flex: 0 0 auto;

    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
.sg-nav-dropdown {
    background: rgba(24, 33, 43, 0.78);
}

body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-nav-dropdown
> .sg-nav-parent {
    display: inline-flex;
    align-items: center;
    padding: 8px 4px 8px 12px;

    border: 0;
    border-radius: 999px 0 0 999px;
    background: transparent;

    color: var(--sg-muted);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-nav-dropdown
> .sg-nav-parent:hover,
body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-nav-dropdown
> .sg-nav-parent:focus-visible {
    color: var(--sg-text);
    background: transparent;
    outline: none;
}

body:is(.dreampc, .sg-modern) .sg-submenu-toggle {
    display: grid;
    place-items: center;
    width: 32px;
    min-width: 32px;
    padding: 0;

    border: 0;
    border-radius: 0 999px 999px 0;
    background: transparent;
    color: var(--sg-muted);
    cursor: pointer;
}

body:is(.dreampc, .sg-modern) .sg-submenu-toggle:hover,
body:is(.dreampc, .sg-modern) .sg-submenu-toggle:focus-visible {
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    outline: none;
}

body:is(.dreampc, .sg-modern) .sg-submenu-toggle svg {
    transition: transform 160ms ease;
}

body:is(.dreampc, .sg-modern)
.sg-submenu-toggle[aria-expanded="true"]
svg {
    transform: rotate(180deg);
}

body:is(.dreampc, .sg-modern) .sg-submenu {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    left: 0;

    display: grid;
    width: max-content;
    min-width: 285px;
    max-width: 340px;
    padding: 8px;

    border: 1px solid var(--sg-border);
    border-radius: 16px;
    background: var(--sg-surface);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
.sg-submenu {
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

body:is(.dreampc, .sg-modern) .sg-submenu[hidden] {
    display: none;
}

body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-submenu
a {
    display: block;
    width: 100%;
    padding: 10px 12px;

    border: 0;
    border-radius: 10px;
    background: transparent;

    color: var(--sg-text);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
}

body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-submenu
a:hover,
body:is(.dreampc, .sg-modern)
.sg-main-nav
.sg-submenu
a:focus-visible {
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    outline: none;
}

body:is(.dreampc, .sg-modern) .sg-submenu a span {
    display: block;
    margin-top: 3px;
    color: var(--sg-muted);
    font-size: 0.78rem;
    font-weight: 400;
}

/* =========================================================
   Hauptinhalt
   ========================================================= */

.sg-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px 40px;
}

.sg-hero {
    display: grid;
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;

    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    box-shadow: var(--sg-shadow);
    padding: clamp(24px, 4vw, 46px);
}

.sg-hero-alternative {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(220px, 1fr);
    gap: 28px;
    align-items: center;
}

.sg-hero-alternative .sg-hero-media {
    width: 100%;
    max-width: none;
    padding: clamp(26px, 4vw, 42px);
}

.sg-hero-alternative .sg-hero-copy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.sg-hero-alternative .sg-hero-copy img {
    display: block;
    width: min(100%, 300px);
    max-height: 300px;
    object-fit: contain;
}

.sg-hero-copy {
    min-width: 0;
}

.sg-hero-media {
    min-width: 0;
    background:
        radial-gradient(
            circle at top,
            rgba(148, 163, 184, 0.28),
            transparent 70%
        ),
        linear-gradient(145deg, #f8fafc, #e5eaf0);
    border: 1px solid #e5eaf0;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
}

.sg-hero-media img {
    display: block;
    width: min(100%, 340px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.18));
}

.sg-kicker {
    margin: 0 0 10px;
    color: var(--sg-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sg-hero h1 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sg-subtitle {
    margin: 14px 0 22px;
    color: var(--sg-muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.sg-price-note {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    padding: 10px 14px;

    background: var(--sg-accent-soft);
    border-radius: 999px;
    color: var(--sg-accent);
    font-size: 0.95rem;
}

.sg-price-note strong {
    color: var(--sg-accent-strong);
}

.sg-summary-list,
.sg-component-list {
    margin: 0;
    padding-left: 1.15rem;
}

.sg-summary-list li,
.sg-component-list li {
    margin: 8px 0;
    line-height: 1.5;
}

.sg-summary-list strong,
.sg-component-list strong {
    color: #111827;
}

.sg-component-list em {
    color: #475569;
}

.sg-section-intro {
    max-width: 780px;
    margin: 38px 0 20px;
}

.sg-section-intro h2 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.sg-section-intro p {
    margin: 0;
    color: var(--sg-muted);
}

.sg-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sg-component-card {
    min-width: 0;
    background: var(--sg-surface);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.sg-component-card h3 {
    margin: 0 0 12px;
    color: var(--sg-text);
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* =========================================================
   Footer
   ========================================================= */

.sg-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 18px 40px;

    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;

    color: var(--sg-muted);
    font-size: 0.9rem;
}

.sg-footer a {
    color: var(--sg-accent);
    font-weight: 700;
}

.sg-page-counter {
    color: var(--sg-muted);
}

/* =========================================================
   Mittelgroße Bildschirme
   ========================================================= */

@media (min-width: 821px) and (max-width: 1280px) {
    body:is(.dreampc, .sg-modern) .sg-site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo tools"
            "navigation navigation";
        row-gap: 12px;
    }

    body:is(.dreampc, .sg-modern) .sg-logo-image {
        width: 215px;
    }

    body:is(.dreampc, .sg-modern) .sg-main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 2px;
    }
}

/* =========================================================
   Redaktionelle Zusatzkomponenten
   Steckbrief, Kurzfazit, Einsatzgebiete und FAQ
   ========================================================= */

.sg-editorial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 12px 0 0;
    color: var(--sg-muted);
    font-size: 0.84rem;
}

.sg-editorial-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-editorial-summary {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.6fr);
    gap: clamp(20px, 4vw, 44px);
    align-items: start;
    margin: 28px 0;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: linear-gradient(
        135deg,
        var(--sg-surface) 0%,
        var(--sg-surface-soft) 100%
    );
    box-shadow: var(--sg-shadow);
}

.sg-editorial-summary h2 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.sg-editorial-summary > p {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.75;
}

.sg-facts-section,
.sg-use-cases,
.sg-faq {
    margin: 42px 0;
}

.sg-section-intro--compact {
    margin-bottom: 18px;
}

.sg-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-border);
}

.sg-facts-grid > div {
    padding: 17px 19px;
    background: var(--sg-surface);
}

.sg-facts-grid dt {
    margin-bottom: 5px;
    color: var(--sg-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sg-facts-grid dd {
    margin: 0;
    color: var(--sg-text);
    font-weight: 700;
    line-height: 1.45;
}

.sg-use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-use-case-grid li {
    position: relative;
    padding: 16px 18px 16px 46px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    color: var(--sg-text);
    line-height: 1.5;
}

.sg-use-case-grid li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 16px;
    color: var(--sg-accent);
    font-weight: 900;
}

.sg-faq-list {
    display: grid;
    gap: 10px;
}

.sg-faq-item {
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
}

.sg-faq-item summary {
    position: relative;
    padding: 17px 50px 17px 19px;
    color: var(--sg-text);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.sg-faq-item summary::-webkit-details-marker {
    display: none;
}

.sg-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 19px;
    top: 50%;
    translate: 0 -50%;
    color: var(--sg-accent);
    font-size: 1.35rem;
}

.sg-faq-item[open] summary::after {
    content: "−";
}

.sg-faq-item p {
    margin: 0;
    padding: 0 19px 19px;
    color: var(--sg-muted);
    line-height: 1.7;
}

@media (max-width: 720px) {
    .sg-editorial-summary {
        grid-template-columns: 1fr;
    }

    .sg-facts-grid,
    .sg-use-case-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Smartphone und Tablet
   ========================================================= */

@media (max-width: 820px) {
    .sg-hero-alternative {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sg-hero-alternative .sg-hero-copy {
        order: -1;
    }
}

@media (max-width: 820px) {

    body:is(.dreampc, .sg-modern) .sg-site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo tools"
            "navigation navigation";
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
    }

    body:is(.dreampc, .sg-modern) .sg-logo-image {
        width: 190px;
    }

    body:is(.dreampc, .sg-modern) .sg-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .js body:is(.dreampc, .sg-modern) .sg-main-nav {
        display: none;
    }

    .js body:is(.dreampc, .sg-modern) .sg-main-nav.is-open {
        display: grid;
    }

    body:is(.dreampc, .sg-modern) .sg-main-nav {
        width: 100%;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
        padding-top: 4px;
    }

    body:is(.dreampc, .sg-modern) .sg-main-nav > a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 14px;
        text-align: left;
    }

    body:is(.dreampc, .sg-modern) .top-search {
        order: -1;
        width: 100%;
        flex: none;
    }

    body:is(.dreampc, .sg-modern) #searchform,
    body:is(.dreampc, .sg-modern) .sg-search {
        width: 100%;
    }

    body:is(.dreampc, .sg-modern) #searchform #s {
        width: 100%;
        height: 44px;
    }

    body:is(.dreampc, .sg-modern) .sg-legal-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 18px;

        margin-top: 4px;
        padding: 12px 4px 2px;
        border-top: 1px solid var(--sg-border);
    }

    body:is(.dreampc, .sg-modern) .sg-legal-nav a {
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--sg-muted);
        font-size: 0.86rem;
    }

    body:is(.dreampc, .sg-modern) .sg-nav-dropdown {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        width: 100%;
        border-radius: 14px;
        background: transparent;
    }

    body:is(.dreampc, .sg-modern)
    .sg-main-nav
    .sg-nav-dropdown
    > .sg-nav-parent {
        width: 100%;
        padding: 12px 16px;
        border-radius: 14px 0 0 14px;
        text-align: left;
    }

    body:is(.dreampc, .sg-modern) .sg-submenu-toggle {
        width: 44px;
        min-width: 44px;
        border-radius: 0 14px 14px 0;
    }

    body:is(.dreampc, .sg-modern) .sg-submenu {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: 6px;
        padding: 6px;
        border-radius: 14px;
        box-shadow: none;
    }

    body:is(.dreampc, .sg-modern)
    .sg-main-nav
    .sg-submenu
    a {
        padding: 11px 12px;
    }

    body:is(.dreampc, .sg-modern) .sg-dreampc,
    body:is(.dreampc, .sg-modern) .sg-page,
    body:is(.dreampc, .sg-modern) .sg-hero,
    body:is(.dreampc, .sg-modern) .sg-hero-copy,
    body:is(.dreampc, .sg-modern) .sg-hero-media,
    body:is(.dreampc, .sg-modern) .sg-card-grid,
    body:is(.dreampc, .sg-modern) .sg-component-card {
        min-width: 0;
        max-width: 100%;
    }

    body:is(.dreampc, .sg-modern) .sg-page {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    body:is(.dreampc, .sg-modern) .sg-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 10px;
        padding: 20px;
    }

body:is(.dreampc, .sg-modern) .sg-hero-media {
        order: -1;
        width: 100%;
        padding: 16px;
    }

    body:is(.dreampc, .sg-modern) .sg-hero-media img {
        width: 100%;
        max-width: 520px;
    }

    body:is(.dreampc, .sg-modern) .sg-hero-copy {
        width: 100%;
    }

    body:is(.dreampc, .sg-modern) .sg-hero h1 {
        max-width: 100%;
        font-size: clamp(1.55rem, 7vw, 2.45rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    body:is(.dreampc, .sg-modern) .sg-subtitle,
    body:is(.dreampc, .sg-modern) .sg-price-note,
    body:is(.dreampc, .sg-modern) .sg-summary-list {
        max-width: 100%;
    }

    body:is(.dreampc, .sg-modern) .sg-price-note {
        display: block;
        width: 100%;
        border-radius: 18px;
    }

    body:is(.dreampc, .sg-modern) .sg-summary-list,
    body:is(.dreampc, .sg-modern) .sg-component-list {
        padding-left: 1.25rem;
    }

    body:is(.dreampc, .sg-modern) .sg-summary-list li,
    body:is(.dreampc, .sg-modern) .sg-component-list li {
        overflow-wrap: anywhere;
    }

    body:is(.dreampc, .sg-modern) .sg-card-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 14px;
    }

    body:is(.dreampc, .sg-modern) .sg-component-card {
        width: 100%;
    }
}

/* =========================================================
   Kleine Smartphones
   ========================================================= */

@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    body:is(.dreampc, .sg-modern) .sg-logo-image {
        width: 175px;
    }

    body:is(.dreampc, .sg-modern) .theme-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
    }

    body:is(.dreampc, .sg-modern) .theme-toggle__text {
        display: none;
    }

    body:is(.dreampc, .sg-modern) .sg-component-card {
        padding: 16px;
    }
}

@media (max-width: 360px) {
    body:is(.dreampc, .sg-modern) .sg-logo-image {
        width: 155px;
    }
}

/* =========================================================
   Redaktionelle Transparenzhinweise
   ========================================================= */

.sg-disclosure {
    max-width: 1180px;
    margin: 10px auto 0;
    padding: 0 18px;
}

.sg-disclosure-heading {
    margin-bottom: 16px;
}

.sg-disclosure-heading .sg-kicker {
    margin-bottom: 5px;
}

.sg-disclosure-heading h2 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sg-disclosure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sg-disclosure-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: start;

    padding: 18px;

    background: var(--sg-surface);

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
}

.sg-disclosure-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;
    background: var(--sg-accent-soft);
    color: var(--sg-accent-strong);

    font-size: 1rem;
    font-weight: 800;
}

.sg-disclosure-card h3 {
    margin: 1px 0 7px;
    color: var(--sg-text);
    font-size: 0.98rem;
    line-height: 1.3;
}

.sg-disclosure-card p {
    margin: 0;
    color: var(--sg-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

@media (max-width: 720px) {
    .sg-disclosure {
        margin-top: 10px;
        padding-inline: 16px;
    }

    .sg-disclosure-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Zusätzliche Inhaltskomponenten
   ========================================================= */

.sg-build-grid {
    display: grid;
    gap: 18px;
}

.sg-build-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1.52fr);
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sg-build-card__media {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 24px;
    background: var(--sg-surface-soft);
}

.sg-build-card__media img {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 260px;
    object-fit: contain;
}

.sg-build-card__content {
    padding: clamp(22px, 4vw, 34px);
}

.sg-build-badge,
.sg-topic-status {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: var(--sg-surface-soft);
    color: var(--sg-accent);
    font-size: 0.76rem;
    font-weight: 800;
}

.sg-build-card h2,
.sg-topic-card h2,
.sg-dream-teaser h2 {
    margin: 12px 0 0;
    color: var(--sg-text);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.sg-build-subtitle,
.sg-dream-subtitle {
    margin: 8px 0 20px;
    color: var(--sg-muted);
    font-weight: 650;
}

.sg-build-specs {
    display: grid;
    gap: 0;
    margin: 0;
}

.sg-build-specs > div {
    display: grid;
    grid-template-columns: minmax(125px, 0.35fr) minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--sg-border);
}

.sg-build-specs dt {
    color: var(--sg-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.sg-build-specs dd {
    margin: 0;
    color: var(--sg-text);
    line-height: 1.45;
}

.sg-build-status {
    margin: 18px 0 0;
    color: var(--sg-muted);
    font-size: 0.82rem;
}

.sg-system-categories {
    margin: 48px 0;
}

.sg-category-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sg-category-links a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 16px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    color: var(--sg-text);
}

.sg-category-links a:hover,
.sg-category-links a:focus-visible {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
    outline: none;
}

.sg-category-links span {
    font-weight: 800;
}

.sg-category-links small {
    color: var(--sg-muted);
}

.sg-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 48px 0;
}

.sg-topic-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-surface);
}

.sg-topic-card > img {
    width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.sg-topic-card p:not(.sg-kicker) {
    color: var(--sg-muted);
    line-height: 1.65;
}

.sg-dream-teaser {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(24px, 5vw, 52px);
    align-items: center;
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: linear-gradient(
        135deg,
        var(--sg-surface) 0%,
        var(--sg-surface-soft) 100%
    );
}

.sg-dream-teaser__media img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.sg-dream-teaser p:not(.sg-kicker, .sg-dream-subtitle) {
    color: var(--sg-muted);
    line-height: 1.7;
}

.sg-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--sg-accent);
    color: var(--sg-surface);
    font-weight: 800;
}

.sg-primary-link:hover,
.sg-primary-link:focus-visible {
    background: var(--sg-accent-strong);
    outline: none;
}

.sg-empty-note {
    padding: 15px 17px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface-soft);
    color: var(--sg-muted);
}

html[data-theme="dark"] body:is(.dreampc, .sg-modern) .sg-primary-link {
    color: #111923;
}

@media (max-width: 850px) {
    .sg-build-card,
    .sg-dream-teaser {
        grid-template-columns: 1fr;
    }

    .sg-build-card__media {
        min-height: 190px;
    }

    .sg-topic-grid {
        grid-template-columns: 1fr;
    }

    .sg-category-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {

    .sg-build-specs > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sg-category-links,
    .sg-topic-card {
        grid-template-columns: 1fr;
    }

    .sg-topic-card > img {
        max-width: 180px;
        margin: 0 auto;
    }
}

/* =========================================================
   PC-Systeme: kompakte Kategorien und Auswahlmenü
   ========================================================= */

.sg-category-links--systems {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.sg-category-links--systems a {
    min-height: 58px;
    padding: 10px 13px;
    justify-content: center;
    border-radius: 14px;
}

.sg-category-links--systems span {
    font-size: 0.92rem;
    line-height: 1.25;
}

.sg-category-links--systems small {
    font-size: 0.75rem;
    line-height: 1.2;
}

.sg-category-select-form {
    margin-top: 18px;
}

.sg-category-select-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--sg-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.sg-category-select-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.sg-category-select-row select {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 40px 0 13px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font: inherit;
    cursor: pointer;
}

.sg-category-select-row select:focus {
    border-color: var(--sg-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.16);
}

.sg-category-select-row button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--sg-accent);
    border-radius: 12px;
    background: var(--sg-accent);
    color: var(--sg-surface);
    font-weight: 800;
    cursor: pointer;
}

.sg-category-select-row button:hover,
.sg-category-select-row button:focus-visible {
    background: var(--sg-accent-strong);
    border-color: var(--sg-accent-strong);
    outline: none;
}

html[data-theme="dark"]
body:is(.dreampc, .sg-modern)
.sg-category-select-row button {
    color: #111923;
}

@media (max-width: 980px) {
    .sg-category-links--systems {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .sg-category-links--systems {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 440px) {
    .sg-category-links--systems {
        grid-template-columns: 1fr;
    }

    .sg-category-select-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PC-Bauvorschläge: Gehäuse-Farbauswahl
   ========================================================= */

.sg-color-picker {
    align-content: center;
}

.sg-color-picker__image {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 230px;
}

.sg-build-card__media .sg-color-picker__image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 245px;
    object-fit: contain;
}

.sg-color-picker__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px 12px;
    margin-top: 14px;
}

.sg-color-picker__label {
    color: var(--sg-muted);
    font-size: 0.82rem;
}

.sg-color-picker__label strong {
    color: var(--sg-text);
}

.sg-color-picker__swatches {
    display: flex;
    gap: 7px;
}

.sg-color-swatch {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    background: var(--sg-surface);
    cursor: pointer;
}

.sg-color-swatch img {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.sg-color-swatch:hover,
.sg-color-swatch:focus-visible,
.sg-color-swatch.is-active {
    border-color: var(--sg-accent);
    outline: none;
}

.sg-color-swatch.is-active {
    box-shadow: 0 0 0 3px var(--sg-accent-soft);
}

@media (max-width: 850px) {
    .sg-color-picker__image {
        min-height: 190px;
    }
}

/* =========================================================
   Portal-Startseite: redaktionelle Übersicht und Verzeichnis
   ========================================================= */

.sg-portal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;

    padding:
        clamp(18px, 2vw, 24px)
        clamp(28px, 5vw, 58px);

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background:
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(238, 242, 245, 0.92) 100%
        );
    box-shadow: var(--sg-shadow);
}

html[data-theme="dark"] .sg-portal-intro {
    background:
        linear-gradient(
            125deg,
            rgba(24, 33, 43, 0.96) 0%,
            rgba(32, 43, 55, 0.92) 100%
        );
}

.sg-portal-intro h1 {
    max-width: 820px;
    margin: 8px 0 0;
    color: var(--sg-text);
    font-size: clamp(1.35rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.sg-portal-intro__copy > p:not(.sg-kicker) {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--sg-muted);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.72;
}

.sg-portal-intro__panel {
    padding: 22px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .sg-portal-intro__panel {
    background: rgba(17, 25, 35, 0.52);
}

.sg-portal-primary-links {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.sg-portal-primary-links a {
    display: grid;
    gap: 2px;
    padding: 13px 14px;
    border-radius: 13px;
    color: var(--sg-text);
}

.sg-portal-primary-links a::after {
    content: "→";
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--sg-accent);
    font-size: 1.1rem;
}

.sg-portal-primary-links a:hover,
.sg-portal-primary-links a:focus-visible {
    background: var(--sg-surface-soft);
    outline: none;
}

.sg-portal-primary-links strong,
.sg-portal-primary-links span {
    grid-column: 1;
}

.sg-portal-primary-links strong {
    font-size: 0.95rem;
}

.sg-portal-primary-links span {
    color: var(--sg-muted);
    font-size: 0.78rem;
}

.sg-affiliate-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px auto 0;
    padding: 9px 14px;
    border: 2px solid var(--sg-accent);
    border-radius: 13px;
    background: var(--sg-accent-soft);
    color: var(--sg-text);
    font-size: 0.78rem;
    line-height: 1.4;
    width: min(100%, 980px);
}

html[data-theme="dark"] .sg-affiliate-note {
    background: var(--sg-accent-soft);
}

.sg-affiliate-note .sg-affiliate-label {
    display: inline-block;
    flex: 0 0 auto;

    width: 60px;
    max-width: none;
    height: auto;

    margin: 0 0.2em;
    object-fit: contain;
    vertical-align: -0.35em;
}

.sg-affiliate-note p {
    margin: 0;
}

.sg-affiliate-note strong {
    font-weight: 850;
}

.sg-affiliate-note a {
    color: var(--sg-text);
    font-weight: 800;
}

.sg-affiliate-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline: 3px;
    padding: 2px 6px;
    border: 1px solid var(--sg-accent);
    border-radius: 999px;
    background: var(--sg-accent-soft);
    color: var(--sg-text);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    vertical-align: middle;
}

.sg-affiliate-badge img {
    width: 14px;
    height: 14px;
    margin: 0;
}

.sg-affiliate-badge:hover,
.sg-affiliate-badge:focus-visible {
    border-color: var(--sg-accent-strong);
    color: var(--sg-accent-strong);
    outline: none;
}

.sg-portal-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.sg-portal-shortcuts a {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 16px 17px;
    border: 1px solid var(--sg-border);
    border-radius: 15px;
    background: var(--sg-surface);
}

.sg-portal-shortcuts a:hover,
.sg-portal-shortcuts a:focus-visible {
    border-color: var(--sg-accent);
    outline: none;
}

.sg-portal-shortcuts span {
    color: var(--sg-text);
    font-size: 0.9rem;
    font-weight: 850;
}

.sg-portal-shortcuts small {
    color: var(--sg-muted);
    line-height: 1.4;
}

.sg-portal-section {
    margin-top: clamp(20px, 3.2vw, 34px);
    scroll-margin-top: 24px;
}

.sg-portal-section--compact {
    margin-top: 22px;
}

.sg-section-intro--wide {
    max-width: none;
    margin: 0 0 16px;
}

.sg-section-intro--wide h2 {
    margin-bottom: 0;
}

.sg-utility-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.sg-utility-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid var(--sg-border);
    border-radius: 14px;
    background: var(--sg-surface);
}

.sg-utility-link:hover,
.sg-utility-link:focus-visible {
    border-color: var(--sg-accent);
    outline: none;
}

.sg-utility-link img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.sg-utility-link span {
    min-width: 0;
    color: var(--sg-text);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sg-curated-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sg-curated-card {
    min-width: 0;
    padding: clamp(19px, 3vw, 26px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sg-curated-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.sg-curated-card__header h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: 1.04rem;
    letter-spacing: -0.01em;
}

.sg-curated-card__header span {
    flex: 0 0 auto;
    color: var(--sg-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.sg-link-list,
.sg-timeline-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-timeline-card--technology .sg-timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.sg-timeline-card--technology .sg-timeline-list li {
    padding: 8px 0 8px 14px;
    font-size: 0.84rem;
    line-height: 1.42;
}

.sg-timeline-card--technology .sg-timeline-list li:nth-child(-n + 2) {
    border-top: 0;
}

.sg-timeline-card--technology .sg-timeline-list li::before {
    top: 1rem;
}

.sg-link-list li,
.sg-timeline-list li {
    position: relative;
    min-width: 0;
    padding: 10px 0 10px 16px;
    border-top: 1px solid var(--sg-border);
    color: var(--sg-muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.sg-link-list li:first-child,
.sg-timeline-list li:first-child {
    border-top: 0;
}

.sg-link-list li::before,
.sg-timeline-list li::before {
    content: "";
    position: absolute;
    top: 1.18rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sg-accent);
    opacity: 0.72;
}

.sg-link-list a,
.sg-timeline-list a {
    color: var(--sg-text);
    font-weight: 760;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.15em;
}

.sg-link-list a:hover,
.sg-link-list a:focus-visible,
.sg-timeline-list a:hover,
.sg-timeline-list a:focus-visible {
    color: var(--sg-accent);
    text-decoration-color: currentColor;
    outline: none;
}

.sg-link-list img,
.sg-timeline-list img {
    display: inline-block;
    width: auto;
    max-width: 88px;
    max-height: 18px;
    margin-inline: 2px;
    vertical-align: middle;
}

.sg-more-links {
    margin-top: 4px;
    border-top: 1px solid var(--sg-border);
}

.sg-more-links summary {
    padding: 12px 0 2px;
    color: var(--sg-accent);
    font-size: 0.8rem;
    font-weight: 850;
    cursor: pointer;
}

.sg-more-links summary:focus-visible {
    outline: 2px solid var(--sg-accent);
    outline-offset: 3px;
}

.sg-more-links[open] summary {
    margin-bottom: 5px;
}

.sg-recommendation-summary {
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface-soft);
}

.sg-recommendation-summary > div:not(.sg-recommendation-summary__links) {
    display: grid;
    gap: 2px;
    min-width: 110px;
}

.sg-recommendation-summary strong {
    color: var(--sg-text);
    font-size: 1.45rem;
    line-height: 1;
}

.sg-recommendation-summary span {
    color: var(--sg-muted);
    font-size: 0.74rem;
    font-weight: 750;
}

.sg-recommendation-summary__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sg-recommendation-summary__links a {
    padding: 8px 10px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font-size: 0.76rem;
    font-weight: 800;
}

.sg-recommendation-summary__links a:hover,
.sg-recommendation-summary__links a:focus-visible {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
    outline: none;
}

.sg-recommendation-pickers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sg-url-picker {
    min-width: 0;
}

.sg-url-picker label {
    display: block;
    min-height: 2.4em;
    margin-bottom: 3px;
    color: var(--sg-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.sg-url-picker > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
}

.sg-url-picker select {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 36px 0 11px;
    border: 1px solid var(--sg-border);
    border-radius: 11px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font: inherit;
    font-size: 0.78rem;
}

.sg-url-picker select:focus {
    border-color: var(--sg-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.15);
}

.sg-url-picker button {
    min-width: 70px;
    height: 43px;
    padding: 0 12px;
    border: 1px solid var(--sg-accent);
    border-radius: 11px;
    background: var(--sg-accent);
    color: var(--sg-surface);
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
}

.sg-url-picker button:hover,
.sg-url-picker button:focus-visible {
    background: var(--sg-accent-strong);
    border-color: var(--sg-accent-strong);
    outline: none;
}

html[data-theme="dark"] .sg-url-picker button {
    color: #111923;
}

.sg-noscript-note {
    color: var(--sg-muted);
    font-size: 0.78rem;
}

.sg-directory-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "search actions"
        "status actions";
    gap: 8px 16px;
    align-items: end;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
}

.sg-directory-toolbar label {
    grid-area: search;
    display: grid;
    gap: 7px;
}

.sg-directory-toolbar label span {
    color: var(--sg-text);
    font-size: 0.78rem;
    font-weight: 850;
}

.sg-directory-toolbar input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 1px solid var(--sg-border);
    border-radius: 13px;
    background: var(--sg-surface-soft);
    color: var(--sg-text);
}

.sg-directory-toolbar input::placeholder {
    color: var(--sg-muted);
}

.sg-directory-toolbar input:focus {
    border-color: var(--sg-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.15);
}

.sg-directory-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.sg-directory-actions button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--sg-border);
    border-radius: 11px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.sg-directory-actions button:hover,
.sg-directory-actions button:focus-visible {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
    outline: none;
}

.sg-directory-status {
    grid-area: status;
    margin: 0;
    color: var(--sg-muted);
    font-size: 0.74rem;
}

.sg-directory-groups {
    display: grid;
    gap: 18px;
}

.sg-directory-cluster {
    min-width: 0;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: rgba(255, 255, 255, 0.68);
}

html[data-theme="dark"] .sg-directory-cluster {
    background: rgba(24, 33, 43, 0.68);
}

.sg-directory-cluster[hidden] {
    display: none;
}

.sg-directory-cluster__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.sg-directory-cluster__header h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: 1.12rem;
}

.sg-directory-cluster__header p {
    margin: 4px 0 0;
    color: var(--sg-muted);
    font-size: 0.82rem;
}

.sg-directory-cluster__header > span {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--sg-surface-soft);
    color: var(--sg-muted);
    font-size: 0.7rem;
    font-weight: 800;
}

.sg-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sg-directory-item {
    min-width: 0;
    border: 1px solid var(--sg-border);
    border-radius: 13px;
    background: var(--sg-surface);
    overflow: hidden;
}

.sg-directory-item[hidden] {
    display: none;
}

.sg-directory-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 12px 14px;
    color: var(--sg-text);
    cursor: pointer;
    list-style: none;
}

.sg-directory-item summary::-webkit-details-marker {
    display: none;
}

.sg-directory-item summary::after {
    content: "+";
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--sg-accent);
    font-size: 1.15rem;
    font-weight: 600;
}

.sg-directory-item[open] summary::after {
    content: "−";
}

.sg-directory-item summary:hover,
.sg-directory-item summary:focus-visible {
    background: var(--sg-surface-soft);
    outline: none;
}

.sg-directory-item summary span {
    min-width: 0;
    padding-right: 26px;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.sg-directory-item summary small {
    grid-column: 1;
    color: var(--sg-muted);
    font-size: 0.68rem;
}

.sg-directory-item__content {
    padding: 2px 14px 14px;
    border-top: 1px solid var(--sg-border);
}

.sg-directory-item__content .sg-link-list li,
.sg-curated-card .sg-link-list li {
    font-size: 0.84rem;
}

.sg-timeline-stack {
    display: grid;
    gap: 10px;
}

.sg-timeline-card {
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    overflow: hidden;
}

.sg-timeline-card > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 78px;
    padding: 17px 20px;
    cursor: pointer;
    list-style: none;
}

.sg-timeline-card > summary::-webkit-details-marker {
    display: none;
}

.sg-timeline-card > summary:hover,
.sg-timeline-card > summary:focus-visible {
    background: var(--sg-surface-soft);
    outline: none;
}

.sg-timeline-card > summary span {
    display: grid;
    gap: 4px;
}

.sg-timeline-card > summary strong {
    color: var(--sg-text);
    font-size: 1rem;
}

.sg-timeline-card > summary small {
    color: var(--sg-muted);
}

.sg-timeline-card > summary em {
    color: var(--sg-muted);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.sg-timeline-card__content {
    max-height: 620px;
    overflow: auto;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--sg-border);
}

.sg-timeline-card--technology .sg-timeline-card__content {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
}

.sg-timeline-list li {
    padding-left: 22px;
    font-size: 0.84rem;
    line-height: 1.42;
}

.sg-timeline-list li::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px var(--sg-accent-soft);
}

.sg-service-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.sg-service-logos a {
    display: grid;
    place-items: center;
    min-height: 84px;
    padding: 14px;
    border: 1px solid var(--sg-border);
    border-radius: 14px;
    background: var(--sg-surface);
}

.sg-service-logos a:hover,
.sg-service-logos a:focus-visible {
    border-color: var(--sg-accent);
    outline: none;
}

.sg-service-logos img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.sg-portal-section--services {
    margin-top: 8px;
}

.sg-portal-page {
    padding-bottom: 22px;
}

.sg-portal-page + .sg-footer {
    padding-top: 10px;
}

@media (max-width: 1050px) {
    .sg-portal-intro {
        grid-template-columns: 1fr;
    }

    .sg-portal-intro__panel {
        max-width: none;
    }

    .sg-utility-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sg-recommendation-pickers {
        grid-template-columns: 1fr;
    }

    .sg-url-picker label {
        min-height: 0;
    }
}

@media (max-width: 850px) {
    .sg-portal-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-curated-grid,
    .sg-directory-grid {
        grid-template-columns: 1fr;
    }

    .sg-recommendation-summary {
        grid-template-columns: repeat(3, minmax(0, auto));
    }

    .sg-recommendation-summary__links {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .sg-service-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .sg-portal-intro {
        padding: 24px 20px;
    }

    .sg-portal-intro h1 {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
    }

    .sg-affiliate-note {
        align-items: flex-start;
    }

    .sg-recommendation-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .sg-recommendation-summary > div:not(.sg-recommendation-summary__links) {
        min-width: 0;
    }

    .sg-recommendation-summary strong {
        font-size: 1.22rem;
    }

    .sg-utility-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-directory-toolbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "search"
            "actions"
            "status";
        align-items: stretch;
    }

    .sg-directory-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .sg-directory-actions button {
        width: 100%;
    }

    .sg-url-picker > div {
        grid-template-columns: 1fr;
    }

    .sg-url-picker button {
        width: 100%;
    }

    .sg-timeline-card > summary {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sg-timeline-card--technology .sg-timeline-list {
        grid-template-columns: 1fr;
    }

    .sg-timeline-card--technology .sg-timeline-list li:nth-child(2) {
        border-top: 1px solid var(--sg-border);
    }

    .sg-timeline-card__content {
        max-height: 520px;
        padding-inline: 14px;
    }
}

@media (max-width: 440px) {
    .sg-portal-shortcuts,
    .sg-utility-strip,
    .sg-service-logos {
        grid-template-columns: 1fr;
    }

    .sg-recommendation-summary {
        grid-template-columns: 1fr;
    }

    .sg-recommendation-summary__links {
        grid-column: auto;
    }

    .sg-utility-link {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .sg-service-logos a {
        min-height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-directory-item summary,
    .sg-timeline-card > summary {
        scroll-behavior: auto;
    }
}

/* =========================================================
   Startseite: Produktempfehlungen und redaktioneller Feed
   ========================================================= */

.sg-home-page {
    padding-bottom: 10px;
}

.sg-home-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: stretch;
}

/* Themenwelt-Hero: Bildbox an das Bildformat anpassen */
.sg-home-hero .sg-hero-media {
    align-self: center;
    width: 100%;
    padding: clamp(12px, 1.5vw, 18px);
}

.sg-home-hero .sg-hero-media img {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 14px;
}

.sg-home-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sg-home-hero .sg-subtitle {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.6;
}

.sg-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sg-home-actions .sg-primary-link,
.sg-home-actions .sg-secondary-link {
    margin-top: 0;
}

.sg-secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: var(--sg-surface);
    color: var(--sg-text);
    font-weight: 800;
}

.sg-secondary-link:hover,
.sg-secondary-link:focus-visible {
    border-color: var(--sg-accent);
    background: var(--sg-surface-soft);
    outline: none;
}

.sg-home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 28px 0 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    background: var(--sg-border);
}

.sg-home-stat2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 28px 0 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    background: var(--sg-border);
}

.sg-home-stats > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 14px 16px;
    background: var(--sg-surface);
}

.sg-home-stats dt {
    order: 2;
    color: var(--sg-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
}

.sg-home-stats dd {
    order: 1;
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.sg-home-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    min-width: 0;
    align-self: center;
    height: auto;
}

.sg-home-visual a {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 20px;
    background: var(--sg-surface-soft);
}

.sg-home-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    transition: transform 180ms ease;
}

.sg-home-visual a:hover img,
.sg-home-visual a:focus-visible img {
    transform: scale(1.025);
}

.sg-home-visual a:focus-visible {
    outline: 3px solid var(--sg-accent);
    outline-offset: 2px;
}

.sg-home-visual span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 11px;
    background: rgba(12, 18, 28, 0.78);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.25;
    backdrop-filter: blur(8px);
}

.sg-home-section {
    margin-top: clamp(12px, 2vw, 24px);
    scroll-margin-top: 24px;
}

.sg-product-world-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sg-product-world-card {
    display: grid;
    grid-template-rows: 190px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-surface);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.sg-product-world-card__media {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--sg-border);
    background: var(--sg-surface-soft);
}

.sg-product-world-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.sg-product-world-card__media:hover img,
.sg-product-world-card__media:focus-visible img {
    transform: scale(1.025);
}

.sg-product-world-card__media:focus-visible {
    outline: 3px solid var(--sg-accent);
    outline-offset: -3px;
}

.sg-product-world-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px;
}

.sg-product-world-card h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: 1.18rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.sg-product-world-card h3 a:hover,
.sg-product-world-card h3 a:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-product-world-card__content > p {
    margin: 10px 0 16px;
    color: var(--sg-muted);
    line-height: 1.6;
}

.sg-product-world-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    margin-bottom: 15px;
}

.sg-product-world-card__stats span {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--sg-surface-soft);
    color: var(--sg-muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.sg-product-world-card__stats strong {
    color: var(--sg-text);
}

.sg-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sg-accent);
    font-size: 0.86rem;
    font-weight: 850;
}

.sg-text-link:hover,
.sg-text-link:focus-visible {
    color: var(--sg-accent-strong);
    outline: none;
}

.sg-empty-note--home code{
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    font-size: 0.9em;
}

.sg-product-story {
    display: grid;
    grid-template-rows: 205px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.sg-product-story--featured {
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    grid-template-rows: none;
    min-height: 390px;
}

.sg-product-story__media {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 22px;
    overflow: hidden;
    border-bottom: 1px solid var(--sg-border);
    background:
        radial-gradient(
            circle at 50% 35%,
            var(--sg-surface) 0%,
            var(--sg-surface-soft) 74%
        );
}

.sg-product-story--featured .sg-product-story__media {
    border-right: 1px solid var(--sg-border);
    border-bottom: 0;
}

.sg-product-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
    transition: transform 180ms ease;
    mix-blend-mode: multiply;
}

html[data-theme="dark"] .sg-product-story__media img {
    mix-blend-mode: normal;
}

.sg-product-story__media:hover img,
.sg-product-story__media:focus-visible img {
    transform: scale(1.025);
}

.sg-product-story__media:focus-visible {
    outline: 3px solid var(--sg-accent);
    outline-offset: -3px;
}

.sg-product-story__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px;
}

.sg-product-story--featured .sg-product-story__content {
    justify-content: center;
    padding: clamp(25px, 4vw, 42px);
}

.sg-product-story__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 11px;
}

.sg-product-story__meta span,
.sg-product-story__meta time {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 8px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    background: var(--sg-surface-soft);
    color: var(--sg-muted);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.15;
}

.sg-product-story__meta span:first-child {
    color: var(--sg-text);
}

.sg-product-story__path {
    margin: 0 0 6px;
    color: var(--sg-muted);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.35;
}

.sg-product-story h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.1rem, 2vw, 1.42rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.sg-product-story--featured h3 {
    font-size: clamp(1.55rem, 3.5vw, 2.35rem);
    letter-spacing: -0.04em;
}

.sg-product-story h3 a:hover,
.sg-product-story h3 a:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-product-story__summary {
    display: -webkit-box;
    margin: 12px 0 0;
    overflow: hidden;
    color: var(--sg-muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.sg-product-story--featured .sg-product-story__summary {
    display: block;
    max-width: 720px;
    font-size: 1.02rem;
}

.sg-product-story__price {
    margin: 12px 0 0;
    color: var(--sg-muted);
    font-size: 0.84rem;
}

.sg-product-story__price strong {
    color: var(--sg-text);
}

.sg-product-story__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
}

.sg-product-story__links > a:not(.sg-text-link) {
    color: var(--sg-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.sg-product-story__links > a:not(.sg-text-link):hover,
.sg-product-story__links > a:not(.sg-text-link):focus-visible {
    color: var(--sg-text);
    outline: none;
}

.sg-product-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.sg-empty-note--home {
    min-height: 110px;
    display: grid;
    place-items: center;
    text-align: center;
}

.sg-home-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sg-home-principles .sg-component-card {
    min-height: 190px;
}

.sg-home-principles .sg-component-card p {
    margin: 0;
    color: var(--sg-muted);
    line-height: 1.6;
}

.sg-home-principle-number {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--sg-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.sg-home-portal-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin-top: clamp(12px, 2vw, 24px);
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: linear-gradient(
            135deg,
            var(--sg-surface) 0%,
            var(--sg-surface-soft) 100%
        );
}

.sg-home-portal-teaser h2 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.sg-home-portal-teaser p:not(.sg-kicker) {
    max-width: 760px;
    margin: 11px 0 0;
    color: var(--sg-muted);
    line-height: 1.65;
}

.sg-home-portal-teaser .sg-primary-link {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 960px) {
    .sg-home-hero {
        grid-template-columns: 1fr;
    }

    .sg-home-visual {
        min-height: 0;
    }

    .sg-product-world-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-product-story--featured {
        grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    }
}

@media (max-width: 760px) {
    .sg-home-stats,
.sg-home-principles,
    .sg-product-story-grid {
        grid-template-columns: 1fr;
    }

    .sg-product-world-grid {
        grid-template-columns: 1fr;
    }

    .sg-product-world-card{
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 190px 1fr;
    }

    .sg-product-story--featured {
        grid-template-columns: 1fr;
        grid-template-rows: 250px 1fr;
        min-height: 0;
    }

    .sg-product-story--featured .sg-product-story__media {
        border-right: 0;
        border-bottom: 1px solid var(--sg-border);
    }

    .sg-home-portal-teaser {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sg-home-portal-teaser .sg-primary-link {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .sg-home-actions {
        align-items: stretch;
    }

    .sg-home-actions > a {
        justify-content: center;
        width: 100%;
    }

    .sg-home-visual {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 150px);
        min-height: 0;
    }

    .sg-product-story__meta span,
    .sg-product-story__meta time {
        font-size: 0.66rem;
    }
}

/* Kaufempfehlungsseite: Hero vertikal kompakter */

.sg-recommendation-hero {
    padding:
        clamp(18px, 2vw, 24px)
        clamp(24px, 4vw, 46px);
}

/* =========================================================
   Startseite: vier Themenwelten und Kategorieauswahl
   ========================================================= */

.sg-home-page + .sg-footer {
    padding-top: 9px;
}

.sg-product-world-grid--recommendations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.sg-product-world-grid--recommendations .sg-product-world-card {
    grid-template-rows: 210px 1fr;
}

.sg-product-world-card__heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.sg-product-world-card__heading h3 {
    min-width: 0;
}

.sg-product-world-card__world-link {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--sg-border);
    border-radius: 999px;
    color: var(--sg-text);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
}

.sg-product-world-card__world-link:hover,
.sg-product-world-card__world-link:focus-visible {
    border-color: var(--sg-accent);
    background: var(--sg-surface-soft);
    outline: none;
}

.sg-product-world-card__stats--detailed {
    margin-top: 2px;
    margin-bottom: 4px;
}

.sg-product-world-card__stats--detailed span {
    white-space: nowrap;
}

.sg-product-world-grid--recommendations .sg-recommendation-pickers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}

.sg-product-world-grid--recommendations .sg-url-picker {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    column-gap: 7px;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.sg-product-world-grid--recommendations .sg-url-picker > label {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    color: var(--sg-text);
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1.25;
}

.sg-product-world-grid--recommendations .sg-url-picker > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.sg-product-world-grid--recommendations .sg-url-picker select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
}

.sg-product-world-grid--recommendations .sg-url-picker button {
    min-width: 78px;
    min-height: 48px;
}

.sg-product-world-grid--recommendations .sg-noscript-note {
    width: 100%;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .sg-product-world-grid--recommendations .sg-url-picker {
        grid-template-columns: 190px minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .sg-product-world-grid--recommendations {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sg-home-visual {
        grid-template-rows: repeat(2, 160px);
    }
}

@media (max-width: 700px) {
    .sg-product-world-grid--recommendations .sg-url-picker {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .sg-product-world-grid--recommendations .sg-url-picker > label {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .sg-product-world-card__heading {
        display: grid;
    }

    .sg-product-world-card__world-link {
        justify-self: start;
    }

    .sg-product-world-card__stats--detailed span {
        white-space: normal;
    }
}

/* =========================================================
   Zurück-nach-oben-Button
   ========================================================= */

.sg-back-to-top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 5000;

    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;

    border: 1px solid var(--sg-border, #d9e0e8);
    border-radius: 999px;
    background: var(--sg-surface, #ffffff);
    color: var(--sg-text, #1c2430);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);

    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;

    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease;
}

.sg-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.sg-back-to-top:hover,
.sg-back-to-top:focus-visible {
    background: var(--sg-surface-soft, #eef2f5);
    outline: none;
}

/* Ankerziel unterhalb des Sticky-Headers positionieren */
#themenverzeichnis {
    scroll-margin-top: 100px;
}

/* =========================================================
   Allgemeine redaktionelle Inhaltsseiten
   Zum Beispiel: Impressum, Datenschutz, Über uns
   ========================================================= */

/* Aktuelle Seite im Header hervorheben */
body:is(.dreampc, .sg-modern)
.sg-main-nav
a[aria-current="page"],
body:is(.dreampc, .sg-modern)
.sg-legal-nav
a[aria-current="page"] {
    color: var(--sg-text);
    background: var(--sg-surface);
    border-color: var(--sg-accent);
}

/* =========================================================
   Inhaltslayout mit seitlicher Navigation
   ========================================================= */

.sg-content-layout {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

/* =========================================================
   Seitliches Inhaltsverzeichnis
   ========================================================= */

.sg-content-nav {
    position: sticky;
    top: 104px;

    max-height: calc(100vh - 126px);
    overflow: auto;

    padding: 18px;

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-md);
    background: var(--sg-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

    scrollbar-gutter: stable;
}

.sg-content-nav h2 {
    margin: 0 0 12px;

    color: var(--sg-text);
    font-size: 1rem;
    line-height: 1.25;
}

.sg-content-nav ul {
    display: grid;
    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.sg-content-nav ul ul {
    gap: 2px;

    margin: 5px 0 2px 9px;
    padding-left: 11px;

    border-left: 1px solid var(--sg-border);
}

.sg-content-nav a {
    display: block;

    padding: 7px 9px;

    border-radius: 9px;

    color: var(--sg-muted);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.3;
}

.sg-content-nav ul ul a {
    padding-block: 5px;

    font-size: 0.76rem;
    font-weight: 650;
}

.sg-content-nav a:hover,
.sg-content-nav a:focus-visible {
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    outline: none;
}

/* =========================================================
   Inhaltsbereich
   ========================================================= */

.sg-content-stack {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.sg-content-card {
    min-width: 0;

    padding: clamp(22px, 4vw, 38px);

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius-lg);
    background: var(--sg-surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

/*
 * Verhindert, dass Überschriften nach einem Sprunglink
 * hinter dem fixierten Header verschwinden.
 */
.sg-content-card[id],
.sg-prose [id] {
    scroll-margin-top: 112px;
}

/* =========================================================
   Typografie für längere Inhalts- und Rechtstexte
   ========================================================= */

.sg-prose {
    color: var(--sg-text);
}

.sg-prose > :first-child {
    margin-top: 0;
}

.sg-prose > :last-child {
    margin-bottom: 0;
}

.sg-prose h2 {
    max-width: 78ch;
    margin: 0 0 18px;

    color: var(--sg-text);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.sg-prose h3 {
    max-width: 78ch;
    margin: 34px 0 10px;

    color: var(--sg-text);
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sg-prose p,
.sg-prose address,
.sg-prose > ul,
.sg-prose > ol {
    max-width: 78ch;
    margin: 0 0 16px;

    color: var(--sg-text);
    line-height: 1.72;
}

.sg-prose address {
    font-style: normal;
}

.sg-prose a {
    color: var(--sg-accent);
    font-weight: 750;

    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

.sg-prose a:hover,
.sg-prose a:focus-visible {
    color: var(--sg-accent-strong);
    outline: none;
}

.sg-prose small {
    color: var(--sg-muted);
    font-weight: 500;
}

.sg-prose img {
    display: inline-block;

    width: auto;
    max-width: 100%;

    vertical-align: -0.16em;
}

/* Bereits vorhandenes Fakten-Grid innerhalb langer Texte */
.sg-prose .sg-facts-grid {
    max-width: none;
    margin: 4px 0 22px;
}

.sg-prose .sg-facts-grid a {
    color: inherit;
}

/* =========================================================
   Darkmode
   ========================================================= */

html[data-theme="dark"] .sg-content-nav,
html[data-theme="dark"] .sg-content-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   Tablet
   Inhaltsverzeichnis steht oberhalb des Inhalts
   ========================================================= */

@media (max-width: 900px) {
    .sg-content-layout {
        grid-template-columns: 1fr;
    }

    .sg-content-nav {
        position: static;
        max-height: none;
    }

    .sg-content-nav > nav > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 12px;
    }
}

/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 620px) {
    .sg-content-nav > nav > ul,
    .sg-prose .sg-facts-grid {
        grid-template-columns: 1fr;
    }

    .sg-content-card {
        border-radius: var(--sg-radius-md);
    }
}

/* =========================================================
   Hero-Variante für Logos und kompakte Markengrafiken
   ========================================================= */

.sg-hero-media--logo {
    display: grid;
    place-items: center;
    min-height: clamp(230px, 30vw, 340px);
    padding: clamp(30px, 5vw, 54px);
}

.sg-hero-media .sg-hero-logo {
    display: block;

    /*
     * width: auto erhält die natürliche Bildgröße.
     * Das Logo wird dadurch niemals über seine tatsächliche
     * Pixelbreite hinaus vergrößert.
     */
    width: auto;
    max-width: min(100%, 220px);
    height: auto;
    margin: 0;

    object-fit: contain;
}

/* =========================================================
   Produktempfehlungsseite: ergänzende Basisregeln
   ========================================================= */

.sg-recommendation-page .sg-hero-media {
    min-height: 270px;
}

.sg-recommendation-page .sg-home-stats {
    margin-top: 24px;
}

.sg-recommendation-legal p {
    width: 100%;
    max-width: none;
}

.sg-recommendation-legal small {
    display: block;
    width: 100%;
    line-height: 1.7;
}

@media (max-width: 820px) {

    .sg-recommendation-page .sg-hero-media {
        min-height: 210px;
    }
}

@media (max-width: 520px) {

    .sg-recommendation-page .sg-home-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Produktempfehlungsseite: Layout und Produktlisten
   ========================================================= */

.sg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    margin: 0 0 14px;
    color: var(--sg-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.sg-breadcrumb a {
    color: var(--sg-accent);
    font-weight: 800;
}

.sg-breadcrumb a:hover,
.sg-breadcrumb a:focus-visible {
    color: var(--sg-accent-strong);
    text-decoration: underline;
    text-underline-offset: 0.16em;
    outline: none;
}

.sg-breadcrumb [aria-current="page"] {
    color: var(--sg-text);
    font-weight: 800;
}

.sg-recommendation-page {
    padding-top: 20px;
    padding-bottom: 20px;
}

.sg-recommendation-page + .sg-footer {
    padding-top: 13px;
}

.sg-recommendation-page .sg-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: clamp(24px, 4vw, 44px);
}

.sg-recommendation-overview {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 320px;
    padding: 20px;
    background: var(--sg-surface-soft);
    box-shadow: none;
}

.sg-recommendation-overview .sg-home-stats {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.sg-recommendation-overview .sg-home-stats > div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--sg-border);
    background: transparent;
}

.sg-recommendation-overview .sg-home-stats > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.sg-recommendation-overview .sg-home-stats dt {
    order: 1;
    color: var(--sg-muted);
    font-size: 0.78rem;
}

.sg-recommendation-overview .sg-home-stats dd {
    order: 2;
    font-size: 1rem;
    letter-spacing: 0;
}

.sg-recommendation-overview .sg-primary-link {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
}

.sg-recommendation-advice-grid .sg-component-card {
    align-self: start;
}

.sg-recommendation-advice-grid .sg-component-card > .sg-kicker {
    margin-bottom: 7px;
}

.sg-recommendation-advice-grid .sg-link-list strong {
    color: var(--sg-text);
}

/* Hersteller- und Markenempfehlungen */
.sg-brand-section {
    scroll-margin-top: 112px;
}

.sg-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sg-brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(20px, 3vw, 26px);
    overflow: hidden;
}

.sg-brand-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--sg-accent);
    opacity: 0.72;
}

.sg-brand-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sg-brand-card__header .sg-kicker {
    margin: 0 0 6px;
}

.sg-brand-card__header h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.sg-brand-card__header h3 a {
    text-decoration: none;
}

.sg-brand-card__header h3 a:hover,
.sg-brand-card__header h3 a:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-brand-card__external {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--sg-border);
    border-radius: 50%;
    background: var(--sg-surface-soft);
    color: var(--sg-accent);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.sg-brand-card__external:hover,
.sg-brand-card__external:focus-visible {
    border-color: var(--sg-accent);
    background: var(--sg-accent-soft);
    color: var(--sg-accent-strong);
    outline: none;
}

.sg-brand-card__copy {
    margin-top: 16px;
    color: var(--sg-muted);
    font-size: 0.9rem;
    line-height: 1.62;
}

.sg-brand-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 18px;
}

.sg-brand-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sg-text);
    font-size: 0.86rem;
    font-weight: 800;
}

.sg-brand-card__link:hover,
.sg-brand-card__link:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-brand-card__footer .sg-recommendation-partner-html {
    margin-top: 0;
}

@media (max-width: 760px) {
    .sg-brand-grid {
        grid-template-columns: 1fr;
    }
}

.sg-recommendation-copy {
    margin-top: 5px;
    color: var(--sg-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.sg-recommendation-copy > :first-child {
    margin-top: 0;
}

.sg-recommendation-copy > :last-child {
    margin-bottom: 0;
}

.sg-recommendation-inline-links,
.sg-recommendation-partner-html {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 7px;
}

.sg-recommendation-partner-html {
    color: var(--sg-muted);
    font-size: 0.82rem;
}

.sg-recommendation-partner-html img {
    width: auto;
    max-width: 110px;
    max-height: 24px;
    vertical-align: middle;
}

.sg-recommendation-group {
    margin-top: clamp(24px, 4vw, 42px);
    scroll-margin-top: 112px;
}

.sg-recommendation-group:first-of-type {
    margin-top: 0;
}

.sg-product-recommendation-list {
    display: grid;
    gap: 12px;
}

.sg-product-recommendation {
    display: grid;
    grid-template-columns: minmax(120px, 165px) minmax(0, 1fr);
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.sg-product-recommendation--without-media {
    grid-template-columns: minmax(0, 1fr);
}

.sg-product-recommendation__media {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 180px;
    padding: 18px;
    border-right: 1px solid var(--sg-border);
    background:
        radial-gradient(
            circle at 50% 35%,
            var(--sg-surface) 0%,
            var(--sg-surface-soft) 74%
        );
}

.sg-product-recommendation__media a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.sg-product-recommendation__media img {
    display: block;
    width: 100%;
    max-height: 145px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

html[data-theme="dark"] .sg-product-recommendation__media img {
    mix-blend-mode: normal;
}

.sg-product-recommendation__body {
    min-width: 0;
    padding: 20px;
}

.sg-product-recommendation__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sg-product-recommendation__heading h3 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(1.12rem, 2vw, 1.38rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.sg-product-recommendation__heading h3 a:hover,
.sg-product-recommendation__heading h3 a:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-product-recommendation__note {
    max-width: 78ch;
    margin-top: 9px;
    color: var(--sg-muted);
    line-height: 1.62;
}

.sg-product-recommendation__note > :first-child {
    margin-top: 0;
}

.sg-product-recommendation__note > :last-child {
    margin-bottom: 0;
}

.sg-product-recommendation__partner-html {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sg-border);
    color: var(--sg-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.sg-product-recommendation__partner-html img {
    display: inline-block;
    width: auto;
    max-width: 120px;
    max-height: 26px;
    margin-inline: 2px;
    vertical-align: middle;
}

.sg-product-recommendation .sg-product-story__links {
    margin-top: 0;
    padding-top: 15px;
}

.sg-product-recommendation .sg-affiliate-badge {
    margin-inline: 0;
}

.sg-product-affiliate-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sg-product-affiliate-link > a {
    color: var(--sg-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.sg-product-affiliate-link > a:hover,
.sg-product-affiliate-link > a:focus-visible {
    color: var(--sg-text);
    outline: none;
}

.sg-ad-card {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 150px;
    text-align: center;
}

.sg-ad-card img {
    display: block;
    width: auto;
    max-width: min(100%, 260px);
    max-height: 70px;
    object-fit: contain;
}

.sg-ad-card > span {
    color: var(--sg-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.sg-ad-card:hover,
.sg-ad-card:focus-visible {
    border-color: var(--sg-accent);
    outline: none;
}

.sg-ad-card .sg-affiliate-badge img {
    width: 14px;
    height: 14px;
}

.sg-recommendation-legal {
    margin-top: clamp(20px, 3vw, 34px);
}

@media (min-width: 1100px) {
    .sg-recommendation-page .sg-hero h1 {
        white-space: nowrap;
    }
}

@media (max-width: 820px) {
    .sg-recommendation-page .sg-hero {
        grid-template-columns: 1fr;
    }

    .sg-recommendation-overview {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 700px) {
    .sg-product-recommendation {
        grid-template-columns: 1fr;
    }

    .sg-product-recommendation__media {
        min-height: 170px;
        border-right: 0;
        border-bottom: 1px solid var(--sg-border);
    }

    .sg-product-recommendation__media img {
        max-height: 135px;
    }
}

@media (max-width: 520px) {
    .sg-breadcrumb {
        margin-bottom: 10px;
    }

    .sg-product-recommendation__body {
        padding: 17px;
    }

    .sg-product-recommendation__heading {
        display: block;
    }

    .sg-recommendation-overview {
        padding: 17px;
    }
}

.sg-ad-card__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sg-ad-card .sg-ad-card__affiliate-icon {
    display: inline-block;
    flex: 0 0 40px;

    width: 60px;
    height: auto;
    max-width: 60px;
    max-height: 30px;

    margin: 0;
    object-fit: contain;
}

.sg-directory-item [data-directory-entry][hidden] {
    display: none !important;
}

.sg-ad-card__affiliate-info {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.sg-ad-card .sg-ad-card__affiliate-icon {
    display: block;
    width: 50px;
    max-width: 50px;
    height: auto;
    margin: 0;
}

.sg-ad-card__shop-link {
    display: block;
}

/* Support-Kennzahlen nebeneinander */

.sg-home-stats--support {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.sg-home-stats--support > span {
    display: grid;
    place-content: center;
    gap: 5px;

    min-width: 0;
    min-height: 82px;
    padding: 14px 16px;

    border: 1px solid var(--sg-border);
    border-radius: 16px;
    background: var(--sg-surface-soft);

    text-align: center;
}

.sg-home-stats--support strong {
    display: block;

    color: var(--sg-text);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 850;
    line-height: 1;
}

.sg-home-stats--support .sg-home-stats__label {
    color: var(--sg-muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.25;
}

@media (max-width: 360px) {
    .sg-home-stats--support {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Allgemeine kompakte Kennzahlen
   ========================================================= */

.sg-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 14px 0 20px;
}

.sg-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-width: 0;
    min-height: 76px;
    padding: 12px 10px;

    border: 1px solid var(--sg-border);
    border-radius: 14px;
    background: var(--sg-surface-soft);

    text-align: center;
}

.sg-stat-card strong {
    display: block;
    margin: 0;

    color: var(--sg-text);
    font-size: 1.5rem;
    font-weight: 850;
    line-height: 1;
}

.sg-stat-card span {
    display: block;
    margin: 0;

    color: var(--sg-muted);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.2;
    white-space: normal;
}

@media (max-width: 280px) {
    .sg-stat-grid {
        grid-template-columns: 1fr;
    }
}

.sg-portal-intro__panel .sg-support-stats {
    display: grid;
    gap: 3px;
    margin: 10px 0 24px;
}

.sg-portal-intro__panel .sg-support-stats p {
    margin: 0;
    color: var(--sg-text);
    font-size: 0.9rem;
    line-height: 1.35;
}

.sg-portal-intro__panel .sg-support-stats strong {
    display: inline-block;
    min-width: 24px;
    color: var(--sg-text);
    font-weight: 850;
}

/* =========================================================
   Verzeichnissuche: einzelne Einträge filtern
   ========================================================= */

[data-directory-item][hidden],
[data-directory-cluster][hidden],
[data-directory-entry][hidden],
.sg-more-links[hidden] {
    display: none !important;
}

.sg-more-links.is-filtered > summary {
    display: none;
}

/* =========================================================
   Portal-Intro mit Netzwerk-Hintergrund
   ========================================================= */

.sg-portal-intro.sg-portal-intro--network,
html[data-theme="dark"]
.sg-portal-intro.sg-portal-intro--network {
    --sg-text: #f8fafc;
    --sg-muted: #d5e2ee;
    --sg-border: rgba(190, 215, 235, 0.28);
    --sg-surface: rgba(7, 16, 28, 0.74);
    --sg-surface-soft: rgba(255, 255, 255, 0.10);
    --sg-accent: #d4df87;
    --sg-accent-strong: #eff4c9;
    --sg-accent-soft: rgba(212, 223, 135, 0.14);

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 13, 24, 0.94) 0%,
            rgba(5, 13, 24, 0.84) 48%,
            rgba(5, 13, 24, 0.66) 100%
        ),
        url("images/portal-image.png")
        center 48% / cover no-repeat;

    border-color: rgba(190, 215, 235, 0.30);
}

/* Text und Überschrift bleiben auf dem dunklen Bild lesbar */

.sg-portal-intro--network h1,
.sg-portal-intro--network
.sg-portal-intro__copy > p:not(.sg-kicker) {
    color: var(--sg-text);
}

.sg-portal-intro--network
.sg-portal-intro__copy a {
    color: var(--sg-text);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--sg-accent);
    text-underline-offset: 3px;
}

/* Direkteinstiege als leicht transparente Fläche */

.sg-portal-intro--network
.sg-portal-intro__panel {
    background: rgba(5, 14, 25, 0.72);
    border-color: rgba(190, 215, 235, 0.28);

    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

/* Auf dieser Seite werden nur zwei Kennzahlen angezeigt */

.sg-portal-intro--network
.sg-home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 650px;
}

.sg-portal-intro--network
.sg-home-stats > div {
    background: rgba(5, 14, 25, 0.76);
}

/* =========================================================
   Redaktioneller Aktualisierungswunsch
   ========================================================= */

.sg-update-request {
    scroll-margin-top: 112px;
}

.sg-update-request__form {
    margin-top: 16px;
}

.sg-update-request__button {
    appearance: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.sg-update-request__button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.sg-form-notice {
    margin: 16px 0 0;
    padding: 13px 15px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: var(--sg-surface-soft);
    color: var(--sg-text);
    line-height: 1.55;
}

.sg-form-notice--success {
    border-color: color-mix(in srgb, #2f855a 45%, var(--sg-border));
    background: color-mix(in srgb, #2f855a 10%, var(--sg-surface));
}

.sg-form-notice--error {
    border-color: color-mix(in srgb, #b42318 45%, var(--sg-border));
    background: color-mix(in srgb, #b42318 9%, var(--sg-surface));
}

.sg-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sg-brand-card__manufacturer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--sg-text);
    text-decoration: none;
}

.sg-brand-card__link-icon {
    color: var(--sg-accent);
    font-size: 0.82em;
    font-weight: 800;
    line-height: 1;

    transition: transform 140ms ease;
}

.sg-brand-card__manufacturer-link:hover,
.sg-brand-card__manufacturer-link:focus-visible {
    color: var(--sg-accent);
    outline: none;
}

.sg-brand-card__manufacturer-link:hover
.sg-brand-card__link-icon,
.sg-brand-card__manufacturer-link:focus-visible
.sg-brand-card__link-icon {
    transform: translate(2px, -2px);
}

/* =========================================================
   Allgemeine Nutzen-, Abschnitts- und Listing-Komponenten
   ========================================================= */

.sg-benefit-list {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

@media (max-width: 820px) {
    .sg-home-hero .sg-benefit-list {
        margin-bottom: 0;
    }
}

.sg-benefit-list li {
    position: relative;
    padding-left: 25px;
    color: var(--sg-text);
    font-size: 0.92rem;
    line-height: 1.45;
}

.sg-benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sg-accent);
    font-weight: 900;
}

.sg-home-proof {
    margin: 18px 0 0;
    color: var(--sg-muted);
    font-size: 0.82rem;
}

.sg-home-proof strong {
    color: var(--sg-text);
}

.sg-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 38px 0 20px;
}

.sg-section-heading .sg-section-intro {
    margin: 0;
}

.sg-section-heading > .sg-secondary-link {
    flex: 0 0 auto;
    margin-bottom: 2px;
}

.sg-hero--text-only {
    grid-template-columns: minmax(0, 820px);
}

.sg-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 18px 0 0;
    color: var(--sg-muted);
    font-size: 0.84rem;
}

.sg-listing-meta strong {
    color: var(--sg-text);
}

@media (max-width: 760px) {
    .sg-section-heading {
        display: grid;
        align-items: start;
        gap: 14px;
    }

    .sg-section-heading > .sg-secondary-link {
        justify-self: start;
        margin-bottom: 0;
    }
}

.sg-legal-note {
    margin: 0;
    color: var(--sg-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* =========================================================
   Startseite: Layout-Korrekturen
   ========================================================= */

/* Eine einzelne Nutzen-Karte nutzt die gesamte verfügbare Breite. */
.sg-home-principles > .sg-component-card:only-child {
    grid-column: 1 / -1;
}

/* Hero auf der Startseite etwas kompakter als der allgemeine Hero. */
.sg-home-hero {
    padding-block: clamp(12px, 2vw, 23px);
}

@media (max-width: 960px) {
    /*
     * Mobil bewusst kein Grid:
     * Text und Themenbilder folgen direkt im normalen Dokumentfluss.
     * Dadurch können weder Grid-Zeilen noch align-content/row-gap
     * zusätzlichen Leerraum zwischen beiden Bereichen erzeugen.
     */
    body.sg-modern .sg-home-hero {
        display: block;
    }

    body.sg-modern .sg-home-hero__copy {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    body.sg-modern .sg-home-hero .sg-benefit-list {
        margin-bottom: 0;
    }

    body.sg-modern .sg-home-visual {
        width: 100%;
        margin: 10px 0 0;
    }
}

@media (max-width: 520px) {
    body.sg-modern .sg-home-hero {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.sg-modern .sg-home-visual {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 150px);
        margin-top: 8px;
    }
}
