/* fm-server.net — schubec CI 2026 */

:root {
	--ci-navy: #19233A;
	--ci-parchment: #F9F5F2;
	--ci-alabaster: #E8E4E0;
	--ci-lavender: #8A8898;
	--ci-mint: #14B8A6;
	--ci-teal: #0D9488;
	--ci-teal-dark: #0F766E;
	--fms-header-height: 5.5rem;
	--fms-container: min(1200px, 100% - 2.5rem);
	--fms-radius: 10px;
	--fms-shadow: 0 4px 20px rgba(25, 35, 58, 0.06);
	--fms-shadow-hover: 0 8px 28px rgba(13, 148, 136, 0.12);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--fms-header-height);
}

body {
	margin: 0;
	font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
	color: var(--ci-navy);
	line-height: 1.6;
	background: #fff;
}

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

a {
	color: var(--ci-teal);
}

h1,
h2,
h3,
h4 {
	font-family: "Nunito", Tahoma, system-ui, sans-serif;
	color: var(--ci-navy);
	line-height: 1.25;
}

p {
	hyphens: manual;
	margin: 0 0 1rem;
}

ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

#start,
#preise,
#infos,
#vorteile,
#faqs,
#kontakt,
#anfrage,
#pakete {
	scroll-margin-top: var(--fms-header-height);
}

.fms-container {
	width: var(--fms-container);
	margin-inline: auto;
}

/* ── Header ── */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 0 var(--ci-alabaster);
	transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(25, 35, 58, 0.08);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--fms-header-height);
	padding-block: 0.5rem;
}

.site-header__logo img {
	max-width: 180px;
	width: 100%;
}

.site-nav__toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ci-alabaster);
	border-radius: 6px;
	background: #fff;
	color: var(--ci-navy);
	font: inherit;
	cursor: pointer;
}

.site-nav__toggle-icon {
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__link {
	display: block;
	padding: 0.65rem 1rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ci-navy);
}

.site-nav__link:hover {
	color: var(--ci-teal);
}

.site-nav__link--cta {
	margin-left: 0.5rem;
	padding: 0.5rem 1.25rem;
	border-radius: 5px;
	background: var(--ci-navy);
	color: #fff !important;
	border: 1px solid var(--ci-navy);
}

.site-nav__link--cta:hover {
	background: #fff;
	color: var(--ci-teal) !important;
	border-color: var(--ci-teal);
}

@media (max-width: 991.98px) {
	.site-header__logo img {
		max-width: 100px;
	}

	.site-nav__toggle {
		display: inline-flex;
	}

	.site-nav__panel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid var(--ci-alabaster);
		box-shadow: 0 8px 24px rgba(25, 35, 58, 0.08);
		padding: 1rem;
	}

	.site-nav__panel.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
	}

	.site-nav__link--cta {
		margin-left: 0;
		text-align: center;
	}
}

@media (min-width: 992px) {
	.site-header {
		position: absolute;
		width: 100%;
		background: rgba(255, 255, 255, 0.98);
	}

	.site-header.is-scrolled {
		position: fixed;
	}
}

/* ── Hero ── */

.fms-hero {
	background: linear-gradient(135deg, var(--ci-parchment) 0%, #fff 55%, #E6FFFA 100%);
	padding-top: var(--fms-header-height);
}

.fms-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	padding: 2rem 1.25rem 3rem;
	min-height: min(85vh, 750px);
}

.fms-hero__eyebrow {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--ci-teal);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.fms-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.fms-hero__visual {
	display: none;
}

@media (min-width: 992px) {
	.fms-hero__inner {
		flex-direction: row;
		justify-content: space-between;
		padding: calc(20px + var(--fms-header-height)) 3rem 2rem;
	}

	.fms-hero__content {
		flex: 1 1 38%;
		max-width: 44%;
	}

	.fms-hero__visual {
		display: block;
		flex: 0 1 auto;
	}

	.fms-hero__visual img {
		width: min(50vw, 680px);
		max-height: 72vh;
		object-fit: contain;
	}
}

@media (min-width: 992px) and (max-width: 1205px) {
	.fms-hero__visual img {
		width: min(45vw, 500px);
	}
}

/* ── Sections ── */

.fms-section {
	padding: 3.5rem 0;
}

.fms-section--muted {
	background: var(--ci-parchment);
}

.fms-section--compact {
	padding: 2rem 0;
}

