@charset "utf-8";
/* =====================================================================================================
   „Bitte hilf mir!“ – Seiten für alle (Website und App). Nutzt die Variablen und Grundklassen aus tags.css
   (.btn, .btn-primary, .infokasten, .wichtig, .blau) und die Symbole aus symbole.css/tags.css.
   Stufenfarben wie kalender.css (Fallback, falls kalender.css auf der Seite nicht geladen ist).
===================================================================================================== */

.dpsg-schutz {
	--schutz-woelfling: var(--stufe-woelfling, var(--dpsg-orange, #ec661a));
	--schutz-jungpfadfinder: var(--stufe-jungpfadfinder, var(--dpsg-blue, #013056));
	--schutz-pfadfinder: var(--stufe-pfadfinder, var(--dpsg-green, #08833c));
	--schutz-rover: var(--stufe-rover, var(--dpsg-red, #b5212a));
	--schutz-leiter: var(--stufe-leiter, var(--menu-font-color, #616161));
	--schutz-stamm: var(--stufe-stamm, var(--hover-color, #c9b97e));
	--schutz-abstand: clamp(16px, 2vw, 28px);
	display: flex;
	flex-direction: column;
	gap: var(--schutz-abstand);
	/* Breite wie die übrigen Seiten des Templates (--site-width), mittig */
	box-sizing: border-box;
	width: var(--site-width, 85%);
	max-width: 100%;
	margin: var(--gap-big, 40px) auto;
}

.dpsg-schutz :is(h1, h2, h3, p) { margin: 0; }
.dpsg-schutz .infokasten { margin: 0; }
.dpsg-schutz h2 { color: var(--dpsg-blue); }
.dpsg-schutz b { font-weight: var(--text-font-weight-bold, 600); }
.dpsg-schutz b:not([class]) { color: var(--h2-font-color); }

.schutz-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

.schutz-blau { color: var(--dpsg-blue); }
.schutz-leise { font-weight: var(--menu-font-weight, 300); }
.schutz-hinweis { font-size: var(--text-font-size-medium, .9em); }
.schutz-mitte { text-align: center; }
.dpsg-schutz .schutz-stapel { display: flex; flex-direction: column; gap: 12px; }
.dpsg-schutz .schutz-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.schutz-breit { width: 100%; }

/*---------- Kopf ----------*/
.schutz-kopf { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
/* wie die Kategorie-Zeile der Beiträge (template.css .category-name) */
.schutz-kicker { color: var(--dpsg-red); font-size: var(--text-font-size-small); letter-spacing: 1px; text-transform: uppercase; font-weight: bold; }
.schutz-einleitung { font-size: 1.1em; }

.schutz-gefahr { display: flex !important; align-items: center; gap: 16px; }
.schutz-gefahr > .fa-solid { color: var(--dpsg-red); flex: none; }

.schutz-zurueck { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-font-size-medium); align-self: flex-start; }
.schutz-zurueck__pfeil,
.schutz-pfeil {
	display: inline-block;
	width: 22px;
	height: 22px;
	flex: none;
	background: url("../../templates/site/dpsgbardenberg/images/back.webp") center / contain no-repeat;
}
.schutz-pfeil { background-image: url("../../templates/site/dpsgbardenberg/images/follow.webp"); }

/*---------- Raster: Formular + Seitenleiste ----------*/
.schutz-raster { display: flex; flex-wrap: wrap; gap: calc(var(--schutz-abstand) * 1.2); align-items: flex-start; }
.schutz-raster > :first-child { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--schutz-abstand); }
.schutz-seite { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: var(--schutz-abstand); }

/* Nummerierter Abschnitt wie fabrik.css */
.schutz-abschnitt {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: calc(var(--gap) * 1.5);
	background: var(--white);
	border-left: var(--box-border) solid var(--schutz-rand, var(--hover-color));
	border-radius: var(--box-ecken);
	box-shadow: var(--box-shadow);
}
.schutz-abschnitt--erster { --schutz-rand: var(--dpsg-blue); }

/*---------- Auswahl-Knöpfe (echte Auswahlfelder, Aussehen wie die Kalender-Filter) ----------*/
.schutz-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.schutz-feldgruppe { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.schutz-feldgruppe > legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 1em; font-weight: var(--text-font-weight-bold); color: var(--h2-font-color); }

.schutz-knopf {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--hover-color);
	border-left: var(--box-border) solid var(--schutz-knopf, var(--hover-color));
	background: var(--white);
	color: var(--menu-font-color);
	font-size: var(--text-font-size-small);
	font-weight: var(--menu-font-weight);
	text-transform: uppercase;
	letter-spacing: .03em;
	text-decoration: none;
	cursor: pointer;
}
.schutz-knopf input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.schutz-knopf:has(input:checked),
.schutz-knopf.is-aktiv { background: var(--dpsg-blue); border-color: var(--dpsg-blue); color: var(--white); }
.schutz-knopf:has(input:focus-visible) { outline: 3px solid var(--hover-color2); outline-offset: 2px; }
.schutz-knopf:hover { color: var(--dpsg-blue); border-color: var(--dpsg-blue); }
.schutz-knopf:is(:has(input:checked), .is-aktiv):hover { color: var(--white); }
.schutz-knopf--woelfling { --schutz-knopf: var(--schutz-woelfling); }
.schutz-knopf--jungpfadfinder { --schutz-knopf: var(--schutz-jungpfadfinder); }
.schutz-knopf--pfadfinder { --schutz-knopf: var(--schutz-pfadfinder); }
.schutz-knopf--rover { --schutz-knopf: var(--schutz-rover); }
.schutz-knopf--leiter { --schutz-knopf: var(--schutz-leiter); }

/* Grenzverletzung: Kasten erst nach Auswahl */
/* Kasten im Abschnitt: ruhige Fläche wie in den Fabrik-Formularen (ohne Farbrand und Schatten); Betonung über <strong> in DPSG-Rot */
.schutz-grenzbox { display: none !important; flex-direction: column; gap: 12px; padding: var(--gap-smal) var(--gap) !important; background: var(--background-1) !important; border-left: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.schutz-form:has([data-schutz-grenze]:checked) .schutz-grenzbox { display: flex !important; }

/* Anonym oder mit Namen */
.schutz-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.schutz-wahl__karte {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--hover-color);
	background: var(--white);
	cursor: pointer;
}
.schutz-wahl__karte input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dpsg-schutz .schutz-wahl__karte b { color: var(--dpsg-blue); letter-spacing: .05em; }
.schutz-wahl__karte, .schutz-wahl__karte * { white-space: normal; }
.schutz-wahl__karte:has(input:checked) { border-color: var(--dpsg-blue); box-shadow: inset 0 0 0 3px var(--dpsg-blue); }
.schutz-wahl__karte:has(input:focus-visible) { outline: 3px solid var(--hover-color2); outline-offset: 2px; }

.schutz-namefelder { display: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.schutz-form:has([data-schutz-name]:checked) .schutz-namefelder { display: grid; }
.schutz-feld--breit, .schutz-konto { grid-column: 1 / -1; }
.schutz-konto { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; background: var(--background-1); }

.schutz-codehinweis { display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--background-1); }
.schutz-codehinweis > .fa-solid { color: var(--dpsg-blue); flex: none; }
.schutz-form:has(input[name="wahl"][value="anonym"]:checked) .schutz-codehinweis { display: flex; }

/* Felder */
.schutz-feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dpsg-schutz label:not(.schutz-knopf, .schutz-wahl__karte, .schutz-check) { font-weight: var(--text-font-weight-bold); color: var(--h2-font-color); white-space: normal; }
.dpsg-schutz :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea) {
	width: 100%;
	min-height: var(--control-h);
	padding: 10px 16px;
	border: 1px solid var(--hover-color);
	border-radius: 0;
	background: var(--white);
	font: inherit;
	color: var(--h2-font-color);
}
/* Textfelder wie im Template (tags.css): am PC höchstens 300 px, am Handy volle Breite (wie „Meine Daten“) */
.dpsg-schutz input[type="email"] { max-width: 300px; }
.dpsg-schutz textarea:is(textarea, [rows]) { height: auto; min-height: var(--control-h); resize: vertical; } /* Höhe über rows; tags.css setzt sonst 22px */
.schutz-check { display: flex; gap: 10px; align-items: center; }

.schutz-aufklapper > summary { cursor: pointer; color: var(--dpsg-blue); }
.schutz-aufklapper > summary :is(h2, h3) { display: inline; }
.schutz-aufklapper[open] > summary { margin-bottom: 10px; }
details.schutz-aufklapper:not(.schutz-abschnitt) { padding: 12px 16px; background: var(--background-1); }

.schutz-senden { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Falle für Spam-Programme: unsichtbar, aber nicht display:none */
.schutz-fallen { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Nebenaktion als Absende-Knopf: tags.css färbt jeden Absende-Knopf als Hauptaktion – hier wieder weiß mit Goldrand */
.dpsg-schutz :is(button[type="submit"], .btn).schutz-neben {
	background: var(--white);
	color: var(--menu-font-color);
	border-color: var(--hover-color);
}
.dpsg-schutz :is(button[type="submit"], .btn).schutz-neben::before,
.dpsg-schutz :is(button[type="submit"], .btn).schutz-neben::after { content: none; }
.dpsg-schutz :is(button[type="submit"], .btn).schutz-neben :is(.fa, .fa-solid) { color: var(--dpsg-blue); }
.dpsg-schutz .schutz-symbolknopf { width: var(--control-h); min-width: var(--control-h); padding: 0; gap: 0; }
.dpsg-schutz .schutz-klein { min-height: 40px; padding: 0 12px; font-size: var(--text-font-size-small); }

/*---------- Personen ----------*/
.schutz-personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.schutz-person { display: flex; align-items: center; gap: 12px; font-weight: var(--text-font-weight-bold); color: var(--h2-font-color); }
.schutz-bild {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 2px solid var(--hover-color);
	border-radius: 50%;
	background: var(--background-1);
	color: var(--hover-color);
}
.schutz-bild img, .schutz-bild svg { width: 100%; height: 100%; object-fit: cover; }
.schutz-bild > :not(img) { max-width: 100%; max-height: 100%; }
.schutz-team-kurz { display: none; }

.schutz-schritte { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.schutz-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.schutz-li b { color: var(--h2-font-color); }
.schutz-li li { padding-left: 26px; background: url("../../templates/site/dpsgbardenberg/images/li.webp") left .35em / 15px no-repeat; }

/*---------- Danke und Geheimcode ----------*/
.schutz-danke { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 640px; align-self: center; }
.schutz-danke__herz { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 2px solid var(--dpsg-green); border-radius: 50%; color: var(--dpsg-green); background: var(--white); }
.schutz-code {
	display: inline-block;
	align-self: flex-start;
	padding: 12px 18px;
	border: 2px dashed var(--hover-color);
	background: var(--white);
	color: var(--dpsg-blue);
	font-size: clamp(1.2rem, 3.5vw, 1.7rem);
	font-weight: var(--text-font-weight-bold);
	letter-spacing: .12em;
	word-break: break-all;
	user-select: all;
}
.schutz-nur-app { display: none; }
html.dpsg-app .schutz-nur-app { display: block; }
html.dpsg-app .schutz-nur-website { display: none; }
.dpsg-schutz.dpsg-schutz--danke, .dpsg-schutz.dpsg-schutz--gespraech, .dpsg-schutz.dpsg-schutz--meine { max-width: 820px; }

/*---------- Gespräch ----------*/
.schutz-gespraech-kopf { display: flex; flex-direction: column; gap: 6px; }
.schutz-verlauf { display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 2vw, 22px); background: var(--background-1); }
.schutz-tag { align-self: center; font-size: var(--text-font-size-small); }
.schutz-zeit, .schutz-blase__wer { display: block; font-size: var(--text-font-size-small); }
.schutz-blase__wer { font-weight: var(--text-font-weight-bold); color: var(--dpsg-blue); }
.schutz-blase { display: flex; flex-direction: column; gap: 4px; align-self: flex-start; max-width: min(82%, 620px); padding: 12px 14px; background: var(--white); box-shadow: var(--box-shadow); overflow-wrap: anywhere; }
.schutz-blase--ich { align-self: flex-end; background: var(--dpsg-blue); color: var(--white); }
.schutz-blase--ich :is(.schutz-blase__wer, .schutz-zeit) { color: var(--white); opacity: .85; }
.schutz-blase-mit-bild { display: flex; gap: 10px; align-items: flex-end; align-self: flex-start; max-width: 100%; }
.schutz-blase-mit-bild .schutz-blase { max-width: min(82vw, 620px); }
.schutz-blase-mit-bild .schutz-bild { width: 40px; height: 40px; border-width: 1px; }
.schutz-blase-mit-bild--team { align-self: flex-end; flex-direction: row-reverse; }

.schutz-info { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--background-1); font-size: var(--text-font-size-medium); }
.schutz-info > .fa-solid { color: var(--menu-font-color); flex: none; }

.schutz-antwort { display: flex; flex-direction: column; gap: 8px; }
.schutz-antwort__zeile { display: flex; gap: 8px; align-items: flex-end; }
.schutz-antwort__zeile textarea { min-height: var(--control-h) !important; flex: 1; }
.schutz-neu-laden { align-self: center; }

/*---------- Meine Gespräche ----------*/
.schutz-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.schutz-liste__eintrag { display: flex; gap: 8px; align-items: stretch; }
.schutz-liste__oeffnen { flex: 1; min-width: 0; margin: 0; }
.dpsg-schutz .schutz-liste button.schutz-liste__knopf[type="submit"] {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: var(--control-h);
	padding: 10px 14px;
	border: 1px solid var(--hover-color);
	background: var(--white);
	color: var(--menu-font-color);
	font: inherit;
	text-align: left;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
}
.dpsg-schutz .schutz-liste button.schutz-liste__knopf[type="submit"]::before, .dpsg-schutz .schutz-liste button.schutz-liste__knopf[type="submit"]::after { content: none; }
.schutz-liste__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dpsg-schutz .schutz-liste__text b { color: var(--dpsg-blue); }
.schutz-liste__punkt, .schutz-punkt { width: 12px; height: 12px; flex: none; border-radius: 50%; background: transparent; }
.schutz-liste__knopf.is-neu .schutz-liste__punkt, .schutz-punkt { background: var(--dpsg-red); }
.schutz-liste__knopf.is-neu .schutz-hinweis { color: var(--dpsg-red); font-weight: var(--text-font-weight-bold); }
.schutz-codeform { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.schutz-codeform .schutz-feld { flex: 1 1 260px; }
.schutz-codeform input { text-transform: uppercase; letter-spacing: .1em; }

/* Roter Punkt an Links zur Seite (App, gesetzt von js/punkt.js des Plugins) */
.schutz-hat-antwort { position: relative; margin-right: 14px; }
.schutz-hat-antwort::after {
	content: "";
	position: absolute;
	top: 0;
	right: -13px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--dpsg-red);
	box-shadow: 0 0 0 2px var(--white);
}

/*---------- Handy und App ----------*/
@media (max-width: 1020px) {
	.dpsg-schutz :is(input[type="text"], input[type="email"], input[type="tel"]) { max-width: none !important; }
}

@media (max-width: 1020px) {
	.dpsg-schutz { width: calc(100% - 2 * var(--gap, 16px)); margin-top: var(--gap, 16px); }
	.schutz-team-kurz { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--white); box-shadow: var(--box-shadow); }
	.schutz-team-kurz__titel { font-weight: var(--text-font-weight-bold); color: var(--dpsg-blue); font-size: var(--text-font-size-medium); }
	.schutz-team-kurz__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
	.schutz-person--klein { flex-direction: column; gap: 4px; font-weight: 400; font-size: var(--text-font-size-small); text-align: center; }
	.schutz-person--klein .schutz-bild { width: 52px; height: 52px; }
	.schutz-wer .schutz-personen { display: none; }
	.schutz-antwort__zeile .btn span:not(.fa-solid) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.schutz-antwort__zeile .btn { width: var(--control-h); padding: 0; }
}
