/* Review Manager – Bewertungsseite */
.rm-app {
	--rm-primary: #08bbc3;
	--rm-on-primary: #ffffff;
	--rm-text: #1f2328;
	--rm-muted: #5f6670;
	--rm-border: #d9dde2;
	--rm-bg: #f4f6f8;
	--rm-card: #ffffff;
	--rm-star-off: #d5d9de;
	--rm-star-on: #f5b301;
	--rm-error: #c62828;
	--rm-radius: 14px;
	box-sizing: border-box;
	max-width: 640px;
	margin: 0 auto;
	padding: 24px 16px 40px;
	font-family: inherit;
	color: var(--rm-text);
	line-height: 1.5;
}
.rm-app *, .rm-app *::before, .rm-app *::after { box-sizing: border-box; }

.rm-card {
	background: var(--rm-card);
	border-radius: var(--rm-radius);
	box-shadow: 0 6px 30px rgba(20, 30, 40, .08);
	padding: 32px 28px;
	text-align: center;
}
.rm-logo { margin: 0 0 20px; }
.rm-logo img { max-height: 72px; max-width: 220px; width: auto; height: auto; }

.rm-step[hidden], .rm-app [hidden] { display: none !important; }
.rm-step.rm-anim { animation: rm-in .25s ease-out both; }
@keyframes rm-in { from { opacity: .01; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rm-step.rm-anim { animation: none; } }

.rm-h1 { font-size: clamp(1.35rem, 4.5vw, 1.8rem); line-height: 1.25; margin: 0 0 10px; font-weight: 700; color: inherit; }
.rm-h1:focus { outline: none; }
.rm-lead { margin: 0 0 20px; color: var(--rm-muted); font-size: 1.02rem; }
.rm-footnote { margin: 18px 0 0; font-size: .85rem; color: var(--rm-muted); }

.rm-stars { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.rm-star {
	appearance: none; background: none; border: 0; padding: 4px; cursor: pointer;
	width: 56px; height: 56px; border-radius: 10px; transition: transform .15s ease;
}
.rm-star svg { width: 100%; height: 100%; fill: var(--rm-star-off); transition: fill .15s ease; }
.rm-star.is-on svg { fill: var(--rm-star-on); }
.rm-star:hover { transform: scale(1.08); }
.rm-star:focus-visible { outline: 3px solid var(--rm-primary); outline-offset: 2px; }
.rm-star-label { min-height: 1.5em; margin: 0 0 16px; font-weight: 600; color: var(--rm-muted); }
@media (max-width: 440px) {
	.rm-card { padding: 24px 16px; }
	.rm-stars { gap: 2px; }
	.rm-star { width: 50px; height: 50px; }
}
@media (max-width: 340px) { .rm-star { width: 42px; height: 42px; } }

.rm-field { display: block; margin: 0 0 12px; text-align: left; }
.rm-field input, .rm-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--rm-text);
	padding: 12px 14px; border: 1px solid var(--rm-border); border-radius: 10px; background: #fff;
}
.rm-field textarea { resize: vertical; min-height: 120px; }
.rm-field input:focus, .rm-field textarea:focus { outline: none; border-color: var(--rm-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rm-primary) 25%, transparent); }
.rm-invalid, .rm-field .rm-invalid { border-color: var(--rm-error) !important; }
.rm-check.rm-invalid, .rm-check:has(.rm-invalid) { color: var(--rm-error); }

.rm-fields { margin: 0 0 8px; }
.rm-check { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 4px 0 14px; cursor: pointer; }
.rm-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rm-primary); flex: 0 0 auto; }
.rm-check small { color: var(--rm-muted); }
.rm-check--big { background: var(--rm-bg); padding: 14px; border-radius: 10px; }

.rm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; min-height: 50px; margin: 8px 0 0; padding: 12px 20px;
	font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none;
	background: var(--rm-primary); color: var(--rm-on-primary);
	border: 2px solid var(--rm-primary); border-radius: 10px; cursor: pointer;
	transition: filter .15s ease, transform .1s ease;
}
.rm-btn:hover { filter: brightness(.92); color: var(--rm-on-primary); }
.rm-btn:active { transform: translateY(1px); }
.rm-btn:focus-visible { outline: 3px solid var(--rm-text); outline-offset: 2px; }
.rm-btn--ghost { background: transparent; color: var(--rm-primary); }
.rm-btn--ghost:hover { color: var(--rm-primary); background: color-mix(in srgb, var(--rm-primary) 8%, transparent); filter: none; }
.rm-btn.is-loading { opacity: .7; pointer-events: none; }
.rm-btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rm-spin .7s linear infinite; }
@keyframes rm-spin { to { transform: rotate(360deg); } }