.fms-section__head {
	max-width: 42rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.fms-section__grid+.fms-section__head {
	margin-top: 3.5rem;
}

.fms-section__head h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.fms-section__eyebrow {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--ci-teal);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.fms-section__grid {
	display: grid;
	gap: 1.5rem;
}

.fms-section__grid--3 {
	grid-template-columns: 1fr;
}

.fms-section__grid--4 {
	grid-template-columns: 1fr;
}

.fms-section__grid--2 {
	grid-template-columns: 1fr;
}

.fms-section__split {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.fms-section__split-media {
	display: flex;
	justify-content: center;
}

.fms-section__split-media img {
	width: 100%;
	max-width: 180px;
}

@media (min-width: 768px) {
	.fms-section__grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.fms-section__grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.fms-section__grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.fms-section__split {
		grid-template-columns: minmax(0, 200px) 1fr;
	}

	.fms-section__split--reverse {
		grid-template-columns: 1fr minmax(0, 200px);
	}

	.fms-section__split--reverse .fms-section__split-media {
		order: 2;
	}
}

@media (min-width: 992px) {
	.fms-section__grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ── Buttons ── */

.fms-btn {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	border: none;
	border-radius: 6px;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fms-btn--primary {
	background: var(--ci-teal);
	color: #fff;
}

.fms-btn--primary:hover {
	background: var(--ci-teal-dark);
	color: #fff;
}

.fms-btn--block {
	display: block;
	width: 100%;
}

/* ── Highlights (pricing intro) ── */

.fms-highlight {
	text-align: center;
}

.fms-highlight__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--ci-teal);
}

.fms-highlight__icon img {
	width: 48px;
	height: 48px;
}

.fms-highlight h3 {
	font-size: 1.2rem;
	font-weight: 500;
}

/* ── Add-on cards ── */

.fms-addon-card {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ci-alabaster);
	border-radius: var(--fms-radius);
	box-shadow: var(--fms-shadow);
	text-align: center;
}

.fms-addon-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--ci-teal);
}

.fms-addon-card__icon img {
	width: 48px;
	height: 48px;
}

.fms-addon-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 600;
}

.fms-addon-card p {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	text-align: left;
}

.fms-addon-card p:last-child {
	margin-bottom: 0;
}

.fms-addon-card__note {
	color: #0F766E;
	font-weight: 600;
	font-size: 0.9rem;
}

.fms-addon-card__list {
	margin: 0 0 0.75rem;
	padding-left: 1.25rem;
	text-align: left;
	font-size: 0.95rem;
}

.fms-addon-card__list li {
	margin-bottom: 0.35rem;
}

.fms-section__cta {
	margin: 2rem 0 0;
	text-align: center;
}

/* ── Plan cards ── */

.fms-plan-card {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ci-alabaster);
	border-radius: var(--fms-radius);
	box-shadow: var(--fms-shadow);
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fms-plan-card:hover {
	box-shadow: var(--fms-shadow-hover);
	transform: translateY(-2px);
}

.fms-plan-card__name {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.35);
}

.fms-plan-card__price {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
}

.fms-plan-card__price sup {
	font-size: 1.25rem;
	top: -0.5em;
	position: relative;
}

.fms-plan-card__price small {
	font-size: 0.75rem;
	font-weight: 400;
}

.fms-plan-card__hint {
	display: block;
	margin-bottom: 1.25rem;
	color: #aaa;
	font-size: 0.9rem;
}

.fms-plan-card__features {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	color: #aaa;
}

.fms-plan-card__features li {
	margin-bottom: 0.5rem;
}

.fms-plan-card__features strong {
	color: var(--ci-navy);
}

/* ── Table ── */

.fms-table-wrap {
	overflow-x: auto;
	margin-top: 1.5rem;
	-webkit-overflow-scrolling: touch;
}

.fms-table {
	width: 100%;
	border-collapse: collapse;
	border: none;
	font-size: 0.95rem;
}

.fms-table caption {
	caption-side: top;
	padding-bottom: 1rem;
	font-family: "Nunito", Tahoma, system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ci-navy);
}

.fms-table thead th {
	padding: 1rem 0.75rem;
	background: var(--ci-alabaster);
	color: var(--ci-navy);
	font-weight: 700;
	border: none;
}

.fms-table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--ci-alabaster);
}

.fms-table td.fms-table__label {
	color: #fff;
	background: var(--ci-teal);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fms-table td.fms-table__cell--center {
	text-align: center;
}

.fms-table tbody tr:nth-child(even) td:not(.fms-table__label) {
	background: var(--ci-parchment);
}

.fms-table tbody tr:nth-child(odd) td:not(.fms-table__label) {
	background: #fff;
}

@media (min-width: 768px) {
	.fms-table tbody tr td:nth-child(odd):not(.fms-table__label) {
		background: var(--ci-parchment);
	}

	.fms-table tbody tr td:nth-child(even):not(.fms-table__label) {
		background: #fff;
	}
}

@media (max-width: 991.98px) {

	.fms-table td,
	.fms-table thead th {
		padding: 0.5rem 0.35rem;
		font-size: 0.85rem;
	}
}

/* ── Tabs ── */

.fms-tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.fms-tabs__tab {
	padding: 0.65rem 1.25rem;
	border: 1px solid #4befdf;
	border-radius: 5px;
	background: transparent;
	color: var(--ci-teal);
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fms-tabs__tab:hover,
.fms-tabs__tab[aria-selected="true"] {
	background: var(--ci-mint);
	border-color: transparent;
	color: #fff;
}

.fms-tabs__panel {
	display: none;
}

.fms-tabs__panel.is-active {
	display: block;
}

.fms-tabs__layout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
}

.fms-tabs__media {
	flex: 0 0 auto;
	width: 100%;
	max-width: 280px;
}

.fms-tabs__body h2 {
	font-size: 1.5rem;
	margin-top: 0;
}

.fms-tabs__layout--reverse {
	flex-direction: column-reverse;
}

@media (min-width: 768px) {
	.fms-tabs__layout {
		flex-direction: row;
		align-items: center;
		gap: 2.5rem;
	}

	.fms-tabs__media {
		width: 25%;
		max-width: none;
	}

	.fms-tabs__body {
		flex: 1;
	}

	.fms-tabs__layout--reverse {
		flex-direction: row-reverse;
	}
}

/* ── Features ── */

.fms-feature {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background: #fff;
	border-radius: 4px;
	transition: background 0.3s ease, color 0.3s ease;
}

.fms-feature:hover {
	background: var(--ci-teal);
	color: #fff;
}

.fms-feature:hover h3,
.fms-feature:hover p {
	color: inherit;
}

.fms-feature--reverse {
	flex-direction: row-reverse;
}

.fms-feature--reverse .fms-feature__body {
	text-align: right;
}

.fms-feature__icon {
	flex: 0 0 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--ci-teal);
	transition: background 0.3s ease;
}

