/*
Theme Name:   Fliesen Fischer (Kadence Child)
Description:  Child-Theme von byrd — Nachbau der Webflow-Seite (schräge Flächen, Logo-Kacheln, Einblend-Animationen). Parent: Kadence.
Author:       byrd GbR
Author URI:   https://byrd-software.de
Template:     kadence
Version:      0.1.0
Requires PHP: 8.1
Text Domain:  fischer-fliesenleger-theme
*/

/* DSGVO: Montserrat lokal statt Google Fonts (Webflow lud sie per webfont.js) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/montserrat-var.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/montserrat-var-italic.woff2") format("woff2"); }

/* ==========================================================================
   Tokens — Kadence-Palette (settings.json): 1 Blau · 2 Rot · 3/4 Anthrazit · 5 Text · 6 Grau
   7 Linie · 8 Hellgrau · 9 Weiß · 10 Grün · 14 Orange
   ========================================================================== */
:root {
	--ff-blau: var(--global-palette1, #3773bf);
	--ff-rot: var(--global-palette2, #c7322d);
	--ff-gruen: var(--global-palette10, #87c64a);
	--ff-orange: var(--global-palette14, #e78c38);
	--ff-dunkel: var(--global-palette3, #1a1b1f);
	--ff-grau: var(--global-palette6, #5f5f5f);
	--ff-hell: var(--global-palette8, #f4f4f4);
	--ff-container: 1200px;
	--ff-gutter: clamp(16px, 4vw, 40px);
	--ff-schraeg: -10deg;                              /* Grundwinkel aller schrägen Flächen */
	--ff-ease: cubic-bezier(0.25, 1, 0.5, 1);          /* Webflow „outQuart“ */
	--ff-header: 80px;
}
@media (max-width: 1024px) { :root { --ff-header: 72px; } }
@media (max-width: 767px)  { :root { --ff-header: 56px; } }

html { scroll-behavior: smooth; scroll-padding-top: var(--ff-header); }
body { overflow-x: clip; }

/* ==========================================================================
   Header — Logo bündig links (wie Webflow), Menüpunkte in den Logo-Farben
   ========================================================================== */
#masthead .site-main-header-wrap .site-container { padding-left: 0; }
#masthead .site-branding { padding: 0; }
#masthead .site-branding a.brand { gap: 0; }
#masthead .site-branding .site-title { margin-left: 0; text-shadow: 1px 1px 3px #000; }
#masthead .custom-logo { display: block; }
#masthead .site-branding .custom-logo-link + .site-title-wrap { padding-left: 0; }
.header-navigation .menu > li > a { position: relative; padding-left: 20px; padding-right: 20px; transition: background-color .25s, color .25s; }
.header-navigation .menu > li > a:hover { background-color: var(--ff-akzent, #8f8f8f); }
.header-navigation .menu > li:nth-child(4n+1) { --ff-akzent: var(--ff-blau); }
.header-navigation .menu > li:nth-child(4n+2) { --ff-akzent: var(--ff-rot); }
.header-navigation .menu > li:nth-child(4n+3) { --ff-akzent: var(--ff-gruen); }
.header-navigation .menu > li:nth-child(4n+4) { --ff-akzent: var(--ff-orange); }
.mobile-navigation ul li > a { font-size: 20px; }

/* ==========================================================================
   Grundbausteine: Sektion, Titel (Webflow .heading1), Unterzeile (.heading2)
   ========================================================================== */
.ff-section {
	max-width: calc(var(--ff-container) + 2 * var(--ff-gutter));
	margin: 0 auto;
	padding: 4em var(--ff-gutter) 2em;
}
.ff-section--text { max-width: calc(820px + 2 * var(--ff-gutter)); padding-bottom: 4em; }
.ff-section--text h1 { margin-bottom: .8em; }
.ff-section--text h3 { font-weight: 700; font-size: 20px; margin-top: 1.6em; }
.ff-titel { text-align: center; margin: 0 0 .3em; }
.ff-unterzeile {
	color: var(--ff-grau);
	text-align: center;
	font-size: 30px;
	line-height: 1.33;
	margin: 0 auto 1.2em;
	max-width: 1000px;
}
.ff-titel + .ff-unterzeile:last-of-type, .ff-unterzeile + .ff-unterzeile { margin-bottom: 60px; }
@media (max-width: 991px) { .ff-unterzeile { font-size: 23px; line-height: 1.2; } }
@media (max-width: 479px) { .ff-unterzeile { font-size: 17px; } }

/* ==========================================================================
   Einblenden (js/animation.js setzt .ist-sichtbar) — nur mit JS (.ff-js)
   ========================================================================== */
.ff-js .ff-einblenden { opacity: 0; transition: opacity 1s var(--ff-ease), transform 1s var(--ff-ease); transition-delay: var(--ff-delay, 0s); }
.ff-js .ff-einblenden.ist-sichtbar { opacity: 1; }
.ff-js .ff-einblenden--zoom { transform: scale(.75); }
.ff-js .ff-einblenden--zoom.ist-sichtbar { transform: none; }   /* nur Zoom setzt transform — andere Elemente behalten ihre Scherung */
.ff-team .ff-person:nth-child(3n+2), .ff-chefs .ff-chef:nth-child(2) { --ff-delay: .1s; }
.ff-team .ff-person:nth-child(3n+3) { --ff-delay: .2s; }

/* Bild-Blöcke in Layout-Flächen: Kadence-Abstand unter Figures aus */
.single-content :is(.ff-hero__bilder, .ff-leistung, .ff-teaser, .ff-seitenhero__panel) > figure { margin: 0; }

/* ==========================================================================
   Startseite: Hero — schräge 2×2-Bildfläche + Logo-Kacheln (Startanimation)
   Geometrie 1:1 aus Webflow: Fläche 120vw × 130vh, −10°, Logo 40vw × 40vh mittig.
   ========================================================================== */
.ff-hero { position: relative; height: 135vh; overflow: hidden; margin: 0; }
.ff-hero__bilder {
	position: absolute; top: -10vw; left: -10vw; width: 120vw; height: 130vh;
	display: grid; grid-template: 1fr 1fr / 1fr 1fr;
	transform: rotate(var(--ff-schraeg));
	box-shadow: 0 0 50px -1px #000;
	background: #fff;
}
.ff-hero__bilder > .wp-block-image { position: relative; margin: 0; overflow: hidden; }
.ff-hero__bilder > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ff-hero__bilder > .wp-block-image::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .25); pointer-events: none; }

/* Logo-Rahmen: gleiche Box wie die Bildfläche, Logo mittig darin */
.ff-hero__logo {
	position: absolute; z-index: 2;
	width: 40vw; height: 40vh;
	left: 30vw; top: calc(45vh - 10vw);   /* Mitte der Bildfläche: (−10vw + 60vw | −10vw + 65vh) */
	overflow: hidden;
}
.ff-hero__kacheln {
	position: relative; top: -25%; left: -25%; width: 150%; height: 150%;
	display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 5px;
	transform: rotate(var(--ff-schraeg));
}
/* weiße Fugen (statisch, die Kacheln fliegen darüber ein) */
.ff-hero__kacheln::before, .ff-hero__kacheln::after { content: ""; position: absolute; background: #fff; z-index: 1; }
.ff-hero__kacheln::before { left: calc(50% - 2.5px); top: 0; bottom: 0; width: 5px; }
.ff-hero__kacheln::after { top: calc(50% - 2.5px); left: 0; right: 0; height: 5px; }

.single-content .ff-kachel { margin: 0; }   /* Kadence-Absatzabstand würde Lücken zwischen den Kacheln reißen */
.ff-kachel { display: flex; padding: 10px; }
.ff-kachel a {
	color: #fff; text-decoration: none; text-shadow: 1px 1px 3px #000;
	font-size: 25px; font-weight: 500; line-height: 1.4;
}
.ff-kachel a::after { content: ""; position: absolute; inset: 0; }   /* ganze Kachel klickbar */
.ff-kachel { position: relative; }
.ff-kachel--blau   { background: rgb(55 115 191 / var(--ff-alpha));  justify-content: flex-end;   align-items: flex-end; }
.ff-kachel--rot    { background: rgb(199 50 45 / var(--ff-alpha));   justify-content: flex-start; align-items: flex-end; }
.ff-kachel--gruen  { background: rgb(135 198 74 / var(--ff-alpha));  justify-content: flex-end;   align-items: flex-start; }
.ff-kachel--orange { background: rgb(231 140 56 / var(--ff-alpha));  justify-content: flex-start; align-items: flex-start; }
.ff-kachel { --ff-alpha: .7; transition: transform .1s, background-color .5s; }
/* Hover wie Webflow: Kachel weicht zurück (90 %) und wird deckend */
.ff-kachel:hover { --ff-alpha: 1; transform: scale(.9); transition-duration: .1s; }

/* Startanimation: Kacheln fliegen aus den Ecken ein (1 s outQuart, 100 ms versetzt) */
@keyframes ff-kachel-ein { from { opacity: 0; transform: translate(var(--ff-von-x), var(--ff-von-y)); } }
.ff-kachel { animation: ff-kachel-ein 1s var(--ff-ease) backwards; }   /* backwards: transform bleibt frei für Hover */
.ff-kachel--blau   { --ff-von-x: -100px; --ff-von-y: -100px; animation-delay: .1s; }
.ff-kachel--rot    { --ff-von-x: 100px;  --ff-von-y: -100px; animation-delay: .2s; }
.ff-kachel--gruen  { --ff-von-x: -100px; --ff-von-y: 100px;  animation-delay: .3s; }
.ff-kachel--orange { --ff-von-x: 100px;  --ff-von-y: 100px;  animation-delay: .4s; }

/* Stempel „Wir haben offene Stellen“ */
.ff-stempel {
	position: absolute; z-index: 3; right: 14vw; bottom: 14vh;
	display: flex; align-items: center; justify-content: center;
	width: 20em; height: 10em;
	background: url("assets/stempel-jobs.png") center / contain no-repeat;
	transform: rotate(10deg);
	color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; text-align: center;
	transition: transform .3s var(--ff-ease);
	animation: ff-stempel 2.4s .9s var(--ff-ease) both;
}
.ff-stempel:hover { transform: rotate(10deg) scale(1.06); color: #fff; }
.ff-stempel span { max-width: 13em; }
@keyframes ff-stempel { 0% { opacity: 0; transform: rotate(10deg) scale(1.6); } 30% { opacity: 1; transform: rotate(10deg) scale(.92); } 45%, 100% { transform: rotate(10deg) scale(1); } }

@media (max-width: 991px) {
	.ff-hero { height: 75vh; }
	.ff-hero__bilder { height: 70vh; }
	.ff-hero__logo { width: 40vw; height: 20vh; top: calc(25vh - 10vw); }
	.ff-hero__kacheln { top: -50%; left: -50%; width: 200%; height: 200%; }
	.ff-kachel a { font-size: 17px; }
	.ff-stempel { bottom: 4vh; right: 8vw; font-size: 15px; width: 14em; height: 7em; }
}
@media (max-width: 767px) {
	.ff-hero { height: 95vh; }
	.ff-hero__bilder { height: 90vh; }
	.ff-hero__logo { width: 64vw; height: 40vh; left: 18vw; top: calc(35vh - 10vw); }
	.ff-hero__kacheln { top: -25%; left: -25%; width: 150%; height: 150%; }
	.ff-kachel a { font-size: 15px; }
}
@media (max-width: 479px) {
	.ff-hero { height: 60vh; }
	.ff-hero__bilder { width: 130vw; height: 55vh; left: -15vw; }
	.ff-hero__logo { width: 84vw; height: 27vh; left: 8vw; top: calc(17.5vh - 10vw); }
	.ff-stempel { width: 11em; height: 5.5em; font-size: 11px; right: 6vw; bottom: 2vh; }
}

/* ==========================================================================
   Team-Teaser (Startseite): Bild mit Verlauf, Label „Zum Team“, Text fährt ein
   ========================================================================== */
.ff-teaser { position: relative; overflow: hidden; margin-top: 1em; }
.ff-teaser__bild { margin: 0; }
.ff-teaser__bild img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ff-ease); }
.ff-teaser:hover .ff-teaser__bild img { transform: scale(1.04); }
.ff-teaser__inhalt {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 30px 30px 20px;
	background: linear-gradient(to bottom, rgb(0 0 0 / .3) 50%, #000);
}
.ff-teaser__label { margin: 0; align-self: flex-start; background: var(--ff-blau); padding: 2px 14px; }
.ff-teaser__label a { color: #fff; font-size: 20px; line-height: 1.3; }
.ff-teaser__label a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* ganzes Bild klickbar */
.ff-teaser__text { margin: 0; border: 2px solid var(--ff-blau); padding: 4px 8px; color: #fff; font-size: 25px; font-weight: 500; line-height: 1.4; text-shadow: 1px 1px 3px #000; transform-origin: left bottom; }
@media (max-width: 991px) { .ff-teaser__text { font-size: 17px; } }
@media (max-width: 479px) {
	.ff-teaser__bild img { height: 30vh; object-fit: cover; }
	.ff-teaser__inhalt { padding: 12px; }
	.ff-teaser__text { font-size: 13px; line-height: 1.35; }
	.ff-teaser__label a { font-size: 14px; }
}

/* ==========================================================================
   Leistungen — zwei schräge Bänder (Text | Bild), Bild wandert beim Scrollen
   Geometrie aus Webflow: Band 110vw × 50vh, −10° gedreht, Hälften −10° geschert.
   ========================================================================== */
.ff-section--leistungen { max-width: none; padding-left: 0; padding-right: 0; }
.ff-section--leistungen > .ff-titel, .ff-section--leistungen > .ff-unterzeile { padding-left: var(--ff-gutter); padding-right: var(--ff-gutter); }
.ff-leistungen { overflow: hidden; padding: 0; }   /* wie Webflow: Container schneidet das erste Band oben gerade ab */
.single-content :is(.ff-leistung, .ff-leistung__text) { margin-bottom: 0; }   /* Kadence-Blockabstand würde Fugen zwischen die Bänder reißen */
.ff-leistung {
	display: flex; width: 110vw; height: 50vh; min-height: 320px; margin-left: -5vw;
	transform: rotate(var(--ff-schraeg));
}
.ff-leistung > * { width: 50%; height: 100%; margin: 0; overflow: hidden; transform: skew(var(--ff-schraeg)); }
.ff-leistung--dunkel > * { background: #000; }
.ff-leistung--hell > * { background: var(--ff-hell); }
.ff-leistung__text { padding-left: 5vw; }
.ff-leistung__inhalt {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	height: 100%; transform: skew(0deg, 10deg);
	max-width: 600px; margin-left: auto; padding: 0 2em;
}
.ff-leistung__inhalt h3 { font-size: 36px; line-height: 1.4; margin: 0 0 .3em; text-align: center; }
.ff-leistung__inhalt p { max-width: 600px; margin: 0; }
.ff-leistung--dunkel h3 { color: #f4f4f4; }
.ff-leistung--dunkel p { color: darkgrey; }
.ff-leistung--hell h3 { color: #000; }
.ff-leistung--hell p { color: #a3a3a3; }
.ff-leistung__bild img {
	display: block; width: 150%; max-width: none; height: 100%; margin-left: -30%; object-fit: cover;
	transform: skew(0deg, 10deg) translateX(var(--ff-px, 0px)) rotate(var(--ff-schraeg));   /* wie Webflow: Entscherung + −10° → Bild füllt die schräge Hälfte */
	filter: brightness(.75);
}
/* Mobil: Bänder gerade stapeln (Scherung würde Text anschneiden), Schräge nur als Kante */
@media (max-width: 767px) {
	.ff-leistungen { padding: 0; }
	.ff-leistung { flex-direction: column; width: 100%; height: auto; min-height: 0; margin: 0; transform: none; }
	.ff-leistung > * { width: 100%; height: auto; transform: none; }
	.ff-leistung__text { padding: 3em 0 2em; }
	.ff-leistung__inhalt { transform: none; margin: 0 auto; padding: 0 var(--ff-gutter); }
	.ff-leistung__inhalt h3 { font-size: 25px; }
	.ff-leistung__inhalt p { font-size: 14px; line-height: 1.6; text-align: center; }
	.ff-leistung__bild { height: 45vh; clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
	.ff-leistung__bild img { width: 100%; margin: 0; transform: scale(1.15) translateX(calc(var(--ff-px, 0px) / 4)); }
}

/* ==========================================================================
   Showroom-Karten (Startseite) — Raster folgt der Maus (js/animation.js)
   ========================================================================== */
.ff-raeume {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 3em;
	padding: 5vh 0; transition: transform .6s var(--ff-ease);
}
.ff-raum { position: relative; display: block; height: 15em; overflow: hidden; box-shadow: 0 0 50px -10px #000; text-decoration: none; }
.ff-raum__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ff-ease); }
.ff-raum::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .25); transition: background .4s; }
.ff-raum:hover .ff-raum__bild { transform: scale(1.08); }
.ff-raum:hover::after { background: rgb(0 0 0 / .4); }
.ff-raum__titel {
	position: absolute; inset: 0; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 25px; font-weight: 500; text-shadow: 1px 1px 3px #000;
}
@media (max-width: 991px) { .ff-raeume { grid-template-columns: 1fr 1fr; padding: 0 3em; } }
@media (max-width: 767px) { .ff-raeume { grid-template-columns: 1fr; padding: 0; gap: 1.5em; } .ff-raum { height: 12em; } }

/* ==========================================================================
   Partner-Logos
   ========================================================================== */
.ff-section--partner { padding-bottom: 5em; }
.ff-partner-liste { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 2em; }
.ff-partner { display: flex; align-items: center; justify-content: center; height: 7em; padding: 10px; background: #fff; box-shadow: 0 0 15px rgb(0 0 0 / .2); transition: transform .3s var(--ff-ease), box-shadow .3s; }
a.ff-partner:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.ff-partner__logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 991px) { .ff-partner-liste { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .ff-partner-liste { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Unterseiten-Hero (Team, Jobs): schräges Bild mit großem Titel
   ========================================================================== */
.ff-seitenhero { position: relative; height: 100vh; overflow: hidden; margin: 0; }
.ff-seitenhero--flach { height: 80vh; }
.ff-seitenhero__panel {
	position: absolute; top: -5vw; left: -10vw; width: 120vw; height: 90vh;
	transform: rotate(var(--ff-schraeg)); box-shadow: 0 0 50px -1px #000; overflow: hidden;
	display: flex; align-items: flex-end; justify-content: center;
}
.ff-seitenhero--flach .ff-seitenhero__panel { height: 70vh; }
.ff-seitenhero__bild { position: absolute; inset: 0; margin: 0; }
.ff-seitenhero__bild img { width: 100%; height: 100%; object-fit: cover; }
.ff-seitenhero__titel {
	position: relative; z-index: 1; margin: 0 0 1.2em;
	color: #fff; text-transform: uppercase; font-size: 58px; line-height: 1.35; font-weight: 700;
	text-shadow: 1px 1px 3px #000;
	animation: ff-titel-ein 1.2s .2s var(--ff-ease) both;
}
@keyframes ff-titel-ein { from { opacity: 0; transform: translateY(40px) scale(.9); } }
@media (max-width: 991px) {
	.ff-seitenhero { height: 70vh; } .ff-seitenhero--flach { height: 60vh; }
	.ff-seitenhero__panel { height: 62vh; } .ff-seitenhero--flach .ff-seitenhero__panel { height: 52vh; }
	.ff-seitenhero__titel { font-size: 40px; }
}
@media (max-width: 479px) {
	.ff-seitenhero, .ff-seitenhero--flach { height: 45vh; }
	.ff-seitenhero__panel, .ff-seitenhero--flach .ff-seitenhero__panel { height: 40vh; }
	.ff-seitenhero__titel { font-size: 28px; margin-bottom: .8em; }
}

/* Funktion (klein, Versalien) — Team + Führung */
.ff-funktion { color: #fff; letter-spacing: .1rem; text-transform: uppercase; font-size: 15px; line-height: 1.2; margin: 0 0 .6em; }

/* ==========================================================================
   Team: Führung (große Karten) + Raster
   ========================================================================== */
.ff-farbe--gruen { --ff-farbe: var(--ff-gruen); }
.ff-farbe--orange { --ff-farbe: var(--ff-orange); }
.ff-farbe--blau { --ff-farbe: var(--ff-blau); }
.ff-farbe--rot { --ff-farbe: var(--ff-rot); }

.ff-chefs { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2em; padding-bottom: 6vh; }
.ff-chef { display: flex; flex-direction: column; width: 30em; max-width: 100%; }
.ff-chef__info { display: flex; height: 20em; }
.ff-chef__foto { width: 50%; background: var(--ff-farbe); }
.ff-chef__bild { width: 100%; height: 100%; object-fit: cover; box-shadow: 1px 1px 10px #000; transform: translate(-8px, -8px); transition: transform .5s var(--ff-ease); }
.ff-chef:hover .ff-chef__bild { transform: translate(-14px, -14px); }
.ff-chef__text { width: 50%; background: var(--ff-dunkel); padding: 1em; color: #adadad; font-size: 14px; line-height: 1.6; overflow: auto; }
.ff-chef__text p { margin: 0 0 .6em; }
.ff-chef__text .ff-funktion { font-size: 13px; }
.ff-chef__name { margin: 0; background: var(--ff-dunkel); color: #fff; text-align: center; font-size: 36px; line-height: 1.4; padding: .1em .5em .2em; }

.ff-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2em; padding: 0 2.5em 2em; }
.ff-person { display: flex; flex-direction: column; }
.ff-person__foto { position: relative; height: 20em; }
.ff-person__foto::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--ff-farbe); }   /* farbiger Versatz */
.ff-person__bild { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ff-ease); }
.ff-person:hover .ff-person__bild { transform: translate(-4px, -4px); }
.ff-person__text { position: relative; background: var(--ff-dunkel); padding: 1em 1em .6em; margin-top: 10px; }
.ff-person__name { color: #fff; font-size: 20px; margin: 0; }
@media (max-width: 991px) {
	.ff-chef { width: 25em; } .ff-chef__info { height: 18em; } .ff-chef__text { font-size: 12px; }
	.ff-chef__name { font-size: 26px; }
	.ff-team { grid-template-columns: 1fr 1fr; padding: 0; } .ff-person__foto { height: 15em; }
	.ff-funktion { font-size: 13px; }
}
@media (max-width: 479px) {
	.ff-chef__info { height: auto; flex-direction: column; } .ff-chef__foto, .ff-chef__text { width: 100%; } .ff-chef__foto { height: 18em; }
	.ff-team { gap: 1.2em; } .ff-person__foto { height: 12em; } .ff-person__name { font-size: 16px; }
}

/* ==========================================================================
   Jobs
   ========================================================================== */
.ff-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.ff-job__info { display: flex; height: 20em; }
.ff-job__foto { width: 35%; }
.ff-job__bild { width: 100%; height: 100%; object-fit: cover; }
.ff-job__text { width: 65%; background: var(--ff-dunkel); color: #fff; padding: 1em; font-size: 14px; line-height: 1.6; overflow: auto; }
.ff-job__text p { margin: 0; }
.ff-job__titel { margin: 0; background: var(--ff-dunkel); color: #fff; text-align: center; font-size: 36px; line-height: 1.4; font-weight: 400; padding: .1em .5em .2em; }
.ff-leer, .ff-hinweis-bewerbung { text-align: center; color: var(--ff-grau); }
.ff-hinweis-bewerbung { margin-top: 2.5em; }
@media (max-width: 991px) { .ff-jobs { grid-template-columns: 1fr; } .ff-job__info { height: 16em; } .ff-job__titel { font-size: 28px; } }
@media (max-width: 479px) { .ff-job__info { height: auto; } .ff-job__foto { display: none; } .ff-job__text { width: 100%; } }

/* ==========================================================================
   Showroom-Seiten (CPT ff_showroom): Titel (Kadence) + Unterzeile + Galerie
   ========================================================================== */
.single-ff_showroom .entry-hero, .single-ff_showroom .entry-header { text-align: center; }
.single-ff_showroom .entry-header { max-width: var(--ff-container); margin: 0 auto; padding: 3em var(--ff-gutter) 0; }
.single-ff_showroom .entry-title { font-size: 44px; margin: 0 0 .3em; }
.single-ff_showroom .entry-content > .ff-unterzeile { padding: 0 var(--ff-gutter); margin-bottom: 1.4em; }
.single-ff_showroom .entry-meta, .single-ff_showroom .post-navigation, .single-ff_showroom .entry-related { display: none; }
.ff-galerie { margin-bottom: 4em; }
.ff-galerie .wp-block-image img { aspect-ratio: 1; transition: transform .6s var(--ff-ease), filter .3s; }
.ff-galerie .wp-block-image { overflow: hidden; }
.ff-galerie .wp-block-image:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* ==========================================================================
   Footer = Kontaktbereich (Widgets 1–3) + Leiste
   ========================================================================== */
.site-top-footer-wrap .site-footer-row-container-inner { padding-top: 3em; padding-bottom: 1em; }
.ff-kontakt-kopf { text-align: center; }
.ff-kontakt-kopf .ff-unterzeile { margin-bottom: .5em; }
.site-middle-footer-wrap { color: #f1f1f1; }
.site-middle-footer-wrap .site-footer-row-container-inner { padding-top: 3em; padding-bottom: 1em; }
.site-middle-footer-wrap a { color: #f1f1f1; }
.site-middle-footer-wrap a:hover { color: var(--ff-orange); }
.site-middle-footer-wrap .widget { font-size: 14px; line-height: 1.8; }
.ff-footer-titel { color: #fff; font-size: 16px; font-weight: 700; margin: 1.4em 0 .4em; }
.site-middle-footer-wrap .byrd-karte { min-height: 300px; border: 1px solid rgb(255 255 255 / .15); }
.site-middle-footer-wrap .byrd-karte iframe { width: 100%; min-height: 300px; border: 0; }
.site-middle-footer-wrap .byrd-karte small { color: #adadad; }
/* Formular im Webflow-Stil: nur Unterstrich, dunkler Grund */
.site-middle-footer-wrap .fluentform .ff-el-input--label label { color: #adadad; font-weight: 400; font-size: 13px; }
.site-middle-footer-wrap .fluentform .ff-el-form-control {
	background: transparent; color: #fff; border: 0; border-bottom: 1px solid #fff; border-radius: 0; padding: 8px 4px;
}
.site-middle-footer-wrap .fluentform .ff-el-form-control:focus { border-bottom-width: 2px; border-bottom-color: var(--ff-orange); box-shadow: none; }
.site-middle-footer-wrap .fluentform textarea.ff-el-form-control { min-height: 8rem; }
.site-middle-footer-wrap .fluentform .ff-el-tc label, .site-middle-footer-wrap .fluentform .ff_t_c { color: #adadad; font-size: 13px; }
.site-middle-footer-wrap .fluentform .ff-btn-submit { background: var(--ff-orange) !important; border-radius: 0; padding: 10px 40px; font-size: 18px; float: right; }
.site-middle-footer-wrap .fluentform .ff-message-success { background: transparent; color: #fff; border: 1px solid var(--ff-gruen); }
.site-middle-footer-wrap .byrd-zeiten { margin-top: 2em; clear: both; }
.site-middle-footer-wrap .byrd-zeiten__titel strong { color: #fff; font-size: 16px; }
.site-middle-footer-wrap .byrd-zeiten__zeile { display: grid; grid-template-columns: 7em 1fr; border-bottom-color: rgb(255 255 255 / .1); }
.site-middle-footer-wrap .byrd-zeiten dd { margin: 0; text-align: left; justify-self: start; }
.site-middle-footer-inner-wrap .widget:last-child { margin-bottom: 0; }
.site-bottom-footer-wrap { font-size: 13px; }
.site-bottom-footer-inner-wrap { padding-top: 10px; padding-bottom: 10px; }
.site-bottom-footer-wrap .footer-html { margin: 0; }
.site-bottom-footer-wrap a { color: #fff; text-decoration: none; }
.site-bottom-footer-wrap a:hover { color: var(--ff-orange); }

/* Ruhige Bewegung: Startanimation + Effekte aus */
@media (prefers-reduced-motion: reduce) {
	.ff-kachel, .ff-stempel, .ff-seitenhero__titel { animation: none; }
	.ff-raeume { transition: none; }
}
