/* Franklin Schwarzes Brett – bewusst schlicht, erbt Schrift und Farben vom Theme. */

.fop-brett {
	--fop-rand: currentColor;
	--fop-flaeche: rgba(127, 127, 127, 0.08);
	--fop-ok: #1f7a3a;
	--fop-fehler: #b3261e;
	display: grid;
	gap: 1.25rem;
}

.fop-hinweis {
	margin: 0;
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--fop-ok);
	background: var(--fop-flaeche);
}
.fop-hinweis--fehler { border-left-color: var(--fop-fehler); }
.fop-hinweis ul { margin: 0; padding-left: 1.2rem; }

.fop-neu > summary,
.fop-kontakt > summary {
	cursor: pointer;
	font-weight: 700;
}
.fop-neu > summary {
	display: inline-block;
	padding: 0.6rem 1rem;
	border: 2px solid var(--fop-rand);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.fop-neu[open] > summary { margin-bottom: 1rem; }

.fop-form { display: grid; gap: 0.85rem; max-width: 36rem; }
.fop-form label { display: grid; gap: 0.3rem; font-weight: 600; }
.fop-form small,
.fop-klein { font-weight: 400; font-size: 0.85em; opacity: 0.8; margin: 0; }
.fop-form input[type="text"],
.fop-form input[type="email"],
.fop-form select,
.fop-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--fop-rand);
	border-radius: 0;
	font: inherit;
	background: transparent;
	color: inherit;
}
.fop-form .fop-check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; }
.fop-form .fop-check input { margin-top: 0.25rem; }
.fop-form button {
	justify-self: start;
	padding: 0.65rem 1.2rem;
	border: 2px solid #111;
	background: #111;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

/* Honeypot für Spam-Bots: unsichtbar, aber nicht display:none. */
.fop-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fop-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fop-filter a {
	padding: 0.3rem 0.8rem;
	border: 1px solid var(--fop-rand);
	text-decoration: none;
	color: inherit;
}
.fop-filter a[aria-current="true"] { background: #111; color: #fff; border-color: #111; }

.fop-liste {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.fop-aushang {
	position: relative;
	padding: 1rem;
	border: 2px solid var(--fop-rand);
	background: var(--fop-flaeche);
	min-width: 0;
}
.fop-aushang h3 { margin: 0.4rem 0 0.5rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.fop-text { overflow-wrap: anywhere; }
.fop-meta { font-size: 0.85em; opacity: 0.75; margin: 0.75rem 0 0.5rem; }
.fop-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: #111;
	color: #fff;
}
.fop-kontakt .fop-form { margin-top: 0.75rem; }
.fop-leer { opacity: 0.75; }

/* Farbstreifen je Kategorie (Balkonfarben aus Franklin) */
.fop-aushang[class*="fop-kat-"] { border-top-width: 10px; }
.fop-kat-suche      { border-top-color: #E0479E; }
.fop-kat-biete      { border-top-color: #2BB3B1; }
.fop-kat-verschenke { border-top-color: #F2C230; }
.fop-kat-leihe      { border-top-color: #F39240; }

/* Kurzvorschau [franklin_brett_neueste] */
.fop-mini {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}
.fop-mini__zettel {
	display: grid;
	align-content: start;
	gap: 0.25rem;
	padding: 16px 18px;
	background: #fff;
	color: #1d2433;
	text-decoration: none;
	border-top: 10px solid #999;
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
	transform: rotate(-1.2deg);
	transition: transform 0.15s;
}
.fop-mini__zettel:nth-child(even) { transform: rotate(1deg); }
.fop-mini__zettel:hover,
.fop-mini__zettel:focus-visible { transform: rotate(0) translateY(-3px); }
.fop-mini__zettel strong { font-size: 1.1rem; line-height: 1.2; overflow-wrap: anywhere; }
.fop-mini__zettel span:last-child { font-size: 0.95rem; }
.fop-mini__kat { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
@media (prefers-reduced-motion: reduce) { .fop-mini__zettel { transition: none; } }