.fms-feature:hover .fms-feature__icon {
	background: var(--ci-teal-dark);
}

.fms-feature__icon img {
	width: 48px;
	height: 48px;
}

.fms-feature__body {
	flex: 1;
	min-width: 0;
}

.fms-feature__body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
}

.fms-feature__body p {
	margin: 0;
}

.fms-feature:hover .fms-feature__body h3 {
	color: #fff;
}

.fms-feature:hover .fms-feature__body p {
	color: rgba(255, 255, 255, 0.85);
}

/* ── FAQ ── */

.fms-faq {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.fms-faq {
		grid-template-columns: repeat(2, 1fr);
		align-items: start;
	}
}

.fms-faq__column {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.fms-faq__item {
	border: 1px solid #f0f0f0;
	border-radius: 0;
}

.fms-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--ci-navy);
	cursor: pointer;
	list-style: none;
}

.fms-faq__question::-webkit-details-marker {
	display: none;
}

.fms-faq__question::after {
	content: "+";
	flex: 0 0 auto;
	align-self: center;
	color: var(--ci-mint);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.fms-faq__item[open] .fms-faq__question::after {
	content: "−";
}

.fms-faq__answer {
	padding: 0 1.25rem 1rem;
	color: #4d4d4d;
}

.fms-faq__answer p:last-child {
	margin-bottom: 0;
}

/* ── Form ── */

.fms-form {
	padding: 2rem;
	background: var(--ci-parchment);
	border-radius: var(--fms-radius);
}

.fms-form.is-hidden {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.fms-form__group {
	margin-bottom: 1.25rem;
}

.fms-form__group label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.fms-form__group input,
.fms-form__group textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--ci-alabaster);
	border-radius: 6px;
	font: inherit;
	background: #fff;
}

.fms-form__group input:focus,
.fms-form__group textarea:focus {
	outline: 2px solid var(--ci-teal);
	outline-offset: 1px;
}

.fms-form__note {
	font-size: 0.95rem;
	color: #555;
}

.fms-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9rem;
	line-height: 1.5;
	cursor: pointer;
}

.fms-form__checkbox input {
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.2rem;
	accent-color: var(--ci-teal);
}

.fms-form__success {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ci-teal);
	min-height: 2rem;
}

/* ── Footer ── */

.site-footer {
	background: var(--ci-navy);
	color: var(--ci-lavender);
	padding: 3.5rem 0 2rem;
	font-size: 0.95rem;
}

.site-footer a {
	color: #E6FFFA;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__grid {
	display: grid;
	gap: 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.site-footer__title {
	font-family: "Nunito", Tahoma, system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1.25rem;
}

.site-footer__links,
.site-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__links li,
.site-footer__contact li {
	margin-bottom: 0.65rem;
}

.site-footer__contact li {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.site-footer__icon {
	flex: 0 0 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15rem;
	color: var(--ci-teal);
}

.site-footer__legal {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.site-footer__legal p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal a {
	color: #fff;
}

/* ── Loader ── */

.fms-loader {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fms-loader.is-visible {
	opacity: 1;
	visibility: visible;
}

.fms-loader__spinner {
	animation: fms-spin 1s linear infinite;
}

.fms-loader__track {
	stroke: #eee;
}

.fms-loader__arc {
	stroke: var(--ci-teal);
	stroke-dasharray: 90, 150;
	stroke-dashoffset: 0;
	animation: fms-dash 1.5s ease-in-out infinite;
}

@keyframes fms-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes fms-dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}

	50% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -35;
	}

	100% {
		stroke-dasharray: 90, 150;
		stroke-dashoffset: -124;
	}
}

/* ── Reveal animations ── */

.fms-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fms-reveal--visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.fms-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.fms-plan-card:hover,
	.fms-feature:hover {
		transform: none;
	}
}