/* Funktionsseiten (Angebote & Verträge, Rechnungen, Fragebögen, E-Mail, Workflows, Kontakte-Sync, Dienstleister-Netzwerk) */

.fx {
	--fx-ground: #FBF8F3;
	--fx-ink: #14213D;
	--fx-text: #3B4660;
	--fx-muted: #55607A;
	--fx-line: #ECE5DA;
	--fx-line-strong: #E2D9CB;
	--fx-frame: #E6DED2;
	--fx-accent: #F0642A;
	--fx-accent-soft: #FFE9DC;
	--fx-tint: #FFF1E6;
	--fx-tint-line: #F6D5BF;
	--fx-sand: #F3EEE6;
	--fx-link: #1D5191;
	--fx-dark-line: #33415F;
	--fx-dark-text: #D3DAE6;
	--fx-dark-muted: #C3CBDA;
	--fx-dark-label: #AEB8CC;
	--fx-display: 'Nunito Sans', sans-serif;
	--fx-display-weight: 800;

	font-family: 'Nunito Sans', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--fx-ink);
	background: var(--fx-ground);
}

.fx *,
.fx *::before,
.fx *::after {
	box-sizing: border-box;
}

.fx img {
	display: block;
	max-width: 100%;
	height: auto;
}

.fx a {
	color: var(--fx-ink);
}

.fx a:hover {
	color: var(--fx-link);
	font-weight: inherit;
}

.fx p,
.fx ul,
.fx ol,
.fx figure,
.fx blockquote {
	margin: 0;
}

.fx ul,
.fx ol {
	padding: 0;
	list-style: none;
}

.fx-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Typografie */

/* .fx-Präfix, damit die Elementor-Kit-Regeln (.elementor-kit-4 h1–h3) nicht greifen */
.fx h1,
.fx h2,
.fx h3 {
	margin: 0;
	color: inherit;
	font-family: inherit;
	line-height: 1.3;
}

.fx .fx-h1 {
	font-family: var(--fx-display);
	font-weight: var(--fx-display-weight);
	font-size: clamp(40px, 5.2vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.fx .fx-h2 {
	font-family: var(--fx-display);
	font-weight: var(--fx-display-weight);
	font-size: clamp(32px, 3.6vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.fx .fx-h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.fx-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fx-muted);
}

.fx-lead {
	font-size: 19px;
	color: var(--fx-text);
	max-width: 540px;
}

.fx-body {
	color: var(--fx-text);
}

.fx-small {
	font-size: 15px;
	color: var(--fx-text);
}

.fx-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Buttons */

.fx-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border-radius: 999px;
	background: var(--fx-ink);
	color: #FFFFFF !important;
	font-weight: 700;
	text-decoration: none;
}

.fx-btn:hover {
	background: var(--fx-link);
}

.fx-btn svg,
.fx-more svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.fx-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-top: 6px;
}

.fx-note {
	font-size: 14px;
	color: var(--fx-muted);
}

.fx-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	font-weight: 700;
	color: var(--fx-link) !important;
}

/* Hero */

.fx-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 72px;
}

.fx-hero__text {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.fx-hero__media {
	flex: 1.25 1 520px;
	min-width: 0;
	position: relative;
	padding-bottom: 36px;
}

.fx-hero__media--narrow {
	flex: 1 1 360px;
	display: flex;
	justify-content: center;
	padding-bottom: 0;
}

.fx-crumbs {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	color: var(--fx-muted);
}

.fx-crumbs a {
	color: var(--fx-muted);
}

.fx-checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-weight: 600;
}

.fx-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fx-check {
	width: 28px;
	height: 28px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--fx-accent-soft);
	color: var(--fx-accent);
}

.fx-check svg {
	width: 16px;
	height: 16px;
}

.fx-window {
	overflow: hidden;
	background: #FFFFFF;
	border: 1px solid var(--fx-frame);
	border-radius: 16px;
	box-shadow: 0 30px 60px -30px rgba(20, 33, 61, 0.35);
}

.fx-window__bar {
	display: flex;
	gap: 6px;
	padding: 12px 14px;
	background: #F7F3EC;
	border-bottom: 1px solid #EFE9DF;
}

.fx-window__bar span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #E3DACC;
}

