#content .dsl-ftth-page {
display: grid;
gap: 24px;
}

#content .dsl-ftth-hero {
padding: 4px 0 0;
}

#content .dsl-ftth-section,
#content .dsl-ftth-chart,
#content .dsl-ftth-topics {
background: #fff;
border: 1px solid #d7e1ef;
border-radius: 18px;
padding: 24px;
box-shadow: 0 10px 28px rgba(17, 52, 95, 0.06);
}

#content .dsl-ftth-hero-panel,
#content .dsl-ftth-note {
background: transparent;
border: 0;
border-radius: 0;
padding: 0;
box-shadow: none;
}

#content .dsl-ftth-kicker {
margin: 0 0 8px;
font-size: 0.95rem;
font-weight: 700;
letter-spacing: 0.02em;
color: #0f4b87;
}

#content .dsl-ftth-hero h1,
#content .dsl-ftth-section h2,
#content .dsl-ftth-chart h2,
#content .dsl-ftth-topics h2,
#content .dsl-ftth-note h2 {
margin: 0 0 10px;
line-height: 1.2;
}

#content .dsl-ftth-hero h1 {
font-size: 2rem;
}

#content .dsl-ftth-subline {
margin: 0 0 14px;
font-size: 1.08rem;
color: #355273;
}

#content .dsl-ftth-placeholder {
margin: 0;
color: #27415e;
}

#content .dsl-ftth-hero > .dsl-ftth-placeholder {
max-width: 820px;
}

#content .dsl-ftth-note {
margin-top: 4px;
}

#content .dsl-ftth-hero-panel {
margin-top: 22px;
display: grid;
gap: 18px;
}

#content .dsl-ftth-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin: 0;
justify-content: center;
}

#content .dsl-ftth-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 18px;
border-radius: 999px;
border: 1px solid #0f4b87;
text-decoration: none;
font-weight: 700;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#content .dsl-ftth-button.primary {
background: #0f4b87;
color: #fff;
}

#content .dsl-ftth-button.secondary {
background: #fff;
color: #0f4b87;
}

#content .dsl-ftth-button:hover {
transform: translateY(-1px);
box-shadow: 0 10px 24px rgba(15, 75, 135, 0.12);
}

#content .dsl-ftth-anchor-nav {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 18px;
justify-content: center;
}

#content .dsl-ftth-anchor-nav a {
text-decoration: none;
border-radius: 999px;
padding: 8px 14px;
background: #f1f6fb;
color: #123c67;
font-weight: 700;
}

#content .dsl-ftth-fact-grid,
#content .dsl-ftth-card-grid,
#content .dsl-ftth-example-grid,
#content .dsl-ftth-topic-grid {
display: grid;
gap: 16px;
}

#content .dsl-ftth-fact-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: 0;
}

#content .dsl-ftth-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

#content .dsl-ftth-example-grid,
#content .dsl-ftth-topic-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#content .dsl-ftth-offer-card,
#content .dsl-ftth-example-card,
#content .dsl-ftth-topic-card,
#content .dsl-ftth-market-group {
background: #f8fbfe;
border: 1px solid #dbe8f4;
border-radius: 16px;
padding: 18px;
}

#content .dsl-ftth-market-groups {
display: grid;
gap: 18px;
margin-top: 16px;
}

#content .dsl-ftth-market-group > h3 {
margin: 0 0 14px;
}

#content .dsl-ftth-card-label {
font-size: 0.92rem;
font-weight: 700;
color: #3e5b78;
margin-bottom: 8px;
}

#content .dsl-ftth-card-meta,
#content .dsl-ftth-example-meta,
#content .dsl-ftth-table-note {
margin-top: 8px;
color: #46627f;
font-size: 0.95rem;
}

#content .dsl-ftth-card-head {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
margin-bottom: 10px;
}

#content .dsl-ftth-badge {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
padding: 6px 10px;
font-size: 0.82rem;
font-weight: 700;
background: #fff3e7;
color: #9a5511;
}

#content .dsl-ftth-badge.fiber {
background: #e8f7ee;
color: #15623b;
}

#content .dsl-ftth-offer-title,
#content .dsl-ftth-example-card h3,
#content .dsl-ftth-topic-card h3 {
margin: 0 0 6px;
font-size: 1.15rem;
line-height: 1.3;
}

#content .dsl-ftth-offer-provider {
color: #3d5a77;
margin-bottom: 14px;
}

#content .dsl-ftth-offer-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-bottom: 16px;
}

