/* FF Podersdorf am See: Styles fuer Shortcode-Komponenten und Layout-Rahmen.
   Farben und Schriften kommen aus dem Elementor Kit (globale Variablen). */

:root {
	--ff-red: var(--e-global-color-primary, #D0241B);
	--ff-ink: var(--e-global-color-secondary, #15171C);
	--ff-text: var(--e-global-color-text, #4B505B);
	--ff-line: var(--e-global-color-ffline, #D9DCE1);
	--ff-bg: var(--e-global-color-ffbg, #F3F4F5);
	--ff-dark: var(--e-global-color-ffdark, #101217);
	--ff-head: var(--e-global-typography-primary-font-family, "Barlow Condensed"), "Arial Narrow", sans-serif;
	--ff-body: var(--e-global-typography-text-font-family, "Barlow"), Arial, sans-serif;
}

/* Header klebt oben */
.ff-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
}
body.admin-bar .ff-site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .ff-site-header { top: 0; }
}
/* Auf dem Handy scrollt der Header mit, damit er nicht ein Sechstel des Bildschirms belegt */
@media (max-width: 767px) {
	.ff-site-header { position: relative; }
}

/* Lange deutsche Komposita in grossen Ueberschriften duerfen umbrechen statt ueberzulaufen */
.elementor-heading-title { overflow-wrap: break-word; }

/* ---------- Termine ---------- */
.ff-termine {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ff-line);
}
.ff-termin__body { min-width: 0; }
.ff-termin__titel { overflow-wrap: break-word; hyphens: auto; }
.ff-termin {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 26px 0;
	border-bottom: 1px solid var(--ff-line);
	margin: 0;
}
.ff-termin__datum {
	display: flex;
	flex-direction: column;
	font-family: var(--ff-head);
	text-transform: uppercase;
	line-height: 0.9;
	color: var(--ff-ink);
}
.ff-termin__tag {
	font-size: 64px;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--ff-red);
	white-space: nowrap;
}
.ff-termin__monat {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 1.5px;
	margin-top: 6px;
}
.ff-termin__titel {
	font-family: var(--ff-head);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--ff-ink);
	margin: 0 0 6px;
}
.ff-termin__meta,
.ff-termin__info {
	font-family: var(--ff-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ff-text);
	margin: 0;
}
.ff-termin__meta { font-weight: 600; color: var(--ff-ink); }
.ff-termine--leer p { font-size: 18px; margin: 0; padding: 24px 0; border-top: 1px solid var(--ff-line); border-bottom: 1px solid var(--ff-line); }

@media (max-width: 600px) {
	.ff-termin { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 20px 0; }
	.ff-termin__tag { font-size: 44px; }
	.ff-termin__monat { font-size: 14px; }
	.ff-termin__titel { font-size: 23px; }
}

/* ---------- Aktuelles ---------- */
.ff-news {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	grid-auto-rows: auto;
	gap: 40px 48px;
}
.ff-news__item {
	display: grid;
	grid-template-columns: 168px 1fr;
	gap: 22px;
	align-items: start;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--ff-line);
}
.ff-news__item--lead {
	grid-row: span 3;
	grid-template-columns: 1fr;
	border-bottom: 0;
	padding-bottom: 0;
}
.ff-news[data-count="2"] .ff-news__item--lead { grid-row: span 1; }
.ff-news__bild {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ff-dark);
}
.ff-news__item--lead .ff-news__bild { aspect-ratio: 16 / 10; }
.ff-news__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease, opacity .3s ease;
}
.ff-news__item:hover .ff-news__bild img { transform: scale(1.04); opacity: .9; }
.ff-news__datum {
	display: block;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ff-red);
	margin-bottom: 8px;
}
.ff-news__titel {
	font-family: var(--ff-head);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 1.05;
	margin: 0 0 10px;
}
.ff-news__item--lead .ff-news__titel { font-size: 40px; line-height: 1; }
.ff-news__item--lead .ff-news__text { padding-top: 6px; }
.ff-news__titel a { color: var(--ff-ink); text-decoration: none; background-image: linear-gradient(var(--ff-red), var(--ff-red)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; }
.ff-news__titel a:hover, .ff-news__titel a:focus-visible { color: var(--ff-ink); background-size: 100% 3px; }
.ff-news__auszug { font-family: var(--ff-body); font-size: 16px; line-height: 1.6; color: var(--ff-text); margin: 0; max-width: 60ch; }
.ff-news__item--lead .ff-news__auszug { font-size: 18px; }

@media (max-width: 1024px) {
	.ff-news { grid-template-columns: 1fr; }
	.ff-news__item--lead { grid-row: auto; }
}
@media (max-width: 600px) {
	.ff-news__item { grid-template-columns: 110px 1fr; gap: 16px; }
	.ff-news__item--lead { grid-template-columns: 1fr; }
	.ff-news__item--lead .ff-news__titel { font-size: 32px; }
	.ff-news__titel { font-size: 21px; }
	.ff-news__item:not(.ff-news__item--lead) .ff-news__auszug { display: none; }
}

/* ---------- LSZ Einsatzanzeige ---------- */
.ff-lsz {
	background: #fff;
	border-top: 4px solid var(--ff-red);
	line-height: 0;
}
.ff-lsz iframe { display: block; width: 100%; min-height: 500px; }

/* ---------- Eigener Facebook-Feed ---------- */
.ff-fbfeed {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
}
.ff-fbfeed__item {
	display: flex;
	flex-direction: column;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ff-line);
}
.ff-fbfeed__bild {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ff-dark);
	border-top: 4px solid var(--ff-red);
	margin-bottom: 18px;
}
.ff-fbfeed__bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; }
.ff-fbfeed__item:hover .ff-fbfeed__bild img { transform: scale(1.04); }
.ff-fbfeed__text { display: flex; flex-direction: column; flex: 1; }
.ff-fbfeed__datum {
	display: block;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ff-red);
	margin-bottom: 8px;
}
.ff-fbfeed__titel {
	font-family: var(--ff-head);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.08;
	text-transform: uppercase;
	margin: 0 0 10px;
	overflow-wrap: break-word;
}
.ff-fbfeed__titel a { color: var(--ff-ink); text-decoration: none; }
.ff-fbfeed__titel a:hover, .ff-fbfeed__titel a:focus-visible { color: var(--ff-red); }
.ff-fbfeed__auszug { font-family: var(--ff-body); font-size: 16px; line-height: 1.6; color: var(--ff-text); margin: 0 0 14px; }
.ff-fbfeed__mehr {
	margin-top: auto;
	align-self: flex-start;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--ff-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--ff-red);
	padding-bottom: 4px;
}
.ff-fbfeed__mehr:hover, .ff-fbfeed__mehr:focus-visible { color: var(--ff-red); }
.ff-fbfeed--leer { display: block; }
.ff-fbfeed--leer p { font-size: 18px; margin: 0; padding: 24px 0; border-top: 1px solid var(--ff-line); border-bottom: 1px solid var(--ff-line); }
@media (max-width: 1024px) { .ff-fbfeed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ff-fbfeed { grid-template-columns: 1fr; } }