.fx-window img {
	width: 100%;
}

.fx-toast {
	position: absolute;
	left: -20px;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #FFFFFF;
	border: 1px solid var(--fx-frame);
	border-radius: 14px;
	box-shadow: 0 18px 40px -18px rgba(20, 33, 61, 0.4);
	line-height: 1.3;
}

.fx-toast__icon {
	width: 36px;
	height: 36px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #E3F5E5;
	color: #1F7A2A;
}

.fx-toast__icon svg {
	width: 18px;
	height: 18px;
}

.fx-toast__title {
	font-size: 15px;
	font-weight: 700;
}

.fx-toast__meta {
	font-size: 13px;
	color: var(--fx-muted);
}

.fx-figure {
	width: 100%;
	max-width: 440px;
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(20, 33, 61, 0.45);
}

.fx-figure--plain {
	max-width: 440px;
	border-radius: 0;
	box-shadow: none;
}

/* Prozess-Leiste */

.fx-strip {
	background: #FFFFFF;
	border-top: 1px solid var(--fx-line);
	border-bottom: 1px solid var(--fx-line);
}

.fx-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	padding-top: 28px;
	padding-bottom: 28px;
}

.fx-strip__title {
	flex: 0 0 auto;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 18px;
}

.fx-strip__list {
	flex: 1 1 560px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

.fx-strip__list li {
	flex: 1 1 140px;
}

.fx-strip__list li:nth-child(2) {
	flex-basis: 180px;
}

.fx-step {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--fx-line);
	border-radius: 12px;
	color: var(--fx-text) !important;
	text-decoration: none;
}

.fx-step:hover {
	border-color: var(--fx-ink);
}

.fx-step__num {
	font-size: 12px;
	color: var(--fx-muted);
}

.fx-step--current {
	background: var(--fx-ink);
	border-color: var(--fx-ink);
	color: #FFFFFF !important;
}

.fx-step--related {
	border: 2px solid var(--fx-ink);
	color: var(--fx-ink) !important;
}

.fx-step--current .fx-step__num,
.fx-step--related .fx-step__num {
	color: var(--fx-accent);
}

.fx-strip__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--fx-link) !important;
}

.fx-strip__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--fx-ink);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
}

.fx-strip__tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--fx-accent);
}

/* Abschnitte */

.fx-section {
	padding-top: 104px;
	padding-bottom: 96px;
}

.fx-section--tail {
	padding-bottom: 40px;
}

.fx-split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.fx-split--top {
	align-items: flex-start;
}

.fx-col {
	flex: 1 1 400px;
	min-width: 0;
}

.fx-col--wide {
	flex: 1.25 1 500px;
	min-width: 0;
}

.fx-col--media {
	flex: 0 1 420px;
	min-width: 0;
	margin: 0 auto;
}

.fx-col--phone {
	flex: 0 1 340px;
	min-width: 0;
	margin: 0 auto;
}

.fx-intro {
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 48px;
}

.fx-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 40px;
	margin-bottom: 40px;
}

.fx-head .fx-intro {
	margin-bottom: 0;
}

/* Nummerierte Karten */

.fx-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fx-card {
	display: flex;
	gap: 22px;
	padding: 26px 28px;
	background: #FFFFFF;
	border: 1px solid var(--fx-line);
	border-radius: 18px;
}

.fx-card > div {
	min-width: 0;
}

.fx .fx-card .fx-h3 {
	margin-bottom: 6px;
}

.fx-card p {
	font-size: 16px;
	color: var(--fx-text);
}

.fx-card__num {
	flex: none;
	width: 40px;
	font-family: var(--fx-display);
	font-weight: var(--fx-display-weight);
	font-size: 28px;
	line-height: 1;
	color: var(--fx-accent);
}

.fx-cards--compact {
	gap: 14px;
}

.fx-cards--compact .fx-card {
	gap: 16px;
	padding: 18px 20px;
	border-radius: 16px;
}

.fx-cards--compact .fx-card__num {
	width: 32px;
	font-size: 22px;
	line-height: 1.2;
}

.fx .fx-cards--compact .fx-h3 {
	font-size: 18px;
	margin-bottom: 4px;
}

.fx-cards--compact p {
	font-size: 15px;
}

.fx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
}