#content .dsl-ftth-stat-box {
background: #fff;
border-radius: 12px;
border: 1px solid #e1ebf5;
padding: 12px;
}

#content .dsl-ftth-stat-box.price {
grid-column: 1 / -1;
}

#content .dsl-ftth-stat-box strong {
display: block;
font-size: 1.1rem;
color: #082847;
margin-bottom: 4px;
}

#content .dsl-ftth-offer-actions {
margin-top: 12px;
}

#content .dsl-ftth-offer-link {
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 700;
text-decoration: none;
color: #0f4b87;
}

#content .dsl-ftth-list {
margin: 14px 0 0;
padding-left: 18px;
}

#content .dsl-ftth-list li + li {
margin-top: 8px;
}

#content .dsl-ftth-chart-shell {
position: relative;
min-height: 360px;
margin-top: 18px;
}

#content .dsl-ftth-chart-shell canvas {
width: 100% !important;
height: 360px !important;
}

#content .dsl-ftth-table-wrap {
overflow-x: auto;
margin-top: 18px;
}

#content .dsl-ftth-relative-table {
width: 100%;
border-collapse: collapse;
background: #fff;
border-radius: 14px;
overflow: hidden;
}

#content .dsl-ftth-relative-table th,
#content .dsl-ftth-relative-table td {
padding: 12px 14px;
border-bottom: 1px solid #e3edf7;
text-align: left;
vertical-align: top;
}

#content .dsl-ftth-relative-table th {
background: #f3f8fd;
color: #183b5b;
}

#content .dsl-ftth-relative-table tr:last-child td {
border-bottom: 0;
}

#content .dsl-ftth-example-card {
min-height: 180px;
}

#content .dsl-ftth-muted {
color: #607890;
}

#content .dsl-ftth-market-groups {
display: grid;
gap: 18px;
}

#content .dsl-ftth-market-group {
background: #f8fbfe;
border: 1px solid #dbe8f4;
border-radius: 16px;
padding: 18px;
}

#content .dsl-ftth-market-group > h3 {
margin: 0 0 14px;
}

#content .dsl-ref-group {
background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
border-color: #f0dcc2;
}

#content .dsl-ref-topline {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin: 0 0 14px;
}

#content .dsl-ref-chip {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0 12px;
border-radius: 999px;
font-size: 0.9rem;
font-weight: 700;
border: 1px solid transparent;
}

#content .dsl-ref-chip.dsl16,
#content .dsl-ref-badge.dsl16 {
background: #fff1e2;
color: #9b5310;
border-color: #f0c48f;
}

#content .dsl-ref-chip.vdsl50,
#content .dsl-ref-badge.vdsl50 {
background: #ffe8cf;
color: #8d4a0b;
border-color: #ecba79;
}

#content .dsl-ref-chip.vdsl100,
#content .dsl-ref-badge.vdsl100 {
background: #ffdcb6;
color: #7d3f05;
border-color: #e4aa61;
}

#content .dsl-ref-topline-text {
font-size: 0.95rem;
color: #4a5d73;
}

#content .dsl-ref-table-wrap {
overflow-x: auto;
border: 1px solid #f0dcc2;
border-radius: 14px;
background: #ffffff;
}


#content .dsl-ref-table {
width: 100%;
border-collapse: collapse;
min-width: 760px;
}

#content .dsl-ref-table thead th {
text-align: left;
padding: 14px 14px;
font-size: 0.92rem;
font-weight: 700;
color: #244566;
background: #fff6ec;
border-bottom: 1px solid #f0dcc2;
}

#content .dsl-ref-table tbody td {
padding: 14px 14px;
vertical-align: top;
border-bottom: 1px solid #eef2f6;
}

#content .dsl-ref-table tbody tr:last-child td {
border-bottom: 0;
}

#content .dsl-ref-table tbody tr.dsl16 {
background: #fffdfb;
}

#content .dsl-ref-table tbody tr.vdsl50 {
background: #fffaf6;
}

#content .dsl-ref-table tbody tr.vdsl100 {
background: #fff7f1;
}

#content .dsl-ref-badge {
display: inline-flex;
align-items: center;
min-height: 30px;
padding: 0 10px;
border-radius: 999px;
font-size: 0.88rem;
font-weight: 700;
border: 1px solid transparent;
white-space: nowrap;
}

#content .dsl-ref-provider,
#content .dsl-ref-month {
margin-top: 4px;
font-size: 0.88rem;
color: #5f7388;
}