.rm-link { appearance: none; background: none; border: 0; margin: 14px 0 0; padding: 4px; font: inherit; font-size: .9rem; color: var(--rm-muted); text-decoration: underline; cursor: pointer; }

.rm-error { margin: 4px 0 8px; padding: 10px 12px; border-radius: 8px; background: #fdecea; color: var(--rm-error); font-size: .92rem; text-align: left; }

.rm-success-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--rm-primary); display: flex; align-items: center; justify-content: center; }
.rm-success-icon svg { width: 36px; height: 36px; fill: var(--rm-on-primary); }

.rm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rm-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.rm-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0 0; font-size: .82rem; color: var(--rm-muted); }
.rm-legal a { color: inherit; }
.rm-powered { opacity: .7; }

/* Baum-Banner */
.rm-tree-banner {
	display: flex; gap: 16px; align-items: center; text-align: left;
	background: linear-gradient(135deg, #2f7d32, #4caf50); color: #fff;
	border-radius: var(--rm-radius); padding: 18px 20px; margin: 0 0 18px;
}
.rm-tree-banner__forest { width: 96px; height: auto; flex: 0 0 auto; }
.rm-tree-banner p { margin: 0 0 8px; color: #fff; font-size: .95rem; }
.rm-tree-banner__heading { font-size: 1.1rem !important; }
.rm-tree-banner__count { font-size: 1.6rem; margin-left: 4px; }
.rm-tree-banner .rm-btn--ghost { width: auto; min-height: 40px; padding: 8px 16px; color: #fff; border-color: #fff; }
.rm-tree-banner .rm-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 520px) { .rm-tree-banner { flex-direction: column; text-align: center; } }

/* Eigenständige Seite ohne Theme */
body.rm-standalone { margin: 0; background: var(--rm-page-bg, #f4f6f8); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2328; }
body.rm-standalone .rm-app { padding-top: 40px; }

/* Infoseite */
.rm-info { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; color: var(--rm-text, #1f2328); line-height: 1.6; }
.rm-info__hero { position: relative; border-radius: 14px; overflow: hidden; color: #fff; padding: 64px 28px; margin: 24px 0 32px; background: #2f7d32 center/cover no-repeat; text-align: center; }
.rm-info__hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 40, 15, .55); }
.rm-info__hero > * { position: relative; }
.rm-info__hero h1 { margin: 0 0 4px; font-size: clamp(1.6rem, 5vw, 2.6rem); color: #fff; }
.rm-info__hero .rm-info__sub { font-size: 1.2rem; margin: 0 0 16px; }
.rm-info__hero p { max-width: 680px; margin: 0 auto 20px; }
.rm-info__hero .rm-btn { width: auto; }
.rm-info__count { display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px; padding: 6px 16px; margin: 0 0 16px; font-weight: 700; }
.rm-info section { margin: 0 0 40px; }
.rm-info h2 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); line-height: 1.3; margin: 0 0 12px; }
.rm-info__lead { font-size: 1.15rem; text-align: center; max-width: 760px; margin: 0 auto 40px; }
.rm-info__quote { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; background: #f4f6f8; border-radius: 14px; padding: 24px; }
.rm-info__quote--noimg { grid-template-columns: 1fr; }
.rm-info__quote img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; }
.rm-info__quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; }
.rm-info__quote cite span { display: block; font-weight: 400; color: #5f6670; }
@media (max-width: 640px) { .rm-info__quote { grid-template-columns: 1fr; text-align: center; } .rm-info__quote img { margin: 0 auto; } }
.rm-info__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.rm-info__steps img { width: 100%; max-width: 220px; height: auto; border-radius: 12px; margin: 0 0 10px; }
.rm-info__steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
@media (max-width: 720px) { .rm-info__steps { grid-template-columns: 1fr; } }
.rm-info__project { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rm-info__project img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 720px) { .rm-info__project { grid-template-columns: 1fr; } }
.rm-info blockquote { margin: 16px 0 0; padding: 0 0 0 16px; border-left: 4px solid var(--rm-primary, #08bbc3); font-style: italic; }