.fx-chip {
	padding: 4px 10px;
	background: var(--fx-sand);
	border: 1px dashed #D8CDBC;
	border-radius: 8px;
}

.fx-dark .fx-chip {
	background: #22304F;
	border-color: #4A5A7E;
}

/* Kachel-Raster */

.fx-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.fx-grid--wide {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.fx-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: #FFFFFF;
	border: 1px solid var(--fx-line);
	border-radius: 18px;
}

.fx-tile p {
	font-size: 15px;
	color: var(--fx-text);
}

.fx-tile--dark {
	background: var(--fx-ink);
	border-color: var(--fx-ink);
	color: #FFFFFF;
}

.fx-tile--span {
	grid-column: 1 / -1;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}

.fx-tile--dark p {
	color: var(--fx-dark-muted);
}

.fx-tile--dark a {
	color: #FFFFFF !important;
	font-weight: 700;
}

.fx-icon {
	width: 48px;
	height: 48px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--fx-tint);
	color: var(--fx-accent);
}

.fx-tile--dark .fx-icon {
	background: #22304F;
}

.fx-icon svg {
	width: 24px;
	height: 24px;
}

.fx-step-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--fx-muted);
}

.fx-tile--dark .fx-step-label {
	color: var(--fx-dark-label);
}

.fx-shotcard {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
	border-radius: 22px;
}

.fx-shotcard img {
	width: 100%;
}

.fx-shotcard__body {
	display: flex;
	gap: 14px;
	padding: 0 24px 24px;
}

.fx-shotcard__body .fx-card__num {
	width: auto;
	font-size: 22px;
	line-height: 1.2;
}

.fx-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	font-weight: 700;
}

.fx-actions li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #FFFFFF;
	border: 1px solid var(--fx-line);
	border-radius: 16px;
}

.fx-actions svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--fx-accent);
}

.fx-actions .fx-actions__more {
	background: var(--fx-sand);
	border-style: dashed;
	border-color: #D8CDBC;
	color: var(--fx-muted);
	font-weight: 600;
}

/* Bilder */

.fx-shot {
	padding: 20px;
	background: #FFFFFF;
	border: 1px solid var(--fx-frame);
	border-radius: 22px;
	box-shadow: 0 30px 60px -36px rgba(20, 33, 61, 0.35);
}

.fx-shot img {
	width: 100%;
	border-radius: 8px;
}

.fx-shot--tight {
	padding: 10px;
}

.fx-paper {
	overflow: hidden;
	background: #FFFFFF;
	border: 1px solid var(--fx-frame);
	border-radius: 6px;
	box-shadow: 0 40px 70px -35px rgba(20, 33, 61, 0.45);
	transform: rotate(-1.5deg);
}

.fx-paper img {
	width: 100%;
}

.fx-phone {
	padding: 12px;
	background: #0B1428;
	border: 1px solid #2A3756;
	border-radius: 44px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.fx-phone img {
	width: 100%;
	border-radius: 34px;
}

/* Dunkler Abschnitt */

.fx-dark {
	background: var(--fx-ink);
	color: #FFFFFF;
}

.fx-dark a {
	color: #FFFFFF;
}

.fx-dark .fx-section {
	padding-bottom: 104px;
}

.fx-dark .fx-eyebrow {
	color: var(--fx-dark-label);
}

.fx-dark .fx-body,
.fx-dark .fx-lead {
	color: var(--fx-dark-text);
}

.fx-dark .fx-shot {
	border: 0;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.fx-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 26px 32px;
	padding-top: 10px;
}

.fx-fact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--fx-dark-line);
}

.fx-fact h3 {
	font-size: 17px;
	font-weight: 700;
}

.fx-fact p {
	font-size: 15px;
	color: var(--fx-dark-muted);
}

.fx-facts--large .fx-fact {
	gap: 10px;
	padding-top: 20px;
}

.fx-facts--large .fx-fact h3 {
	font-family: var(--fx-display);
	font-size: 24px;
}

.fx-facts--large .fx-fact p {
	font-size: 16px;
}

.fx-tip {
	display: flex;
	gap: 14px;
	padding: 20px 22px;
	background: #1C2A48;
	border: 1px solid var(--fx-dark-line);
	border-radius: 16px;
	font-size: 15px;
	color: var(--fx-dark-text);
}