#content .dsl-ref-note {
color: #39516a;
line-height: 1.45;
}

#content .dsl-ref-table {
    table-layout: fixed;
}

#content .dsl-ref-table thead th:nth-child(1),
#content .dsl-ref-table tbody td:nth-child(1) {
    width: 110px;
}

#content .dsl-ref-table thead th:nth-child(2),
#content .dsl-ref-table tbody td:nth-child(2) {
    width: 120px;
}

#content .dsl-ref-table thead th:nth-child(3),
#content .dsl-ref-table tbody td:nth-child(3) {
    width: 110px;
    white-space: nowrap;
}

#content .dsl-ref-table thead th:nth-child(4),
#content .dsl-ref-table tbody td:nth-child(4) {
    width: 110px;
    white-space: nowrap;
}

#content .dsl-ref-table thead th:last-child,
#content .dsl-ref-table tbody td:last-child {
    width: auto;
}
/* ======================================================
Hero Cards – Hero-Panel oberhalb des Fließtexts
====================================================== */

/* Layout: Box-Sizing absichern */
#content .dsl-ftth-page,
#content .dsl-ftth-page > *,
#content .dsl-ftth-hero,
#content .dsl-ftth-hero-panel,
#content .dsl-ftth-fact-grid,
#content .dsl-ftth-hero-card,
#content .dsl-ftth-market-groups,
#content .dsl-ftth-market-group,
#content .dsl-ref-table-wrap {
box-sizing: border-box;
max-width: 100%;
min-width: 0;
}

#content .dsl-ftth-hero-panel,
#content .dsl-ftth-section,
#content .dsl-ftth-chart,
#content .dsl-ftth-note,
#content .dsl-ftth-topics,
#content .dsl-ftth-market-group {
width: 100%;
max-width: 100%;
}

#content .dsl-ftth-hero-panel {
margin-top: 22px;
display: grid;
gap: 18px;
overflow: hidden;
}

#content .dsl-ftth-fact-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: 0;
}

/* ── Karten-Grundstruktur ───────────────────────────────── */
#content .dsl-ftth-hero-card {
background: #ffffff;
border: 1px solid #e0e9f4;
border-radius: 20px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 4px 22px rgba(12, 40, 76, 0.08);
transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#content .dsl-ftth-hero-card:hover {
transform: translateY(-4px);
box-shadow: 0 14px 38px rgba(12, 40, 76, 0.14);
}

/* Farbige Akzentleiste oben */
#content .dsl-ftth-hcard-accent {
height: 5px;
width: 100%;
flex-shrink: 0;
}

#content .dsl-ftth-hero-card.ftth-green .dsl-ftth-hcard-accent {
background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}

#content .dsl-ftth-hero-card.ftth-blue .dsl-ftth-hcard-accent {
background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}

#content .dsl-ftth-hero-card.dsl-amber .dsl-ftth-hcard-accent {
background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
}

/* Innenbereich */
#content .dsl-ftth-hcard-inner {
padding: 20px 22px 22px;
display: flex;
flex-direction: column;
flex: 1;
}

/* Titelzeile: Icon + Tech-Badge + ggf. Vergleichs-Pill */
#content .dsl-ftth-hcard-toprow {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 14px;
}

#content .dsl-ftth-hcard-icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 28px;
height: 28px;
border-radius: 6px;
}

#content .dsl-ftth-hcard-icon svg {
display: block;
width: 16px;
height: 16px;
flex-shrink: 0;
}

#content .dsl-ftth-hero-card.ftth-green .dsl-ftth-hcard-icon {
background: #dcfce7;
color: #16a34a;
}

#content .dsl-ftth-hero-card.ftth-blue .dsl-ftth-hcard-icon {
background: #dbeafe;
color: #2563eb;
}

#content .dsl-ftth-hero-card.dsl-amber .dsl-ftth-hcard-icon {
background: #fef3c7;
color: #d97706;
}

#content .dsl-ftth-hcard-tech {
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 3px 10px;
border-radius: 999px;
}

#content .dsl-ftth-hero-card.ftth-green .dsl-ftth-hcard-tech {
background: #dcfce7;
color: #15803d;
}

#content .dsl-ftth-hero-card.ftth-blue .dsl-ftth-hcard-tech {
background: #dbeafe;
color: #1d4ed8;
}

#content .dsl-ftth-hero-card.dsl-amber .dsl-ftth-hcard-tech {
background: #fef3c7;
color: #b45309;
}



