/* tiv-fp4 */

/* ---------- Wochenmagazin: Grundwerte ---------- */
body.tiv-fp4 .tiv-fp{--fp4-cream:#fff8f3;--fp4-salmon-bg:#f7dccb;--fp4-teal-bg:#d7e7e1;--fp4-green-bg:#e3eee4;counter-reset:ressort}
body.tiv-fp4 .tiv-fp-greet{display:none}

/* ---------- 1. Cover ---------- */
body.tiv-fp4 .tiv-fp--v2 .tiv-fp-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.15fr);gap:28px 32px;border-bottom:0;padding-bottom:8px}
body.tiv-fp4 .tiv-fp-lead{grid-column:1/-1;position:relative;width:100vw;margin:0 calc(50% - 50vw);min-height:min(82vh,760px);display:flex;flex-direction:column;justify-content:flex-end;padding:120px max(20px,calc(50vw - 620px)) 44px;color:#fff;isolation:isolate;overflow:hidden}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-img{position:absolute;inset:0;z-index:-2;margin:0;width:auto;aspect-ratio:auto;background:#0a4a4a}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-img picture,body.tiv-fp4 .tiv-fp-lead .tiv-fp-img img{display:block;width:100%;height:100%;object-fit:cover}
body.tiv-fp4 .tiv-fp-lead .tiv-tag{display:none}
body.tiv-fp4 .tiv-fp-lead::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,26,24,.55) 0%,rgba(4,26,24,0) 26%,rgba(4,26,24,0) 42%,rgba(4,26,24,.78) 100%)}
body.tiv-fp4 .tiv-fp-lead::before{content:"Ausgabe 39 · 21. bis 27. September 2026";position:absolute;top:26px;left:max(20px,calc(50vw - 620px));right:max(20px,calc(50vw - 620px));padding-top:10px;border-top:2px solid rgba(255,255,255,.85);font:600 12px/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#fff}
body.tiv-fp4 .tiv-fp-lead .tiv-kick{color:#f8decd !important;font-size:12.5px;letter-spacing:.16em;margin-bottom:12px}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-h{font-family:var(--serif);font-weight:700;font-size:clamp(40px,5.6vw,88px) !important;line-height:.98 !important;letter-spacing:-.035em !important;max-width:17ch;margin:0 0 18px;text-wrap:balance;-webkit-hyphens:manual;hyphens:manual}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-h a{color:#fff !important;text-decoration:none}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-dek{max-width:52ch;font-size:clamp(17px,1.5vw,20px);line-height:1.45;color:#f2ece4;margin:0 0 12px}
body.tiv-fp4 .tiv-fp-lead .tiv-fp-meta,body.tiv-fp4 .tiv-fp-lead .tiv-fp-meta *{color:#d9e8e2 !important}
@media (hover:hover){body.tiv-fp4 .tiv-fp-lead:hover .tiv-fp-img img{transform:scale(1.02)}}

/* Zweitgeschichten und Aktuell unter dem Cover */
body.tiv-fp4 .tiv-fp-seconds{grid-column:1/3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding-top:6px}
body.tiv-fp4 .tiv-fp-seconds article{border-bottom:0;padding-bottom:0}
body.tiv-fp4 .tiv-fp-seconds h3{font-size:clamp(20px,1.9vw,26px);line-height:1.14;letter-spacing:-.02em}
body.tiv-fp4 .tiv-fp-latest{grid-column:3;border-left:1px solid var(--line);padding-left:28px;padding-top:6px}

/* ---------- 2. Ressorts als nummerierte Farbbänder ---------- */
body.tiv-fp4 .tiv-fp-sec{counter-increment:ressort;--band:var(--fp4-cream);background:var(--band);box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax);border-top:0 !important;margin-top:0 !important;padding:64px 0 56px}
body.tiv-fp4 .tiv-fp-sec.tiv-fp-c-salmon{--band:var(--fp4-salmon-bg)}
body.tiv-fp4 .tiv-fp-sec.tiv-fp-c-teal{--band:var(--fp4-teal-bg)}
body.tiv-fp4 .tiv-fp-sec.tiv-fp-c-green{--band:var(--fp4-green-bg)}
body.tiv-fp4 .tiv-fp-sec.tiv-fp-c-sand{--band:#f3e6d3}
body.tiv-fp4 .tiv-fp-travel .tiv-fp-ttc b{font-size:clamp(19px,1.6vw,22px)}
body.tiv-fp4 .tiv-fp-sec.tiv-fp-rank{--band:var(--fp4-cream)}
body.tiv-fp4 .tiv-fp-band{margin-top:0;padding:0}
body.tiv-fp4 .tiv-fp-band .tiv-fp-sec{--band:var(--ink);padding:64px 0 56px}
body.tiv-fp4 .tiv-fp-head{align-items:flex-end;border-bottom:2px solid var(--ink);padding-bottom:14px;margin-bottom:26px}
body.tiv-fp4 .tiv-fp-band .tiv-fp-head{border-bottom-color:rgba(251,246,238,.6)}
body.tiv-fp4 .tiv-fp-head h2{font-weight:700;font-size:clamp(36px,4.6vw,68px);line-height:.95;letter-spacing:-.035em}
body.tiv-fp4 .tiv-fp-head h2::before{content:counter(ressort,decimal-leading-zero) " / Ressort";display:block;margin-bottom:12px;font:600 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--green)}
body.tiv-fp4 .tiv-fp-band .tiv-fp-head h2::before{color:#f8decd}
body.tiv-fp4 .tiv-fp-rank .tiv-fp-head h2::before{content:counter(ressort,decimal-leading-zero) " / Ranking"}
body.tiv-fp4 .tiv-fp-rank-no{font-size:clamp(64px,6vw,96px);font-weight:700}
body.tiv-fp4 .tiv-fp-rank li{grid-template-columns:clamp(70px,7vw,110px) 1fr}
body.tiv-fp4 .tiv-fp-rank h3{font-size:clamp(19px,1.6vw,22px)}
body.tiv-fp4 .tiv-fp-nl{margin-top:0}

/* ---------- 3. Raster im Wechsel ---------- */
@media (min-width:768px){
	/* Rezepte: eine große, vier kleine */
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:auto;gap:28px 24px;overflow:visible;margin:0;padding:0}
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-row article:first-child{grid-column:1/3;grid-row:1/3}
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-row article:first-child .tiv-fp-img{aspect-ratio:1/1}
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-row article:first-child h3{font-size:clamp(26px,2.6vw,38px);line-height:1.05;letter-spacing:-.03em}
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-row article:nth-child(n+6){display:none}
	body.tiv-fp4 .tiv-fp-rail .tiv-fp-count{display:none}
	/* Produkte & Tests: eine breite, drei darunter */
	body.tiv-fp4 .tiv-fp-g2{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
	body.tiv-fp4 .tiv-fp-g2 article:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:end}
	body.tiv-fp4 .tiv-fp-g2 article:first-child .tiv-fp-img{aspect-ratio:16/10;margin:0}
	body.tiv-fp4 .tiv-fp-g2 article:first-child h3{font-size:clamp(28px,3vw,44px);line-height:1.02;letter-spacing:-.03em;padding-bottom:6px}
	body.tiv-fp4 .tiv-fp-g2 .tiv-fp-img{aspect-ratio:4/3}
	/* Gesundheit: Textressort mit starken Linien */
	body.tiv-fp4 .tiv-fp-tx{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
	body.tiv-fp4 .tiv-fp-tx article{border-top:1px solid var(--ink);padding:18px 0 26px}
	body.tiv-fp4 .tiv-fp-tx article:nth-child(-n+2){border-top-width:3px}
}
@media (max-width:767px){
	body.tiv-fp4 .tiv-fp-lead{min-height:min(118vw,86vh);padding:96px 20px 28px}
	body.tiv-fp4 .tiv-fp-lead::before{top:18px;left:20px;right:20px;font-size:11px}
	body.tiv-fp4 .tiv-fp-lead .tiv-fp-dek{font-size:16px}
	body.tiv-fp4 .tiv-fp-seconds{grid-column:1/-1;gap:16px}
	body.tiv-fp4 .tiv-fp-seconds h3{font-size:18px}
	body.tiv-fp4 .tiv-fp-latest{grid-column:1/-1;border-left:0;padding-left:0;border-top:2px solid var(--ink);padding-top:16px}
	body.tiv-fp4 .tiv-fp-sec,body.tiv-fp4 .tiv-fp-band .tiv-fp-sec{padding:44px 0 40px}
	body.tiv-fp4 .tiv-fp-head{flex-wrap:wrap}
	/* Wischreihen: Rezepte bleibt Reihe, Produkte wird Reihe */
	body.tiv-fp4 .tiv-fp-row article{flex:0 0 80%}
	body.tiv-fp4 .tiv-fp-row article:first-child{flex-basis:86%}
	body.tiv-fp4 .tiv-fp-g2{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -20px;padding:0 20px 6px;scrollbar-width:none}
	body.tiv-fp4 .tiv-fp-g2::-webkit-scrollbar{display:none}
	body.tiv-fp4 .tiv-fp-g2 article{flex:0 0 72%;scroll-snap-align:start}
	body.tiv-fp4 .tiv-fp-g2 .tiv-fp-img{aspect-ratio:4/5}
	body.tiv-fp4 .tiv-fp-g2 h3{font-size:18px}
	body.tiv-fp4 .tiv-fp-tx article{border-top:1px solid var(--ink);padding:16px 0 20px}
}