.fx-tip svg {
	width: 20px;
	height: 20px;
	flex: none;
	margin-top: 2px;
	color: var(--fx-accent);
}

.fx-tip strong {
	color: #FFFFFF;
}

.fx-steps-dark {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.fx-steps-dark li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border: 1px solid var(--fx-dark-line);
	border-radius: 18px;
}

.fx-steps-dark .fx-step-label {
	color: var(--fx-dark-label);
}

.fx-steps-dark strong {
	font-family: var(--fx-display);
	font-size: 21px;
	line-height: 1.2;
}

.fx-steps-dark p {
	font-size: 15px;
	color: var(--fx-dark-muted);
}

/* Beispiel: Fragebogen → Angebot */

.fx-example {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fx-example__card {
	padding: 22px 24px;
	background: #FFFFFF;
	border-radius: 18px;
	color: var(--fx-ink);
}

.fx-example__label {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--fx-muted);
}

.fx-example__answer {
	padding: 10px 14px;
	background: var(--fx-sand);
	border-radius: 10px;
}

.fx-example__arrow {
	display: flex;
	justify-content: center;
	color: var(--fx-accent);
}

.fx-example__arrow svg {
	width: 28px;
	height: 28px;
}

.fx-mark {
	padding: 1px 6px;
	background: var(--fx-tint);
	border-radius: 6px;
}

/* Automationen */

.fx-flow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.fx-flow li {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: #FFFFFF;
	border: 1px solid var(--fx-line);
	border-radius: 18px;
}

.fx-flow strong {
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.25;
}

.fx-flow p {
	font-size: 15px;
	color: var(--fx-text);
}

.fx-flow .fx-flow__action {
	background: var(--fx-tint);
	border-color: var(--fx-tint-line);
}

.fx-flow .fx-flow__action .fx-step-label {
	color: #9A3412;
}

/* Kundenstimme */

.fx-quote {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	padding-top: 56px;
	border-top: 1px solid var(--fx-line-strong);
}

.fx-quote img {
	width: 112px;
	height: 112px;
	flex: none;
	border-radius: 999px;
	object-fit: cover;
}

.fx-quote > div {
	flex: 1 1 480px;
	min-width: 0;
}

.fx-quote blockquote {
	margin-bottom: 14px;
	padding: 0;
	border: 0;
	font-family: var(--fx-display);
	font-weight: 600;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.35;
	letter-spacing: -0.01em;
	font-style: normal;
	color: var(--fx-ink);
}

.fx-quote figcaption {
	font-size: 15px;
	color: var(--fx-muted);
}

.fx-quote figcaption strong {
	color: var(--fx-ink);
}

.fx-quote-section {
	padding-top: 64px;
	padding-bottom: 104px;
}

/* Weitere Funktionen */

.fx-related {
	background: var(--fx-sand);
}

.fx-related .fx-wrap {
	padding-top: 88px;
	padding-bottom: 88px;
}

.fx-related h2 {
	margin-bottom: 32px;
	font-family: var(--fx-display);
	font-weight: var(--fx-display-weight);
	font-size: 32px;
	letter-spacing: -0.01em;
}

.fx-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
}

.fx-related__grid a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: #FFFFFF;
	border: 1px solid transparent;
	border-radius: 18px;
	color: var(--fx-ink) !important;
	text-decoration: none;
}

.fx-related__grid a:hover {
	border-color: var(--fx-ink);
}

.fx-related__grid strong {
	font-size: 18px;
}

.fx-related__grid span {
	font-size: 15px;
	color: var(--fx-muted);
}

/* Abschluss */

.fx-final {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding-top: 104px;
	padding-bottom: 104px;
	text-align: center;
}

.fx-final h2 {
	max-width: 860px;
	font-family: var(--fx-display);
	font-weight: var(--fx-display-weight);
	font-size: clamp(36px, 4.6vw, 60px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

@media (max-width: 767px) {
	.fx-hero {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.fx-section {
		padding-top: 72px;
		padding-bottom: 64px;
	}

	.fx-dark .fx-section {
		padding-bottom: 72px;
	}

	.fx-toast {
		left: 0;
	}

	.fx-card {
		padding: 20px;
		gap: 16px;
	}
}