/* Speed-Angabe */
#content .dsl-ftth-hcard-speed {
font-size: 1.06rem;
font-weight: 800;
color: #1a3550;
margin: 0 0 3px;
letter-spacing: -0.01em;
}

/* Unterzeile "Günstigster Tarif" */
#content .dsl-ftth-hcard-eyebrow {
font-size: 0.83rem;
font-weight: 600;
color: #6b8299;
margin: 0 0 14px;
}

/* Preiszeile */
#content .dsl-ftth-hcard-price {
display: flex;
align-items: baseline;
gap: 4px;
flex-wrap: wrap;
margin: 0 0 8px;
line-height: 1;
}

#content .dsl-ftth-hcard-ab {
font-size: 0.9rem;
font-weight: 700;
color: #9dafc1;
align-self: flex-end;
padding-bottom: 3px;
}

#content .dsl-ftth-hcard-price-value {
font-size: 2.2rem;
font-weight: 900;
letter-spacing: -0.03em;
line-height: 1;
}

#content .dsl-ftth-hero-card.ftth-green .dsl-ftth-hcard-price-value {
color: #14532d;
}

#content .dsl-ftth-hero-card.ftth-blue .dsl-ftth-hcard-price-value {
color: #1e3a8a;
}

#content .dsl-ftth-hero-card.dsl-amber .dsl-ftth-hcard-price-value {
color: #78350f;
}

#content .dsl-ftth-hcard-unit {
font-size: 0.88rem;
font-weight: 600;
color: #9dafc1;
align-self: flex-end;
padding-bottom: 3px;
}

/* Anbieter-Zeile */
#content .dsl-ftth-hcard-provider {
font-size: 0.88rem;
color: #4b6882;
margin: 0 0 18px;
line-height: 1.45;
flex: 1;
}

/* CTA-Button */
#content .dsl-ftth-hcard-cta {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 0.87rem;
font-weight: 700;
text-decoration: none;
padding: 8px 16px;
border-radius: 999px;
align-self: flex-start;
margin-top: auto;
transition: opacity 0.18s ease, transform 0.18s ease;
}

#content .dsl-ftth-hcard-cta:hover {
opacity: 0.86;
transform: translateX(2px);
}

#content .dsl-ftth-hero-card.ftth-green .dsl-ftth-hcard-cta {
background: #16a34a;
color: #fff;
}

#content .dsl-ftth-hero-card.ftth-blue .dsl-ftth-hcard-cta {
background: #2563eb;
color: #fff;
}

#content .dsl-ftth-hero-card.dsl-amber .dsl-ftth-hcard-cta {
background: #d97706;
color: #fff;
}



#content .dsl-ref-table-wrap::-webkit-scrollbar {
    height: 12px;
}

#content .dsl-ref-table-wrap::-webkit-scrollbar-track {
    background: #f0e8da;
    border-radius: 999px;
}

#content .dsl-ref-table-wrap::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 999px;
}

#content .dsl-ref-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #b45309;
}

/* Firefox */
#content .dsl-ref-table-wrap {
    scrollbar-width: thin;
    scrollbar-color: #d97706 #f0e8da;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (min-width: 1400px) {
#content .dsl-ftth-card-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 1120px) {
#content .dsl-ftth-fact-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 760px) {
#content .dsl-ftth-section,
#content .dsl-ftth-chart,
#content .dsl-ftth-topics {
padding: 18px;
border-radius: 14px;
}

#content .dsl-ftth-fact-grid {
grid-template-columns: 1fr;
}

#content .dsl-ftth-card-grid,
#content .dsl-ftth-example-grid,
#content .dsl-ftth-topic-grid,
#content .dsl-ftth-offer-stats {
grid-template-columns: 1fr;
}

#content .dsl-ftth-stat-box.price {
grid-column: auto;
}

#content .dsl-ftth-chart-shell canvas {
height: 300px !important;
}

#content .dsl-ref-topline {
align-items: flex-start;
gap: 8px;
}

#content .dsl-ref-topline-text {
width: 100%;
}

#content .dsl-ftth-hero-panel,
#content .dsl-ftth-section,
#content .dsl-ftth-chart,
#content .dsl-ftth-note,
#content .dsl-ftth-topics,
#content .dsl-ftth-market-group {
padding: 18px;
border-radius: 14px;
}

#content .dsl-ftth-hcard-inner {
padding: 16px 18px 18px;
}

#content .dsl-ftth-hcard-price-value {
font-size: 1.9rem;
}
}
