/*
Theme Name: Rheinstark
Theme URI: https://rheinstark.de
Author: Rheinstark – Maurice Lange
Description: Schnelles, SEO-optimiertes Block-Theme für Rheinstark. Keine externen Fonts, keine Tracker, kein Page-Builder.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: rheinseite
*/

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--wp--preset--color--sonne); outline-offset: 3px; }
.rs-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: #fff; padding: .75rem 1rem; }
.rs-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.rs-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #E3E9EE; }
.rs-logo { font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; text-decoration: none; color: var(--wp--preset--color--rhein-dunkel) !important; display: inline-flex; align-items: center; gap: .5rem; }
.rs-logo .rs-wave { display: inline-block; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--wp--preset--color--rhein) 0 60%, var(--wp--preset--color--sonne) 60%); }
.rs-logo span.rs-dot { color: var(--wp--preset--color--sonne); }
.rs-header .wp-block-navigation a { font-weight: 600; text-decoration: none; }
.rs-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sections ---------- */
.rs-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(242,165,65,.25), transparent 60%), linear-gradient(160deg, var(--wp--preset--color--rhein-dunkel), var(--wp--preset--color--rhein)); color: #fff; }
.rs-hero h1, .rs-hero h2, .rs-hero p { color: #fff; }
.rs-hero .rs-kicker { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.rs-hero .rs-price { font-size: clamp(3rem, 8vw, 5rem); font-weight: 850; line-height: 1; color: var(--wp--preset--color--sonne); }
.rs-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.rs-checks { list-style: none; padding-left: 0; }
.rs-checks li { position: relative; padding-left: 1.9rem; margin-bottom: .45rem; }
.rs-checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--wp--preset--color--sonne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231C2730' d='M8.3 13.6 4.7 10l1.2-1.2 2.4 2.4 5.8-5.8 1.2 1.2z'/%3E%3C/svg%3E") center/80% no-repeat; }
.rs-section-alt { background: var(--wp--preset--color--nebel); }
.rs-card { background: #fff; border: 1px solid #E3E9EE; border-radius: 18px; padding: 1.75rem; height: 100%; box-shadow: 0 1px 2px rgba(16,33,43,.04); }
.rs-card h3 { margin-top: 0; }
.rs-step-no { display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: 50%; align-items: center; justify-content: center; background: var(--wp--preset--color--rhein); color: #fff; font-weight: 800; }

/* ---------- Preise ---------- */
.rs-plans { align-items: stretch !important; }
.rs-plan { background: #fff; border: 1px solid #DCE4EA; border-radius: 20px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.rs-plan.is-featured { border: 2px solid var(--wp--preset--color--rhein); box-shadow: 0 18px 40px -20px rgba(14,77,110,.45); position: relative; }
.rs-plan.is-featured::before { content: "Beliebt"; position: absolute; top: -0.8rem; left: 1.5rem; background: var(--wp--preset--color--sonne); color: var(--wp--preset--color--schiefer); font-weight: 800; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; }
.rs-plan .rs-amount { font-size: 2.4rem; font-weight: 850; color: var(--wp--preset--color--rhein-dunkel); line-height: 1.1; margin: .25rem 0; }
.rs-plan .rs-amount small { font-size: 1rem; font-weight: 600; color: var(--wp--preset--color--grau); }
.rs-note { color: var(--wp--preset--color--grau); font-size: .9rem; }
.rs-table-wrap { overflow-x: auto; }
.rs-table-wrap table { min-width: 640px; }

/* ---------- FAQ ---------- */
.wp-block-details { border: 1px solid #E3E9EE; border-radius: 14px; padding: 1rem 1.25rem; background: #fff; }
.wp-block-details + .wp-block-details { margin-top: .75rem; }
.wp-block-details summary { font-weight: 700; cursor: pointer; color: var(--wp--preset--color--rhein-dunkel); }

/* ---------- CTA ---------- */
.rs-cta { background: var(--wp--preset--color--sonne); border-radius: 24px; }
.rs-cta h2, .rs-cta p { color: var(--wp--preset--color--schiefer); }
.rs-cta .wp-block-button__link { background: var(--wp--preset--color--rhein-dunkel); color: #fff; }

/* ---------- Formular ---------- */
.rs-form { display: grid; gap: 1rem; }
.rs-form label { font-weight: 600; display: block; margin-bottom: .3rem; }
.rs-form input, .rs-form select, .rs-form textarea { width: 100%; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid #C9D4DC; border-radius: 12px; font: inherit; background: #fff; }
.rs-form textarea { min-height: 150px; }
.rs-form .rs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rs-form .rs-hp { position: absolute; left: -9999px; }
.rs-form .rs-agree { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.rs-form .rs-agree input { width: auto; margin-top: .35rem; }
.rs-form button { justify-self: start; border: 0; cursor: pointer; background: var(--wp--preset--color--sonne); color: var(--wp--preset--color--schiefer); font-weight: 700; padding: .9rem 1.8rem; border-radius: 999px; font-size: 1rem; }
.rs-alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1rem; }
.rs-alert.ok { background: #E6F6EC; color: #145A32; }
.rs-alert.err { background: #FDECEC; color: #8A1C1C; }
@media (max-width: 640px) { .rs-form .rs-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.rs-footer { background: var(--wp--preset--color--schiefer); color: #C7D2DA; }
.rs-footer a { color: #fff; text-decoration: none; }
.rs-footer a:hover { text-decoration: underline; }
.rs-footer h2, .rs-footer h3 { color: #fff; font-size: 1.05rem; }
.rs-footer ul { list-style: none; padding: 0; margin: 0; }
.rs-footer li { margin-bottom: .4rem; }
.rs-breadcrumb { font-size: .9rem; color: var(--wp--preset--color--grau); }
.rs-breadcrumb a { text-decoration: none; }

/* ---------- Ergänzungen ---------- */
.rs-cta-box { padding: clamp(2rem, 5vw, 3.5rem); text-align: left; }
.rs-hero .wp-block-columns { align-items: center; }
.rs-hero .rs-checks li::before { background-color: var(--wp--preset--color--sonne); }
.rs-hero .wp-block-column:last-child { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; padding: 2rem; }
.rs-step-no { margin-bottom: .25rem; }
.rs-plan .rs-checks { margin-bottom: 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; background: #fff; }
.wp-block-table th, .wp-block-table td { border: 1px solid #E3E9EE; padding: .7rem .9rem; text-align: left; }
.wp-block-table thead th { background: var(--wp--preset--color--rhein-dunkel); color: #fff; }

/* ---------- Abstände Rand ---------- */
.rs-header, section.wp-block-group.alignfull, .rs-footer { padding-left: max(1.25rem, 4vw) !important; padding-right: max(1.25rem, 4vw) !important; }
@media (max-width: 1000px) {
  .rs-header .wp-block-navigation { gap: 1rem !important; font-size: .95rem; }
}

/* ---------- Karten responsiv ---------- */
.rs-card h3, .rs-plan h3 { font-size: 1.25rem; hyphens: auto; overflow-wrap: normal; word-break: normal; }
.rs-card { padding: 1.4rem; }
@media (max-width: 1100px) {
  .wp-block-columns:has(> .wp-block-column > .rs-card), .wp-block-columns.rs-plans { flex-wrap: wrap !important; }
  .wp-block-columns:has(> .wp-block-column > .rs-card) > .wp-block-column, .wp-block-columns.rs-plans > .wp-block-column { flex-basis: calc(50% - 1rem) !important; flex-grow: 1; }
}
@media (max-width: 600px) {
  .wp-block-columns:has(> .wp-block-column > .rs-card) > .wp-block-column, .wp-block-columns.rs-plans > .wp-block-column { flex-basis: 100% !important; }
}
.rs-logo .rs-dot { margin-left: -.5rem; }

/* ---------- Referenzen ---------- */
.rs-refs { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.rs-ref { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rs-ref-visual { position: relative; padding-bottom: 2.5rem; padding-right: 2.5rem; }
.rs-browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(10,47,68,.45); border: 1px solid #DCE4EA; }
.rs-browser-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: #EEF2F5; border-bottom: 1px solid #DCE4EA; }
.rs-browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9D4DC; }
.rs-browser-bar em { font-style: normal; font-size: .78rem; color: var(--wp--preset--color--grau); margin-left: .6rem; background: #fff; border-radius: 999px; padding: .15rem .75rem; }
.rs-shot img, .rs-shot { display: block; width: 100%; height: auto; }
.rs-phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 110px; border: 6px solid var(--wp--preset--color--schiefer); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); }
.rs-ref-meta { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--wp--preset--color--rhein); margin: 0 0 .3rem; }
.rs-ref-text h3 { margin: 0 0 .6rem; font-size: var(--wp--preset--font-size--x-large); }
.rs-ref-text h4 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; color: var(--wp--preset--color--rhein-dunkel); }
.rs-ref-text .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .rs-ref { grid-template-columns: 1fr; } }
.rs-ref { align-items: start; }
@media (min-width: 861px) { .rs-ref-visual { position: sticky; top: 110px; } }
.rs-ref .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--rhein-dunkel); border: 2px solid var(--wp--preset--color--rhein-dunkel); }

/* =========================================================
   Navigation (eigenes Menü statt Standard-Overlay)
   ========================================================= */
.wp-site-blocks > * + * { margin-block-start: 0; }
.rs-header { padding-top: .8rem; padding-bottom: .8rem; }
.rs-nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.rs-nav a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--rhein-dunkel); }
.rs-nav ul a:hover, .rs-nav ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--wp--preset--color--sonne); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.rs-nav-cta { display: none; }
.rs-burger { display: none; }

@media (max-width: 900px) {
	.rs-burger { display: inline-flex; align-items: center; gap: .55rem; background: var(--wp--preset--color--nebel); border: 1px solid #DCE4EA; border-radius: 999px; padding: .5rem .95rem .5rem .8rem; cursor: pointer; font: inherit; font-weight: 700; color: var(--wp--preset--color--rhein-dunkel); position: relative; z-index: 102; }
	.rs-burger-lines { position: relative; width: 20px; height: 14px; display: inline-block; }
	.rs-burger-lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
	.rs-burger-lines span:nth-child(1) { top: 0; }
	.rs-burger-lines span:nth-child(2) { top: 6px; }
	.rs-burger-lines span:nth-child(3) { top: 12px; }
	.rs-menu-open .rs-burger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
	.rs-menu-open .rs-burger-lines span:nth-child(2) { opacity: 0; }
	.rs-menu-open .rs-burger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
	.rs-menu-open .rs-burger { background: var(--wp--preset--color--rhein-dunkel); color: #fff; border-color: transparent; }
	.rs-logo { position: relative; z-index: 102; }

	.rs-nav { position: fixed; inset: 0; z-index: 101; background: linear-gradient(165deg, #fff 0 55%, var(--wp--preset--color--nebel)); padding: 6rem max(1.5rem, 6vw) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
	.rs-menu-open .rs-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
	.rs-menu-open, .rs-menu-open body { overflow: hidden; }
	.rs-nav ul { flex-direction: column; gap: 0; }
	.rs-nav ul li { border-bottom: 1px solid #E3E9EE; }
	.rs-nav ul a { display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; font-size: 1.35rem; font-weight: 750; }
	.rs-nav ul a::after { content: "→"; color: var(--wp--preset--color--sonne); font-weight: 800; transition: transform .2s; }
	.rs-nav ul a:hover::after { transform: translateX(4px); }
	.rs-nav ul a[aria-current="page"] { color: var(--wp--preset--color--rhein); text-decoration: none; }
	.rs-nav-cta { display: block; margin-top: 2rem; }
	.rs-nav-btn { display: block; text-align: center; background: var(--wp--preset--color--sonne); color: var(--wp--preset--color--schiefer) !important; padding: 1rem; border-radius: 999px; font-size: 1.1rem; }
	.rs-nav-note { text-align: center; color: var(--wp--preset--color--grau); font-size: .9rem; margin: .75rem 0 0; }
}
@media (prefers-reduced-motion: reduce) { .rs-nav, .rs-burger-lines span { transition: none !important; } }

/* =========================================================
   Cookie-Einwilligung
   ========================================================= */
.rs-consent[hidden] { display: none !important; }
.rs-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.rs-consent-box { pointer-events: auto; width: min(680px, 100%); background: #fff; color: var(--wp--preset--color--schiefer); border: 1px solid #DCE4EA; border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(10,47,68,.45); padding: 1.4rem 1.5rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.rs-consent h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.rs-consent p { font-size: .92rem; margin: 0 0 .9rem; }
.rs-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.rs-consent-actions button { flex: 1 1 180px; font: inherit; font-weight: 700; padding: .8rem 1rem; border-radius: 999px; cursor: pointer; border: 2px solid var(--wp--preset--color--rhein-dunkel); }
.rs-btn-primary { background: var(--wp--preset--color--rhein-dunkel); color: #fff; }
.rs-btn-secondary { background: #fff; color: var(--wp--preset--color--rhein-dunkel); }
.rs-btn-link { flex: 0 0 100% !important; border: 0 !important; background: none; text-decoration: underline; color: var(--wp--preset--color--rhein); padding: .3rem !important; font-weight: 600 !important; }
.rs-consent-details { display: none; margin: .5rem 0 1rem; }
.rs-consent.is-details .rs-consent-details { display: block; }
.rs-consent.is-details [data-rs-consent="details"] { display: none; }
.rs-consent [data-rs-consent="save"] { display: none; }
.rs-consent.is-details [data-rs-consent="save"] { display: block; }
.rs-c-cat { border: 1px solid #E3E9EE; border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.rs-c-cat label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; }
.rs-c-cat p { margin: .35rem 0 0; font-size: .85rem; color: var(--wp--preset--color--grau); }
.rs-c-cat input { width: 1.2rem; height: 1.2rem; accent-color: var(--wp--preset--color--rhein); }
.rs-consent-links { font-size: .82rem; margin-top: .8rem !important; margin-bottom: 0 !important; }

/* Externe Inhalte (Karte) mit Zwei-Klick-Lösung */
.rs-embed { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--nebel); border: 1px solid #DCE4EA; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.rs-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rs-embed p { font-size: .9rem; margin: 0 0 .8rem; }
.rs-embed button { font: inherit; font-weight: 700; padding: .6rem 1.1rem; border-radius: 999px; border: 2px solid var(--wp--preset--color--rhein-dunkel); background: var(--wp--preset--color--rhein-dunkel); color: #fff; cursor: pointer; margin: .25rem; }
.rs-embed button.rs-ghost { background: transparent; color: var(--wp--preset--color--rhein-dunkel); }
mark { background: #FFF3C4; padding: 0 .2em; border-radius: 4px; }
@media (max-width: 900px) { .rs-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }

/* =========================================================
   Etwas mehr Pepp – dezent
   ========================================================= */
.rs-hero { position: relative; overflow: hidden; padding-bottom: calc(var(--wp--preset--spacing--60) + 40px) !important; }
.rs-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 30c120-18 240-26 360-14s240 30 360 24 240-30 360-32 240 10 360 18v22H0z'/%3E%3C/svg%3E") center/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 30c120-18 240-26 360-14s240 30 360 24 240-30 360-32 240 10 360 18v22H0z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.rs-hero > * { position: relative; z-index: 1; }
.rs-hl { color: var(--wp--preset--color--sonne); background: linear-gradient(transparent 70%, rgba(242,165,65,.28) 70%); }
.rs-lead { font-size: 1.15rem; opacity: .95; max-width: 34em; }
.rs-lead-dark { font-size: 1.12rem; color: var(--wp--preset--color--grau); max-width: 42em; }
.rs-eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--rhein); margin-bottom: .2rem !important; display: inline-flex; align-items: center; gap: .6rem; }
.rs-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--wp--preset--color--sonne); }

/* Google-Vorschau im Hero */
.rs-hero .wp-block-column:last-child:has(.rs-serp) { background: none; border: 0; padding: 0; }
.rs-serp { background: #fff; color: #202124; border-radius: 20px; padding: 1.25rem 1.35rem 1.1rem; box-shadow: 0 30px 70px -25px rgba(0,0,0,.55); transform: rotate(-1.2deg); max-width: 470px; margin-left: auto; }
.rs-serp-search { display: flex; align-items: center; gap: .6rem; border: 1px solid #DFE1E5; border-radius: 999px; padding: .55rem 1rem; font-size: .95rem; color: #202124; box-shadow: 0 1px 4px rgba(32,33,36,.12); }
.rs-serp-search svg { width: 18px; height: 18px; color: #5F6368; flex: none; }
.rs-serp-search span::after { content: ""; display: inline-block; width: 1px; height: 1em; background: #202124; margin-left: 2px; vertical-align: -2px; animation: rs-caret 1s steps(1) infinite; }
@keyframes rs-caret { 50% { opacity: 0; } }
.rs-serp-result { margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; background: #F8FAFB; border: 1px solid #EEF1F3; }
.rs-serp-site { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #4D5156; }
.rs-serp-fav { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--wp--preset--color--rhein) 0 60%, var(--wp--preset--color--sonne) 60%); }
.rs-serp-title { color: #1A0DAB; font-size: 1.12rem; line-height: 1.3; margin: .3rem 0 .25rem; font-weight: 500; }
.rs-serp-result p { color: #4D5156 !important; font-size: .88rem; margin: 0; line-height: 1.5; }
.rs-serp-actions { display: flex; gap: .4rem; margin-top: .7rem; flex-wrap: wrap; }
.rs-serp-actions span { font-size: .8rem; border: 1px solid #DADCE0; border-radius: 999px; padding: .2rem .7rem; color: #1A73E8; background: #fff; }
.rs-serp-cap { color: var(--wp--preset--color--grau) !important; font-size: .82rem; margin: .8rem 0 0; }

/* Vertrauensleiste */
.rs-trust { list-style: none; padding: 0; margin: var(--wp--preset--spacing--50) 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; max-width: 1180px; }
.rs-trust li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: .8rem 1rem; font-size: .9rem; color: #DCE6EE; }
.rs-trust strong { display: block; color: #fff; font-size: 1.35rem; font-weight: 850; line-height: 1.1; }
@media (max-width: 700px) { .rs-trust { grid-template-columns: repeat(2, 1fr); } .rs-serp { transform: none; margin: 0; } }

/* Nutzen-Karten mit Icons */
.rs-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--wp--preset--color--rhein), var(--wp--preset--color--rhein-dunkel)); margin-bottom: .4rem; box-shadow: 0 8px 18px -8px rgba(14,77,110,.6); }
.rs-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-benefit { border-top: 4px solid var(--wp--preset--color--sonne); }
.rs-card, .rs-plan { transition: transform .2s ease, box-shadow .2s ease; }
.rs-card:hover, .rs-plan:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(10,47,68,.45); }

/* SEO-Abschnitt */
.rs-checks-lg li { padding: .55rem 0 .55rem 2.1rem; border-bottom: 1px dashed #D5DEE5; margin: 0; }
.rs-checks-lg li::before { top: .9em; }
.rs-checks-lg li:last-child { border-bottom: 0; }
.rs-honest { background: #fff; border-left: 4px solid var(--wp--preset--color--sonne); border-radius: 0 16px 16px 0; padding: 1.1rem 1.3rem; margin-top: 1.5rem; }
.rs-honest h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.rs-honest p { margin: 0; font-size: .95rem; }

/* Sanftes Einblenden beim Scrollen */
.rs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rs-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rs-reveal { opacity: 1; transform: none; transition: none; } .rs-serp-search span::after { animation: none; } .rs-card:hover, .rs-plan:hover { transform: none; } }

/* Icons als CSS-Masken (robust gegen Inhaltsfilter) */
.rs-icon::before, .rs-mag { content: ""; display: block; width: 24px; height: 24px; background: #fff; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.rs-mag { width: 18px; height: 18px; background: #5F6368; flex: none; }
.rs-icon-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); }
.rs-icon-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.rs-icon-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.rs-icon-euro { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 6.5A6.5 6.5 0 1 0 17 17.5'/%3E%3Cpath d='M4 10h9M4 14h9'/%3E%3C/svg%3E"); }
.rs-mag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); }
.rs-lead-dark { margin-left: 0 !important; }

/* ---------- weitere Icons ---------- */
.rs-icon-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.rs-icon-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.rs-icon-chat { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.rs-icon-doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.rs-icon-palette { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.1 0 1.5-.8 1.5-1.5 0-1-.8-1.4-.8-2.3 0-.9.7-1.7 1.7-1.7H17a4 4 0 0 0 4-4C21 6.6 17 3 12 3z'/%3E%3Ccircle cx='7.5' cy='11' r='1'/%3E%3Ccircle cx='10' cy='7' r='1'/%3E%3Ccircle cx='15' cy='7.5' r='1'/%3E%3C/svg%3E"); }
.rs-icon-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2 .8 3 3 3 6'/%3E%3C/svg%3E"); }
.rs-icon-star { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3 6.5 20.2l1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E"); }
.rs-icon-tools { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.rs-icon-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.rs-icon-rocket { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15c-1.5 1.5-2 5-2 5s3.5-.5 5-2M9 15l-3-3c1-4 4-8 11-9-1 7-5 10-9 11z'/%3E%3Ccircle cx='14.5' cy='9.5' r='1.5'/%3E%3C/svg%3E"); }

/* =========================================================
   Design-System: Unterseiten (gleicher Look wie Startseite)
   ========================================================= */
.rs-hero-sub h1 { max-width: 18em; }
.rs-hero-sub .rs-lead { max-width: 40em; }
.rs-card .rs-checks li { font-size: .95rem; }
.rs-card .rs-icon { margin-bottom: .6rem; }
.rs-plan-sub { color: var(--wp--preset--color--grau); font-size: .9rem; margin: 0 0 .6rem !important; }
.rs-plan-main { padding: 2rem; }
.rs-plan-main .rs-price { color: var(--wp--preset--color--rhein-dunkel); font-size: clamp(3rem, 7vw, 4.2rem); font-weight: 850; line-height: 1; margin: 0; }
.rs-plan-main::before { content: "Website-Paket"; }
.rs-sticky { position: sticky; top: 100px; }
@media (min-width: 782px) {
	.rs-cols-faq > .wp-block-column:first-child, .rs-cols-contact > .wp-block-column:first-child { flex-basis: 64% !important; flex-grow: 0 !important; }
	.rs-cols-faq > .wp-block-column:last-child, .rs-cols-contact > .wp-block-column:last-child { flex-basis: 33% !important; }
}

/* Zeitstrahl */
.rs-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.rs-timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--wp--preset--color--sonne), var(--wp--preset--color--rhein)); }
.rs-timeline li { position: relative; display: flex; gap: 1.1rem; padding: 0 0 1.4rem; }
.rs-timeline li:last-child { padding-bottom: 0; }
.rs-tl-no { flex: none; z-index: 1; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font-weight: 850; color: #fff; background: var(--wp--preset--color--rhein-dunkel); border: 4px solid #fff; box-shadow: 0 6px 14px -6px rgba(10,47,68,.5); }
.rs-timeline li:last-child .rs-tl-no { background: var(--wp--preset--color--sonne); color: var(--wp--preset--color--schiefer); }
.rs-tl-body { flex: 1; background: #fff; border: 1px solid #E3E9EE; border-radius: 16px; padding: 1rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease; }
.rs-tl-body:hover { transform: translateX(4px); box-shadow: 0 14px 28px -20px rgba(10,47,68,.45); }
.rs-tl-badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--rhein); background: #E8F1F6; border-radius: 999px; padding: .15rem .6rem; }
.rs-tl-body h3 { margin: .4rem 0 .25rem; font-size: 1.15rem; }
.rs-tl-body p { margin: 0; color: var(--wp--preset--color--grau); font-size: .97rem; }
.rs-section-alt .rs-honest { background: #fff; }
.rs-hero-sub h1, .rs-hero-sub .rs-lead, .rs-section-alt .rs-lead-dark, .rs-lead-dark { margin-left: 0 !important; margin-right: auto !important; }
@media (min-width: 782px) { .wp-block-columns:has(.rs-timeline) > .wp-block-column:first-child, .wp-block-columns:has(.rs-plan-main) > .wp-block-column:first-child { position: sticky; top: 100px; align-self: flex-start; } }
.rs-plan.is-featured.rs-plan-main::before { content: "Website-Paket"; }
.wp-block-columns.rs-cols-faq.rs-cols-faq > .wp-block-column.wp-block-column, .wp-block-columns.rs-cols-contact.rs-cols-contact > .wp-block-column.wp-block-column { flex-basis: 100% !important; }
@media (min-width: 782px) {
	.wp-block-columns.rs-cols-faq.rs-cols-faq > .wp-block-column.wp-block-column:first-child, .wp-block-columns.rs-cols-contact.rs-cols-contact > .wp-block-column.wp-block-column:first-child { flex: 0 0 62% !important; }
	.wp-block-columns.rs-cols-faq.rs-cols-faq > .wp-block-column.wp-block-column:last-child, .wp-block-columns.rs-cols-contact.rs-cols-contact > .wp-block-column.wp-block-column:last-child { flex: 1 1 0 !important; align-self: flex-start; position: sticky; top: 100px; }
}

/* =========================================================
   Logo Rheinstark
   ========================================================= */
.rs-logo { gap: .6rem; font-size: 1.5rem; letter-spacing: -.025em; }
.rs-logo .rs-mark { flex: none; display: block; transition: transform .25s ease; }
.rs-logo:hover .rs-mark { transform: rotate(-6deg) scale(1.04); }
.rs-wordmark { line-height: 1; }
.rs-w1 { font-weight: 500; color: var(--wp--preset--color--rhein-dunkel); }
.rs-w2 { font-weight: 850; color: var(--wp--preset--color--rhein); }
.rs-logo-light .rs-w1 { color: #fff; }
.rs-logo-light .rs-w2 { color: var(--wp--preset--color--sonne); }
.rs-logo-light .rs-mark rect { fill: rgba(255,255,255,.12); }
