/* blog.tij-power.com – Optik nach dem Shop tij-power.com (Navy #002A41, Rot #ED1C24, Roboto / Roboto Condensed). */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url(/schriften/roboto-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url(/schriften/roboto-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url(/schriften/roboto-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/schriften/roboto-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url(/schriften/roboto-condensed-latin-400-normal.woff2) format('woff2'); }

:root {
  --navy: #002a41; --navy-2: #01385a; --navy-3: #0b4a73; --rot: #ed1c24; --rot-dunkel: #c4121a;
  --text: #292929; --grau: #5d6670; --linie: #d9dee3; --hell: #f3f5f7;
  --breite: 1240px; --schmal: 780px;
  --titel: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 Roboto, Arial, sans-serif; color: var(--text); background: #fff; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 2px; }
a:hover { color: var(--rot); }
h1, h2, h3, h4 { font-family: var(--titel); font-weight: 700; line-height: 1.15; color: var(--navy); hyphens: manual; overflow-wrap: normal; word-break: normal; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -9999px; top: 0; background: var(--rot); color: #fff; padding: 8px 14px; z-index: 50; }
.sprung:focus { left: 8px; }
.breite { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.breite.schmal { max-width: calc(var(--schmal) + 48px); }


/* Kopf */
.kopf { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.kopf-innen { display: flex; align-items: center; gap: 20px; min-height: 86px; }
.marke { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.marke img { width: auto; height: 56px; }
.suche { display: flex; flex: 1 1 260px; max-width: 420px; margin-left: auto; }
.suche input { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 3px 0 0 3px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); background: #fff; }
.suche button { width: 46px; height: 42px; border: 0; border-radius: 0 3px 3px 0; background: #fff; cursor: pointer; display: grid; place-items: center; border-left: 1px solid var(--linie); }
.suche svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.menue-knopf { display: none; background: none; border: 0; width: 46px; height: 46px; padding: 11px 9px; cursor: pointer; }
.menue-knopf span:not(.unsichtbar) { display: block; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }
.suche-mobil { display: none; }
.hauptmenue { background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .08); }
.hauptmenue ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hauptmenue a { display: block; padding: 11px 16px; color: #fff; text-decoration: none; font-family: var(--titel); font-weight: 700; font-size: 17px; letter-spacing: .02em; border-bottom: 3px solid transparent; }
.hauptmenue li:first-child a { padding-left: 0; }
.hauptmenue a:hover, .hauptmenue a[aria-current] { color: #fff; border-bottom-color: var(--rot); }

/* Brotkrümel, Seitenkopf */
.brot ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--grau); }
.brot li + li::before { content: '›'; margin: 0 8px; color: #9aa4ad; }
.brot a { color: var(--grau); }
.seiten-kopf { margin: 18px 0 30px; max-width: 820px; }
.seiten-kopf h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 0 0 10px; }
.seiten-kopf p { margin: 0 0 6px; color: var(--grau); font-size: 18px; }
.seiten-kopf .zahl { font-size: 15px; }

/* Karten */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: 4px; overflow: hidden; transition: box-shadow .2s, transform .2s; min-width: 0; }
.karte:hover { box-shadow: 0 10px 26px rgba(0, 42, 65, .14); transform: translateY(-2px); }
.karte-bild { display: block; aspect-ratio: 16 / 9; background: var(--hell); overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-ohne { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); }
.karte-text { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.marke-kat { align-self: flex-start; font-family: var(--titel); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--rot); text-decoration: none; margin-bottom: 6px; }
.karte-titel { font-size: 23px; margin: 0 0 8px; }
.karte-titel a { color: var(--navy); text-decoration: none; }
.karte-titel a:hover { color: var(--rot); }
.karte-teaser { margin: 0 0 12px; color: #4a525a; font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.karte-meta { margin: auto 0 0; font-size: 14px; color: var(--grau); }

/* Startseite */
.buehne { background: linear-gradient(180deg, var(--hell) 0%, #fff 100%); padding: 34px 0 10px; }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
.karte-gross .karte-titel { font-size: clamp(28px, 3vw, 40px); }
.karte-gross .karte-teaser { font-size: 18px; -webkit-line-clamp: 5; }
.buehne-neben { display: grid; gap: 18px; }
.buehne-neben .karte { flex-direction: row; }
.buehne-neben .karte-bild { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.buehne-neben .karte-text { padding: 14px 16px; }
.buehne-neben .karte-titel { font-size: 19px; }
.buehne-neben .karte-teaser { display: none; }
.kategorien-band { background: var(--navy); color: #fff; padding: 34px 0 38px; margin: 34px 0 10px; }
.kategorien-band h2 { color: #fff; font-size: 30px; margin: 0 0 18px; }
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.kacheln a { display: flex; flex-direction: column; height: 100%; padding: 16px 18px; background: var(--navy-2); border-left: 4px solid var(--rot); color: #fff; text-decoration: none; transition: background .2s; }
.kacheln a:hover { background: var(--navy-3); color: #fff; }
.kachel-name { font-family: var(--titel); font-weight: 700; font-size: 21px; }
.kachel-text { font-size: 14px; line-height: 1.45; color: #c7d3dc; margin: 6px 0 10px; }
.kachel-zahl { margin-top: auto; font-size: 13px; color: #8fa6b6; }
.kacheln-klein a { background: var(--hell); color: var(--navy); }
.kacheln-klein a:hover { background: #e4e9ee; color: var(--navy); }
.block { margin: 46px 0; }
.block-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 3px solid var(--navy); margin-bottom: 22px; }
.block-kopf h2 { font-size: 32px; margin: 0 0 8px; }
.block-kopf a { font-weight: 700; font-size: 15px; text-decoration: none; }
.werkzeug-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--hell); border-left: 6px solid var(--rot); padding: 28px 32px; margin: 50px 0 60px; }
.werkzeug-band > div { flex: 1 1 420px; }
.werkzeug-band h2 { margin: 0 0 8px; font-size: 32px; }
.werkzeug-band p { margin: 0; }
.kicker { font-family: var(--titel); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rot); font-size: 14px; margin: 0 0 4px; }
.knopf { display: inline-block; font-family: var(--titel); font-weight: 700; font-size: 18px; color: #fff; background: var(--rot); border: 0; padding: 12px 22px; text-decoration: none; cursor: pointer; border-radius: 2px; }
.knopf:hover { background: var(--rot-dunkel); color: #fff; }
.knopf-hell { background: #fff; color: var(--navy); border: 2px solid var(--linie); padding: 10px 20px; }
.knopf-hell:hover { background: var(--hell); color: var(--navy); }

/* Beitrag */
.beitrag-kopf { margin: 18px 0 24px; }
.beitrag-kopf h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 4px 0 12px; }
.beitrag-meta { color: var(--grau); font-size: 15px; margin: 0; }
.beitrag-meta .status { color: var(--rot); }
.titelbild { margin: 0 0 28px; }
.titelbild img { width: 100%; border-radius: 4px; }
.fliesstext { font-size: 18px; line-height: 1.72; }
.fliesstext h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.fliesstext h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.fliesstext p, .fliesstext ul, .fliesstext ol { margin: 0 0 1.1em; }
.fliesstext figure { margin: 1.6em 0; }
.fliesstext figure img, .fliesstext > img, .fliesstext p img { border-radius: 4px; margin: 0 auto; }
.fliesstext figcaption { font-size: 14px; color: var(--grau); margin-top: 6px; text-align: center; }
.fliesstext blockquote { margin: 1.4em 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--rot); color: #3d454c; font-style: italic; }
.fliesstext table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; display: block; overflow-x: auto; }
.fliesstext th, .fliesstext td { border: 1px solid var(--linie); padding: 7px 10px; text-align: left; }
.fliesstext th { background: var(--hell); }
.shop-box { margin: 34px 0 18px; padding: 22px 24px; background: var(--navy); color: #fff; border-left: 6px solid var(--rot); }
.shop-box h2 { color: #fff; margin: 0 0 10px; font-size: 24px; }
.shop-box ul { margin: 0; padding-left: 20px; }
.shop-box a { color: #fff; font-weight: 700; }
.shop-box a:hover { color: #ffd6d7; }
.quelle { font-size: 15px; color: var(--grau); border-top: 1px solid var(--linie); padding-top: 14px; margin: 18px 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 50px; }
.tags li { background: var(--hell); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--grau); }
.verwandt { background: var(--hell); padding: 40px 0 56px; }
.verwandt h2 { font-size: 30px; margin: 0 0 22px; }

/* Bildraster im Text (Wallpaper-Galerien): Liste aus verlinkten Vorschaubildern */
.fliesstext ul:has(> li > a > img) { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.fliesstext ul:has(> li > a > img) li { margin: 0; }
.fliesstext ul:has(> li > a > img) img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: opacity .2s; }
.fliesstext ul:has(> li > a > img) a:hover img { opacity: .85; }

/* Kategorie, Suche, Blättern */
.leer { padding: 24px; background: var(--hell); border-radius: 4px; }
.blaettern { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 40px 0 60px; }
.blaettern a, .blaettern span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--linie); border-radius: 3px; text-decoration: none; font-weight: 700; }
.blaettern span { background: var(--navy); color: #fff; border-color: var(--navy); }
.werkzeug-karte { display: flex; flex-direction: column; gap: 4px; max-width: 520px; padding: 20px 22px; margin: 0 0 30px; background: var(--navy); color: #fff; text-decoration: none; border-left: 6px solid var(--rot); }
.werkzeug-karte strong { font-family: var(--titel); font-size: 26px; }
.werkzeug-karte span:last-child { color: #c7d3dc; font-size: 15px; }
.werkzeug-karte:hover { color: #fff; background: var(--navy-2); }
.suche-gross { max-width: 560px; margin: 0 0 30px; }
.suche-gross input { border: 2px solid var(--linie); height: 48px; }
.suche-gross .knopf { border-radius: 0 3px 3px 0; }
main > .breite:last-child, main > .breite.schmal { padding-bottom: 40px; }

/* Düsenrechner */
.rechner-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 26px; }
.rechner { border: 1px solid var(--linie); border-top: 5px solid var(--navy); border-radius: 4px; padding: 22px 24px 24px; background: #fff; min-width: 0; }
.rechner h2 { font-size: 24px; margin: 0 0 4px; }
.rechner > p { margin: 0 0 16px; color: var(--grau); font-size: 15px; }
.feld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); align-items: center; gap: 6px 16px; padding: 7px 0; border-bottom: 1px dashed #e3e7ea; }
.feld label { font-size: 16px; }
.eingabe { display: flex; align-items: center; gap: 8px; }
.eingabe input, .eingabe select { width: 100%; min-width: 0; height: 42px; border: 1px solid #b9c2ca; border-radius: 3px; padding: 0 10px; font: inherit; font-size: 16px; text-align: right; background: #fff; }
.eingabe span { flex: 0 0 52px; font-size: 14px; color: var(--grau); }
.ergebnis label { font-weight: 700; color: var(--navy); }
.ergebnis input { background: var(--hell); font-weight: 700; color: var(--navy); border-color: var(--linie); }
.rechner-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hinweis-box { margin: 36px 0 60px; padding: 22px 24px; background: var(--hell); border-left: 6px solid var(--rot); max-width: 900px; }
.hinweis-box h2 { margin: 0 0 8px; font-size: 24px; }
.hinweis-box p { margin: 0; }

/* Fuß */
.fuss { background: var(--navy); color: #c7d3dc; font-size: 15px; padding: 44px 0 0; }
.fuss-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 30px; }
.fuss h2 { color: #fff; font-size: 19px; margin: 0 0 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin: 0 0 6px; }
.fuss a { color: #e3eaef; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-logo { width: auto; height: 48px; margin-bottom: 14px; }
.fuss p { margin: 0 0 10px; }
.fuss strong { color: #fff; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 16px; padding-bottom: 22px; font-size: 14px; color: #8fa6b6; }

@media (max-width: 640px) {
  .fliesstext table.karten-tabelle { display: block; overflow: visible; border: 0; }
  .karten-tabelle tbody, .karten-tabelle thead { display: block; }
  .karten-tabelle tr.kopfzeile { display: none; }
  .karten-tabelle tr { display: block; border: 1px solid var(--linie); border-radius: 4px; margin: 0 0 10px; padding: 6px 12px; }
  .karten-tabelle td, .karten-tabelle th { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; border: 0; padding: 4px 0; }
  .karten-tabelle td::before { content: attr(data-label); font-weight: 700; color: var(--navy); }
  .karten-tabelle td:not([data-label])::before { content: none; }
  .karten-tabelle td:not([data-label]) { display: block; }
}
/* Responsiv */
@media (max-width: 1240px) and (min-width: 901px) { .hauptmenue a { padding: 11px 9px; font-size: 16px; letter-spacing: 0; } }
@media (max-width: 1100px) {
  .buehne-raster { grid-template-columns: minmax(0, 1fr); }
  .buehne-neben { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
  .buehne-neben .karte { flex-direction: column; }
  .buehne-neben .karte-bild { aspect-ratio: 16 / 9; min-height: 0; }
  .buehne-neben .karte-teaser { display: -webkit-box; }
  .buehne-neben .karte-titel { font-size: 23px; }
  .buehne-neben .karte-text { padding: 18px 20px 20px; }
}
@media (max-width: 900px) {
  .kopf-innen { min-height: 70px; gap: 12px; }
  .marke img { height: 44px; }
  .suche { display: none; }
  .menue-knopf { margin-left: auto; }
  .menue-knopf { display: block; }
  .hauptmenue { display: none; }
  .hauptmenue.offen { display: block; }
  .hauptmenue ul { flex-direction: column; padding: 6px 0 12px; }
  .hauptmenue li:first-child a { padding-left: 0; }
  .hauptmenue a { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .hauptmenue a[aria-current] { border-bottom-color: var(--rot); }
  .hauptmenue .suche-mobil { display: flex; max-width: none; margin: 12px 0 4px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .breite { padding: 0 16px; }
  .marke { gap: 8px; }
  .fliesstext { font-size: 17px; }
  .feld { grid-template-columns: minmax(0, 1fr); }
  .rechner { padding: 18px 16px; }
  .werkzeug-band { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .karte { transition: none; } .karte:hover { transform: none; } }
@media print { .netz, .kopf, .fuss, .verwandt, .shop-box { display: none; } }
