54 lines
4.3 KiB
CSS
54 lines
4.3 KiB
CSS
/* Eigene helle Vergleichs- und Druckansicht nach der TriHub-Vorlage. */
|
|
:root { color-scheme: light; }
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; padding: 32px 20px; background: #f3f0e9; color: #10151d; font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
|
|
.comparison-sheet { max-width: 1160px; margin: auto; padding: 32px 40px; background: #fff; border: 1px solid #e3e7eb; border-radius: 32px; box-shadow: 0 18px 50px #10202b0a; }
|
|
.comparison-header { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #e1e5e9; padding-bottom: 22px; margin-bottom: 28px; }
|
|
.brand img { display: block; object-fit: contain; border-radius: 14px; }
|
|
nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 1; flex-wrap: wrap; }
|
|
a { color: inherit; text-underline-offset: 4px; }
|
|
nav a { text-decoration: none; color: #46515f; }
|
|
button { font: inherit; font-weight: 600; border: 1px solid #dce1e7; background: #fff; color: #111820; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
|
|
button:hover { background: #f1f5f9; }
|
|
:focus-visible { outline: 3px solid #217c86; outline-offset: 4px; }
|
|
.skip { position: absolute; top: -100px; } .skip:focus { top: 8px; background: white; padding: 10px; }
|
|
h1,h2 { font-family: "Sora", sans-serif; letter-spacing: -.045em; line-height: 1.2; color: #080e17; }
|
|
h1 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 18px 0 24px; max-width: 940px; }
|
|
h2 { font-size: 1.4rem; margin: 36px 0 20px; }
|
|
p { margin: 0 0 16px; }
|
|
.eyebrow { color: #647081; font-size: .72rem; font-weight: 700; letter-spacing: .22em; }
|
|
.intro { max-width: 850px; color: #4b5563; font-size: 1.08rem; }
|
|
.concept { border-left: 3px solid #b7c9ce; padding: 12px 18px; background: #f7f9fa; color: #4b5563; font-size: .9rem; margin: 24px 0 36px; }
|
|
.table-scroll { overflow-x: auto; border: 1px solid #dfe5ec; border-radius: 22px; }
|
|
table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: .9rem; }
|
|
.feature-column { width: 25%; }
|
|
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
|
th,td { padding: 16px; vertical-align: top; border-bottom: 1px solid #e2e7ed; overflow-wrap: break-word; }
|
|
thead { background: #f1f5f9; } thead th { font-weight: 700; }
|
|
thead span { display: block; font-size: .78rem; font-weight: 400; color: #596574; margin-top: 4px; }
|
|
tbody th { font-weight: 600; } td { color: #46515f; }
|
|
.group th { background: #f8fafb; color: #52606e; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; }
|
|
tfoot th,tfoot td { border-bottom: 0; } tfoot a { font-weight: 600; color: #235b65; }
|
|
.notes { margin-top: 20px; font-size: .83rem; color: #5c6673; }
|
|
.framework { margin-top: 32px; border-top: 1px solid #e1e5e9; color: #4b5563; }
|
|
.bottom-actions { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0; font-weight: 600; }
|
|
footer { padding-top: 20px; border-top: 1px solid #e1e5e9; font-size: .8rem; color: #667181; }
|
|
.scroll-hint { display: none; font-size: .85rem; color: #5c6673; }
|
|
@media (max-width: 800px) { body { padding: 12px; } .comparison-sheet { padding: 22px 18px; border-radius: 22px; } .comparison-header { align-items: flex-start; gap: 16px; } nav { gap: 12px; font-size: .85rem; } .brand img { width: 56px; height: 56px; } .scroll-hint { display: block; } }
|
|
@page { size: A4 landscape; margin: 12mm; }
|
|
@media print {
|
|
body { padding: 0; background: #fff; font-size: 10pt; color: #000; }
|
|
.comparison-sheet { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
|
|
nav,.skip,.bottom-actions,.scroll-hint,tfoot { display: none !important; }
|
|
.comparison-header { margin-bottom: 12px; padding-bottom: 10px; }
|
|
.brand img { width: 50px; height: 50px; }
|
|
h1 { font-size: 23pt; margin: 8px 0 14px; } h2 { font-size: 14pt; margin: 20px 0 12px; }
|
|
.intro { font-size: 10pt; } .concept { font-size: 9pt; margin: 12px 0; padding: 8px 12px; }
|
|
.table-scroll { overflow: visible; border-radius: 0; border: 0; }
|
|
table { min-width: 0; font-size: 9pt; }
|
|
th,td { padding: 8px 10px; border: 1px solid #cbd2da; color: #000; }
|
|
thead { display: table-header-group; } tr { break-inside: avoid; } .group { break-after: avoid; }
|
|
h2 { break-after: avoid; } .notes,.framework { font-size: 9pt; }
|
|
footer { font-size: 8pt; } a { text-decoration: none; }
|
|
}
|