/* ---------- Blog: Beitrag & Uebersicht ---------- */
.ff-blog { background: var(--ff-bg); }
.ff-blog-hero {
	position: relative;
	background-color: var(--ff-dark);
	background-image: linear-gradient(20deg, rgba(16,18,23,.95) 15%, rgba(16,18,23,.45) 100%), var(--ff-hero-img, none);
	background-size: cover;
	background-position: center;
	padding: 150px 24px 88px;
}
.ff-blog-hero--plain { padding-top: 140px; padding-bottom: 72px; }
/* Beitrag: dunkler Kopf ohne Foto, das Beitragsbild folgt darunter ueberlappend */
.ff-blog--single .ff-blog-hero { background-image: none; padding-bottom: 180px; }
.ff-blog .ff-blog-hero__titel { color: #fff; }
.ff-blog .ff-prose h2, .ff-blog .ff-prose h3, .ff-blog .ff-prose h4 { color: var(--ff-ink); }
.ff-blog-hero__inner { max-width: 1232px; margin: 0 auto; }
.ff-blog-hero__kicker {
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ff-red);
	margin: 0 0 18px;
}
.ff-blog-hero__kicker a { color: var(--ff-red); text-decoration: none; }
.ff-blog-hero__kicker a:hover { color: #fff; }
.ff-blog-hero__kicker span { color: rgba(255,255,255,.5); margin: 0 6px; }
.ff-blog-hero__titel {
	font-family: var(--ff-head);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 72px;
	line-height: .95;
	letter-spacing: -1px;
	color: #fff;
	margin: 0;
	max-width: 26ch;
	overflow-wrap: break-word;
}
.ff-blog-hero__meta, .ff-blog-hero__lead {
	font-family: var(--ff-body);
	font-size: 19px;
	line-height: 1.55;
	color: rgba(255,255,255,.72);
	margin: 22px 0 0;
	max-width: 60ch;
}
.ff-blog-article {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 24px 32px;
}
.ff-blog-article__bild { margin: -140px 0 48px; position: relative; z-index: 2; border-top: 6px solid var(--ff-red); }
.ff-blog-article__bild img { display: block; width: 100%; height: auto; }
.ff-prose { font-family: var(--ff-body); font-size: 18px; line-height: 1.7; color: var(--ff-text); }
.ff-prose > * { margin-top: 0; margin-bottom: 1.2em; }
.ff-prose h2, .ff-prose h3, .ff-prose h4 {
	font-family: var(--ff-head);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ff-ink);
	line-height: 1.05;
	margin-top: 1.6em;
}
.ff-prose h2 { font-size: 40px; }
.ff-prose h3 { font-size: 30px; }
.ff-prose strong { color: var(--ff-ink); }
.ff-prose a { color: var(--ff-red); }
.ff-prose blockquote { border-left: 4px solid var(--ff-red); margin-left: 0; padding-left: 24px; font-size: 21px; color: var(--ff-ink); }
.ff-prose img { max-width: 100%; height: auto; }
.ff-prose .wp-block-gallery { margin-top: 2em; margin-bottom: 2em; }
.ff-prose .wp-block-image, .ff-prose figure { margin-left: 0; margin-right: 0; }
.ff-prose figcaption { font-size: 14px; color: var(--ff-text); }
.ff-prose--elementor { max-width: none; }
.ff-blog--single .ff-blog-article:has(.ff-prose--elementor) { max-width: 1232px; }
.ff-blog-nav { border-top: 1px solid var(--ff-line); background: #fff; }
.ff-blog-nav__inner {
	max-width: 1232px;
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 24px 40px;
	align-items: end;
}
.ff-blog-nav__label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ff-red); margin-bottom: 6px; }
.ff-blog-nav__item a { font-family: var(--ff-head); font-weight: 700; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--ff-ink); text-decoration: none; }
.ff-blog-nav__item a:hover { color: var(--ff-red); }
.ff-blog-nav__alle { font-family: var(--ff-head); font-weight: 600; font-size: 17px; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; background: var(--ff-red); padding: 16px 26px; border-radius: 2px; text-decoration: none; white-space: nowrap; }
.ff-blog-nav__alle:hover { background: var(--e-global-color-ffredd, #A81B14); color: #fff; }
.ff-blog-liste { max-width: 1232px; margin: 0 auto; padding: 96px 24px 120px; }
.ff-blog-leer { font-size: 18px; }
.ff-blog-pagination { margin-top: 56px; }
.ff-blog-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ff-blog-pagination .page-numbers { font-family: var(--ff-head); font-weight: 600; font-size: 17px; padding: 10px 16px; border: 1px solid var(--ff-line); color: var(--ff-ink); text-decoration: none; background: #fff; }
.ff-blog-pagination .page-numbers.current, .ff-blog-pagination .page-numbers:hover { background: var(--ff-red); border-color: var(--ff-red); color: #fff; }
@media (max-width: 1024px) {
	.ff-blog-hero { padding: 120px 24px 72px; }
	.ff-blog-hero__titel { font-size: 60px; }
	.ff-blog-liste { padding: 72px 24px 88px; }
}
@media (max-width: 767px) {
	.ff-blog-hero { padding: 96px 16px 56px; }
	.ff-blog-hero__titel { font-size: 42px; }
	.ff-blog-hero__meta, .ff-blog-hero__lead { font-size: 17px; }
	.ff-blog-article { padding: 40px 16px 24px; }
	.ff-blog-article__bild { margin: -72px 0 32px; }
	.ff-prose { font-size: 17px; }
	.ff-prose h2 { font-size: 32px; }
	.ff-blog-nav__inner { grid-template-columns: 1fr; padding: 40px 16px; }
	.ff-blog-nav__alle { justify-self: start; }
	.ff-blog-liste { padding: 56px 16px 72px; }
}

/* ---------- Facebook-Seite ---------- */
.ff-fb {
	width: 350px;
	max-width: 100%;
	background: #fff;
	border-top: 4px solid var(--ff-red);
	border-left: 1px solid var(--ff-line);
	border-right: 1px solid var(--ff-line);
	border-bottom: 1px solid var(--ff-line);
	line-height: 0;
}
.ff-fb iframe { display: block; width: 100%; max-width: 100%; }
.ff-fb .cmplz-placeholder-element { min-height: 640px; }

@media (prefers-reduced-motion: reduce) {
	.ff-news__bild img, .ff-news__titel a { transition: none; }
}
