/* RockingHoster Neuigkeiten – Farben und Schrift aus rockinghoster.de */
.rhnk, .rhnk-article, .rhnk-cover, .rhnk-crumbs {
	--rhnk-blue: #0076AD;
	--rhnk-red: #E0103A;
	--rhnk-text: #444A51;
	--rhnk-muted: #536E7B;
	--rhnk-line: #D8E5EA;
	--rhnk-soft: #F0F6FC;
	font-family: proxima-nova, "Helvetica Neue", Arial, sans-serif;
	color: var(--rhnk-text);
	box-sizing: border-box;
}
.rhnk *, .rhnk-article * { box-sizing: border-box; }

/* Kopfband */
.rhnk-cover { background: var(--rhnk-blue); color: #fff; padding: 28px 0; }
.rhnk-cover__kicker { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.rhnk-cover__kicker a { color: #fff; text-decoration: none; }
.rhnk-crumbs { font-size: 13px; color: var(--rhnk-muted); padding: 16px 0 0; }
.rhnk-crumbs a { color: var(--rhnk-blue); text-decoration: none; }

/* Filter */
.rhnk-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.rhnk-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--rhnk-line); border-radius: 20px; color: var(--rhnk-text); font-size: 14px; font-weight: 600; text-decoration: none; background: #fff; }
.rhnk-pill:hover, .rhnk-pill:focus { border-color: var(--rhnk-blue); color: var(--rhnk-blue); text-decoration: none; }
.rhnk-pill.is-active { background: var(--rhnk-blue); border-color: var(--rhnk-blue); color: #fff; }

/* Karten */
.rhnk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rhnk-card { background: #fff; border: 1px solid var(--rhnk-line); border-radius: 8px; overflow: hidden; transition: border-color .15s; }
.rhnk-card:hover { border-color: var(--rhnk-blue); }
.rhnk-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.rhnk-card__link:hover, .rhnk-card__link:focus { text-decoration: none; color: inherit; }
.rhnk-card__img { aspect-ratio: 16 / 9; background: var(--rhnk-soft); overflow: hidden; }
.rhnk-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rhnk-card__ph { display: block; width: 100%; height: 100%; background: var(--rhnk-blue); }
.rhnk-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rhnk-card__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: #1E2A33; }
.rhnk-card__excerpt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--rhnk-text); }
.rhnk-card__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--rhnk-blue); }

