/* Gesperrt: Einstieg (Intro, Unterzeile) bleibt. Danach nur Text als Anreißer: eine Zwischenüberschrift
   mit ausblendendem Absatz oder nur der Absatz. Kästen (Download, Prompts, Karten, Bilder) bleiben immer zu. */
html[data-dfg=locked] body.dfg-gated .df-mw > .df-sub ~ * { display: none !important; }
/* Ab 1.13: Ein offizielles Video (.df-video-oben) direkt unter der Unterzeile bleibt sichtbar und spielbar.
   Anreißer, Vorschau-Grafik und Box folgen dann darauf, als stünde das Video nicht da. */
html[data-dfg=locked] body.dfg-gated .df-mw > .df-sub + .df-video-oben { display: block !important; }
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + h2:has(+ p),
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + h2 + p,
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + p { display: block !important; }
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + h2 + p,
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + p {
	max-height: 7.5em;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
}
html[data-dfg=locked] body.dfg-gated .df-mw > .dfg-slot { display: block !important; }
/* Ab 1.6: Eine Grafik im Rahmen .df-teaser direkt nach dem Anreißer bleibt als Vorschau sichtbar: blendet nach unten aus,
   nicht klickbar. Der Absatz davor bleibt dann ganz lesbar. Ohne .df-teaser ändert sich nichts. */
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + h2 + p + .df-teaser,
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + p + .df-teaser {
	display: block !important;
	max-height: 300px;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + h2 + p:has(+ .df-teaser),
html[data-dfg=locked] body.dfg-gated .df-mw > :is(.df-sub, .df-sub + .df-video-oben) + p:has(+ .df-teaser) {
	max-height: none;
	-webkit-mask-image: none;
	mask-image: none;
}

.dfg-box {
	position: relative;
	background: #1D1D1D;
	color: #FAF8F5;
	border-radius: 14px;
	padding: 26px 24px 22px;
	margin: 8px 0 40px;
	font-family: 'Satoshi', system-ui, sans-serif;
}
.dfg-box h3 { font-family: 'Satoshi', system-ui, sans-serif !important; color: #FAF8F5 !important; font-size: 21px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.dfg-box .dfg-sub { font-family: 'Lora', serif; font-size: 16px; color: #D3D1C7; margin: 0 0 18px; }
.dfg-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.dfg-form input[type=email] {
	flex: 1 1 220px;
	min-width: 0;
	background: #FAF8F5;
	color: #1D1D1D;
	border: none;
	border-radius: 99px;
	padding: 12px 18px;
	font-size: 16px; /* verhindert Zoom auf iOS */
	font-family: inherit;
}
.dfg-form button {
	flex: 0 0 auto;
	background: #EBDBBC;
	color: #1D1D1D;
	border: none;
	border-radius: 99px;
	padding: 12px 24px;
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}
.dfg-form button:hover { opacity: .85; }
.dfg-form button[disabled] { opacity: .6; cursor: default; }
.dfg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dfg-returning { font-size: 13.5px; color: #D3D1C7; margin: 12px 0 0; }
.dfg-small { font-size: 12px; line-height: 1.5; color: #A09D95; margin: 10px 0 0; }
.dfg-small a { color: #D3D1C7; text-decoration: underline; }
.dfg-msg { font-size: 14px; color: #F7C9A8; margin: 10px 0 0; min-height: 0; }
.dfg-msg:empty { display: none; }

/* Ab 1.8: Schrägschrift für ein Wort der Überschrift (lokal, SIL OFL) */
@font-face {
	font-family: 'DFG Playfair';
	src: url('fonts/playfair-display-800-italic.woff2') format('woff2');
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}
.dfg-box h3 .dfg-accent {
	font-family: 'DFG Playfair', 'Playfair Display', Georgia, serif !important;
	font-style: italic;
	font-weight: 800;
	font-size: 1.22em;
	line-height: 1;
	letter-spacing: -0.01em;
	color: #EBDBBC;
	padding-right: .04em;
}

/* Ab 1.8: Haken erscheinen nacheinander (Kreis ploppt auf, Haken zeichnet sich) */
.dfg-checks li { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.dfg-checks .dfg-ck { transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.dfg-checks .dfg-ck path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s ease; }
.dfg-checks.dfg-go li { opacity: 1; transform: none; }
.dfg-checks.dfg-go .dfg-ck { transform: scale(1); }
.dfg-checks.dfg-go .dfg-ck path { stroke-dashoffset: 0; }
.dfg-checks.dfg-go li:nth-child(1) { transition-delay: .1s; }
.dfg-checks.dfg-go li:nth-child(1) .dfg-ck { transition-delay: .2s; }
.dfg-checks.dfg-go li:nth-child(1) .dfg-ck path { transition-delay: .45s; }
.dfg-checks.dfg-go li:nth-child(2) { transition-delay: .45s; }
.dfg-checks.dfg-go li:nth-child(2) .dfg-ck { transition-delay: .55s; }
.dfg-checks.dfg-go li:nth-child(2) .dfg-ck path { transition-delay: .8s; }
.dfg-checks.dfg-go li:nth-child(3) { transition-delay: .8s; }
.dfg-checks.dfg-go li:nth-child(3) .dfg-ck { transition-delay: .9s; }
.dfg-checks.dfg-go li:nth-child(3) .dfg-ck path { transition-delay: 1.15s; }
@media (prefers-reduced-motion: reduce) {
	.dfg-checks li, .dfg-checks .dfg-ck, .dfg-checks .dfg-ck path { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}

/* Ab 1.7: Haken und Newsletter-Vorschau */
.dfg-checks { list-style: none !important; padding: 0 !important; margin: -4px 0 20px !important; }
.dfg-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #FAF8F5; margin: 0 0 9px; padding: 0 !important; list-style: none !important; }
.dfg-checks li::before { content: none !important; }
.dfg-ck { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #EBDBBC; color: #1D1D1D; display: flex; align-items: center; justify-content: center; }
.dfg-ck svg { width: 12px; height: 12px; }
.dfg-prev { display: none; }
@media (min-width: 900px) {
	.dfg-box .dfg-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 22px; }
	.dfg-box .dfg-checks { margin-bottom: 18px !important; }
	.dfg-prev { display: block; background: #FAF9F5; color: #1D1D1D; border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.4; }
	.dfg-prev-dots { display: flex; gap: 5px; margin: 0 0 10px; }
	.dfg-prev-dots i { width: 8px; height: 8px; border-radius: 50%; background: #D3D1C7; }
	.dfg-prev-from { font-size: 12px; color: #818181; margin: 0 0 2px !important; padding: 0 !important; }
	.dfg-prev-subj { font-size: 15px; font-weight: 700; margin: 0 0 10px !important; padding: 0 !important; color: #1D1D1D; }
	.dfg-prev-card { background: #EBDBBC; border-radius: 8px; padding: 9px 11px; margin: 0 0 7px; }
	.dfg-prev-card + .dfg-prev-card { background: #E8E6DC; margin: 0; }
	.dfg-prev-card strong { display: block; font-weight: 700; }
	.dfg-prev-card span { display: block; }
}
@media (max-width: 899px) {
	.dfg-box .dfg-form input[type=email], .dfg-box .dfg-form button { flex: 1 1 100%; }
}

/* Bestätigung nach dem Freischalten */
.dfg-done {
	background: #F7ECD8;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14.5px;
	margin: 0 0 22px;
	font-family: 'Satoshi', system-ui, sans-serif;
	color: #1D1D1D;
}

/* Handy: Box schwebt unten, bis ihr Platz im Text erreicht ist */
.dfg-box.dfg-fixed {
	position: fixed;
	bottom: calc(10px + env(safe-area-inset-bottom));
	z-index: 99999;
	margin: 0;
	box-shadow: 0 -6px 30px rgba(0,0,0,.25);
}
.dfg-box.dfg-from { transform: translateY(calc(100% + 40px)); }
.dfg-box.dfg-anim { transition: transform .35s ease; }
.dfg-close {
	display: none;
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	color: #A09D95;
	font-size: 26px;
	line-height: 1;
	padding: 6px 8px;
	cursor: pointer;
}
.dfg-box.dfg-fixed .dfg-close { display: block; }

/* Postfach-Fenster nach einer neuen Anmeldung: groß, mittig, geht nur über × zu */
html.dfg-noscroll, html.dfg-noscroll body { overflow: hidden !important; }
.dfg-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	background: rgba(20, 20, 19, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	animation: dfgFade .2s ease both;
}
@keyframes dfgFade { from { opacity: 0; } to { opacity: 1; } }
.dfg-overlay .dfg-box {
	box-sizing: border-box;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	margin: 0;
	padding: 34px 28px 26px;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	animation: dfgPop .25s ease both;
}
@keyframes dfgPop { from { transform: translateY(12px) scale(.98); } to { transform: none; } }
.dfg-overlay .dfg-close { display: block; top: 10px; right: 12px; font-size: 30px; color: #D3D1C7; }
.dfg-overlay .dfg-close:hover { color: #FAF8F5; }
.dfg-check-icon { width: 48px; height: 48px; color: #F7ECD8; margin: 0 0 14px; }
.dfg-check-icon svg { width: 100%; height: 100%; }
.dfg-overlay .dfg-check h3 { font-size: 26px; line-height: 1.25; margin: 0 0 10px; padding-right: 24px; }
.dfg-check-to { font-size: 19px; line-height: 1.4; color: #D3D1C7; margin: 0 0 20px; overflow-wrap: anywhere; }
.dfg-check-to strong { color: #FAF8F5; }
.dfg-check-text { font-family: 'Lora', serif; font-size: 17px; line-height: 1.55; color: #FAF8F5; margin: 0 0 18px; }
.dfg-mail {
	background: #FAF8F5;
	color: #1D1D1D;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14px;
	margin: 0 0 16px;
}
.dfg-mail-row { display: flex; gap: 10px; padding: 3px 0; }
.dfg-mail-row span { flex: 0 0 56px; color: #8A877F; }
.dfg-mail-hint {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 10px;
	padding-top: 11px;
	border-top: 1px solid #E8E6DC;
	font-size: 15px;
	line-height: 1.4;
}
.dfg-mail-hint svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: #8A877F; }
.dfg-open-mail {
	display: block;
	text-align: center;
	background: #F7ECD8;
	color: #1D1D1D !important;
	text-decoration: none !important;
	border-radius: 99px;
	padding: 13px 20px;
	font-weight: 700;
	font-size: 15px;
	margin: 0 0 14px;
}
.dfg-open-mail:hover { opacity: .9; }
.dfg-check-spam { font-size: 14px; color: #D3D1C7; margin: 0 0 8px; }
.dfg-check-fix { font-size: 13.5px; color: #A09D95; margin: 0; }
.dfg-linkbtn { background: none; border: none; padding: 0; color: #D3D1C7; text-decoration: underline; font: inherit; cursor: pointer; }
.dfg-linkbtn:hover { color: #FAF8F5; }

/* Warten auf die Bestätigung (Box im Text und Fenster) */
.dfg-wait-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #D3D1C7; margin: 0 0 14px; }
.dfg-dot { width: 9px; height: 9px; border-radius: 50%; background: #F7ECD8; flex: 0 0 auto; animation: dfgPulse 1.4s ease-in-out infinite; }
@keyframes dfgPulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
.dfg-box .dfg-check-icon { width: 40px; height: 40px; margin: 0 0 12px; }
.dfg-box .dfg-open-mail { margin: 0 0 14px; }
.dfg-recheck {
	display: block;
	width: 100%;
	background: transparent;
	color: #FAF8F5;
	border: 1px solid #5F5E5A;
	border-radius: 99px;
	padding: 11px 20px;
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	margin: 0 0 4px;
}
.dfg-recheck:hover { border-color: #D3D1C7; }

/* Anmelde-Fenster auf allen Seiten (#newsletter) */
.dfg-pop .dfg-box:focus { outline: none; }
.dfg-pop .dfg-check h3 { padding-right: 28px; }
.dfg-pop .dfg-sub { margin: 0 0 18px; }
.dfg-pop .dfg-form input[type=email] { flex-basis: 100%; }
.dfg-pop .dfg-form button { flex: 1 1 100%; }
.dfg-pop .dfg-check-fix { margin-top: 10px; }
.dfg-pop .dfg-pop-ok { margin-top: 18px; }