/* Meta und Rubrik-Abzeichen */
.rhnk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--rhnk-muted); }
.rhnk-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: #fff; background: var(--rhnk-blue); }
.rhnk-badge--ratgeber { background: #00734F; }
.rhnk-badge--kurz-erklaert { background: #5B4BB7; }
.rhnk-badge--hinter-den-kulissen { background: #AD0024; }

/* Seitenzahlen */
.rhnk-pages { display: flex; gap: 8px; justify-content: center; margin: 32px 0 8px; }
.rhnk-page { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rhnk-line); border-radius: 6px; color: var(--rhnk-text); text-decoration: none; font-weight: 600; }
.rhnk-page.is-active { background: var(--rhnk-blue); border-color: var(--rhnk-blue); color: #fff; }
.rhnk-empty { padding: 24px; background: var(--rhnk-soft); border-radius: 8px; }

/* Teaser-Kopf */
.rhnk-teaser { margin: 40px 0; }
.rhnk-teaser__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.rhnk-teaser__head h2 { margin: 0; font-size: 28px; font-weight: 700; color: #1E2A33; }
.rhnk-teaser__head a { font-weight: 700; color: var(--rhnk-blue); text-decoration: none; white-space: nowrap; }

/* Artikel */
.rhnk-article { max-width: 760px; margin: 8px auto 40px; }
.rhnk-article__head { margin: 16px 0 24px; }
.rhnk-article__title { margin: 14px 0 12px; font-size: 40px; line-height: 1.12; font-weight: 700; color: #1E2A33; }
.rhnk-article__lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--rhnk-muted); }
.rhnk-article__img { margin: 0 0 28px; }
.rhnk-article__img img { width: 100%; height: auto; border-radius: 8px; display: block; }
.rhnk-article__content { font-size: 17px; line-height: 1.7; }
.rhnk-article__content h2 { font-size: 26px; line-height: 1.25; margin: 36px 0 12px; color: #1E2A33; font-weight: 700; }
.rhnk-article__content h3 { font-size: 20px; margin: 28px 0 10px; color: #1E2A33; font-weight: 700; }
.rhnk-article__content p, .rhnk-article__content ul, .rhnk-article__content ol { margin: 0 0 18px; }
.rhnk-article__content li { margin-bottom: 6px; }
.rhnk-article__content a { color: var(--rhnk-blue); text-decoration: underline; }
.rhnk-article__content table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.rhnk-article__content th, .rhnk-article__content td { border: 1px solid var(--rhnk-line); padding: 10px 12px; text-align: left; }
.rhnk-article__content th { background: var(--rhnk-soft); }
.rhnk-article__content blockquote, .rhnk-article__content .rhnk-box { margin: 0 0 22px; padding: 16px 20px; background: var(--rhnk-soft); border-radius: 8px; border: 1px solid var(--rhnk-line); }
.rhnk-article__content code { background: var(--rhnk-soft); padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* Kontaktkasten und Teilen */
.rhnk-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 36px 0 20px; padding: 22px 24px; background: var(--rhnk-soft); border: 1px solid var(--rhnk-line); border-radius: 8px; }
.rhnk-cta__title { margin: 0 0 4px; font-weight: 700; font-size: 18px; color: #1E2A33; }
.rhnk-cta__text { margin: 0; font-size: 15px; }
.rhnk-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; background: var(--rhnk-red); color: #fff; border-radius: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.rhnk-btn:hover, .rhnk-btn:focus { background: #AD0024; color: #fff; text-decoration: none; }
.rhnk-article__foot { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--rhnk-muted); padding-top: 16px; border-top: 1px solid var(--rhnk-line); }
.rhnk-article__foot a { color: var(--rhnk-blue); font-weight: 600; }
.rhnk-more { margin-bottom: 48px; }

@media (max-width: 991px) {
	.rhnk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.rhnk-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.rhnk-article__title { font-size: 30px; }
	.rhnk-article__lead { font-size: 17px; }
	.rhnk-article__content { font-size: 16px; }
	.rhnk-cta { flex-direction: column; align-items: flex-start; }
	.rhnk-teaser__head h2 { font-size: 22px; }
}

/* Verfasser (1.1.0) */
.rhnk-byline { display: inline-flex; align-items: center; gap: 8px; }
.rhnk-byline strong { color: var(--rhnk-text); font-weight: 700; }
.rhnk-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--rhnk-soft); color: var(--rhnk-blue); border: 1px solid var(--rhnk-line); font-weight: 700; line-height: 1; }
.rhnk-avatar--s { width: 28px; height: 28px; font-size: 11px; }
.rhnk-avatar--l { width: 80px; height: 80px; font-size: 24px; }
.rhnk-author { display: flex; gap: 20px; align-items: flex-start; margin: 36px 0 0; padding: 22px 24px; border: 1px solid var(--rhnk-line); border-radius: 8px; background: #fff; }
.rhnk-author__body { min-width: 0; }
.rhnk-author p { margin: 0; }
.rhnk-author__label { font-size: 13px; color: var(--rhnk-muted); }
.rhnk-author__name { margin-top: 2px !important; font-size: 19px; font-weight: 700; color: #1E2A33; }
.rhnk-author__role { margin-bottom: 10px !important; font-size: 14px; color: var(--rhnk-muted); }
.rhnk-author__bio { margin-bottom: 10px !important; font-size: 15px; line-height: 1.6; }
.rhnk-author__links a { font-size: 14px; font-weight: 700; color: var(--rhnk-blue); text-decoration: none; }
.rhnk-author + .rhnk-cta { margin-top: 20px; }
@media (max-width: 640px) {
	.rhnk-author { flex-direction: column; gap: 14px; }
}

/* 1.1.5: Kopfbild im Stil der Unterseiten (Theme: div.cover) */
.rhnk-themecover .rhnk-themecover__title { display: block; font-size: 54px; font-weight: 900; line-height: 1.1; color: #fff; text-decoration: none; }
.rhnk-themecover .rhnk-themecover__title:hover { color: #fff; opacity: .9; }
.rhnk-themecover .subtitle { max-width: 560px; }
@media (max-width: 767px) {
	.rhnk-themecover .rhnk-themecover__title { font-size: 40px; }
	.rhnk-themecover { background-position: 70% center !important; }
}
.rhnk-cta__text a { color: var(--rhnk-blue); font-weight: 600; }

/* 1.1.8: Übersicht im Seitenrahmen und als Bento-Kacheln */
.productPage > .rhnk, .rhnk { max-width: 1170px; margin-left: auto; margin-right: auto; padding: 0 15px 48px; }
.rhnk-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.rhnk-tile { position: relative; border-radius: 10px; overflow: hidden; background: #0076AD; }
.rhnk-tile--gross { grid-column: span 2; grid-row: span 2; }
.rhnk-tile--breit { grid-column: span 2; }
.rhnk-tile__link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.rhnk-tile__link:hover, .rhnk-tile__link:focus { color: #fff; text-decoration: none; }
.rhnk-tile__link:focus-visible { outline: 3px solid #E0103A; outline-offset: -3px; }
.rhnk-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.rhnk-tile:hover .rhnk-tile__img { transform: scale(1.04); }
.rhnk-tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 32, 52, .92) 0%, rgba(0, 32, 52, .55) 45%, rgba(0, 32, 52, .05) 80%); }
.rhnk-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.rhnk-tile__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.rhnk-tile__tag { display: inline-block; background: #E0103A; color: #fff; padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: skew(-10deg); }
.rhnk-tile__title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.rhnk-tile--gross .rhnk-tile__title { font-size: 28px; line-height: 1.2; }
.rhnk-tile--breit .rhnk-tile__title { font-size: 20px; }
.rhnk-tile__excerpt { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .3s ease; }
.rhnk-tile--gross .rhnk-tile__excerpt { max-height: 4.5em; opacity: 1; }
.rhnk-tile:hover .rhnk-tile__excerpt, .rhnk-tile__link:focus .rhnk-tile__excerpt { max-height: 4.5em; opacity: 1; }
@media (max-width: 991px) {
	.rhnk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
	.rhnk-tile--gross { grid-row: span 2; }
}
@media (max-width: 560px) {
	.rhnk-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; gap: 12px; }
	.rhnk-tile--gross, .rhnk-tile--breit { grid-column: span 1; }
	.rhnk-tile--gross { grid-row: span 1; height: auto; }
	.rhnk-tile--gross .rhnk-tile__title { font-size: 22px; }
	.rhnk-tile--gross .rhnk-tile__excerpt { display: none; }
	.rhnk-tile__excerpt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rhnk-tile__img, .rhnk-tile__excerpt { transition: none; } .rhnk-tile:hover .rhnk-tile__img { transform: none; } }
