/*
Theme Name: DMS42
Theme URI: https://gitlab.leo-skull.de/clients/dms42/dms42-theme
Author: Leo Skull
Author URI: https://leo-skull.de
Description: Block Theme für die DMS42-Website – Landing Page für das EECC-DMS, das Compliance-DMS für Telekommunikationsanbieter. Umsetzung des Canva-Layouts als Full-Site-Editing-Theme mit pflegbaren Block-Patterns.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dms42
Tags: block-theme, full-site-editing, one-column, landing-page
*/

/* =========================================================
   Basis
   ========================================================= */

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
}

/* Verlaufstext (z. B. „in Sekunden" im Hero) */
.dms42-grad-text {
	background: linear-gradient(90deg, #52c8dd 0%, #1d79bf 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Eyebrow-Zeile über Abschnitts-Überschriften */
.dms42-eyebrow {
	color: #1d9fc4;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

/* Kleine Info-Pille (Hero-Badge) */
.dms42-pill {
	background: #d9f3fa;
	border-radius: 999px;
	color: #2a7d9c;
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.375rem 1rem;
}

/* =========================================================
   Header
   ========================================================= */

.dms42-header {
	box-shadow: 0 1px 0 rgba(58, 67, 116, 0.08);
	position: sticky;
	top: 0;
	z-index: 90;
}

body.admin-bar .dms42-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.dms42-brand {
	align-items: center;
	display: flex;
	gap: 0.625rem;
	text-decoration: none;
}

.dms42-brand svg {
	display: block;
}

.dms42-brand strong {
	color: #3a4374;
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.dms42-header .wp-block-navigation a {
	color: #3a4374;
	font-weight: 500;
}

.dms42-header .wp-block-navigation a:hover {
	color: #1d79bf;
}

/* =========================================================
   Buttons
   ========================================================= */

.wp-block-button.dms42-btn .wp-block-button__link {
	background: linear-gradient(90deg, #2e8da5 0%, #7cc0d2 100%);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(46, 141, 165, 0.35);
	color: #fff;
	font-weight: 600;
	padding: 0.875rem 2rem;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.wp-block-button.dms42-btn.is-small .wp-block-button__link {
	box-shadow: 0 6px 16px rgba(46, 141, 165, 0.3);
	font-size: 0.9375rem;
	padding: 0.625rem 1.5rem;
}

.wp-block-button.dms42-btn .wp-block-button__link:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

/* Weiße Pill-Buttons (Preiskarten, CTA-Panel) */
.wp-block-button.dms42-btn-light .wp-block-button__link {
	background: #fff;
	border: 1px solid #d5e6f2;
	border-radius: 999px;
	color: #1d6f96;
	font-weight: 600;
	padding: 0.75rem 1.75rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-button.dms42-btn-light .wp-block-button__link:hover {
	border-color: #52c8dd;
	box-shadow: 0 6px 18px rgba(46, 141, 165, 0.18);
}

/* Leuchtender Button in der hervorgehobenen Preiskarte */
.wp-block-button.dms42-btn-glow .wp-block-button__link {
	background: linear-gradient(90deg, #38b6d8 0%, #9fe3f2 100%);
	border-radius: 999px;
	box-shadow: 0 0 28px rgba(82, 200, 221, 0.55);
	color: #0f3454;
	font-weight: 600;
	padding: 0.75rem 1.75rem;
}

/* =========================================================
   Sektionen & Karten
   ========================================================= */

/* Heller Sektionshintergrund kommt über theme.json-Presets;
   hier nur die Bausteine, die Presets nicht abdecken. */

.dms42-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 34px rgba(23, 62, 104, 0.08);
	height: 100%;
	padding: 1.75rem 1.5rem;
}

.dms42-card h3 {
	font-size: 1.125rem;
	margin: 0.5rem 0;
}

.dms42-card p {
	color: #7983a4;
	font-size: 0.9375rem;
	margin: 0;
}

/* Auch als p innerhalb von .dms42-card gewinnen (Spezifität > „.dms42-card p") */
.dms42-kicker,
.dms42-card p.dms42-kicker {
	color: #1d79bf;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Nummern-Kachel der Schritt-Karten */
.dms42-step-num,
.dms42-card p.dms42-step-num {
	align-items: center;
	background: linear-gradient(135deg, #52c8dd 0%, #1d79bf 100%);
	border-radius: 12px;
	box-shadow: 0 8px 18px rgba(29, 121, 191, 0.35);
	color: #fff;
	display: inline-flex;
	font-size: 1.125rem;
	font-weight: 700;
	height: 2.75rem;
	justify-content: center;
	width: 2.75rem;
}

/* Icon-Kachel (Warum-DMS42-Karten, Feature-Liste) */
.dms42-ico {
	align-items: center;
	background: #eef1fd;
	border-radius: 12px;
	color: #5a6bd8;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 1.25rem;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.dms42-ico svg {
	display: block;
	height: 1.375rem;
	width: 1.375rem;
}

/* Problem-Sektion: Vergleichskarten */
.dms42-card--dark {
	background: linear-gradient(135deg, #2b3566 0%, #1f5f86 100%);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(23, 46, 90, 0.35);
	color: #fff;
	height: 100%;
	padding: 1.75rem 1.5rem;
}

.dms42-card--dark h3 {
	color: #fff;
}

/* Häkchen- und Kreuz-Listen */
ul.dms42-list-x,
ul.dms42-list-check {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.dms42-list-x li,
ul.dms42-list-check li {
	font-size: 0.9375rem;
	margin: 0 0 0.875rem;
	padding-left: 1.75rem;
	position: relative;
}

ul.dms42-list-x li::before,
ul.dms42-list-check li::before {
	font-weight: 700;
	left: 0;
	position: absolute;
}

ul.dms42-list-x li::before {
	color: #f27584;
	content: "✕";
}

ul.dms42-list-check li::before {
	color: #52c8dd;
	content: "✓";
}

.dms42-card ul.dms42-list-x li {
	color: #5c6690;
}

/* USP-Leiste unter dem Hero */
.dms42-usp {
	background: #fff;
}

.dms42-usp-item {
	align-items: center;
	color: #3a4374;
	display: flex;
	font-weight: 500;
	gap: 0.625rem;
	justify-content: center;
}

.dms42-usp-item svg {
	color: #2e8da5;
	flex: 0 0 auto;
	height: 1.375rem;
	width: 1.375rem;
}

/* =========================================================
   Hero-Mockup (reines HTML/CSS, kein Bild)
   ========================================================= */

.dms42-mock {
	margin: 0 auto;
	max-width: 480px;
	padding: 2.5rem 0 3rem;
	position: relative;
}

.dms42-mock__window {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 60px rgba(23, 62, 104, 0.18);
	padding: 1.25rem;
}

.dms42-mock__url {
	background: #eef3fb;
	border-radius: 8px;
	color: #8a93b5;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.75rem;
	margin-bottom: 1rem;
	margin-left: auto;
	padding: 0.375rem 0.75rem;
	text-align: right;
	width: fit-content;
}

.dms42-mock__stats {
	display: grid;
	gap: 0.625rem;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 1rem;
}

.dms42-mock__stats > div {
	background: #f2f6fd;
	border-radius: 10px;
	padding: 0.625rem 0.75rem;
}

.dms42-mock__stats span {
	color: #8a93b5;
	display: block;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.dms42-mock__stats strong {
	color: #3a4374;
	font-size: 1.25rem;
}

.dms42-mock__stats strong.is-orange {
	color: #f5a132;
}

.dms42-mock__stats strong.is-blue {
	color: #1d79bf;
}

.dms42-mock__bars {
	align-items: flex-end;
	display: flex;
	gap: 0.5rem;
	height: 72px;
	margin-bottom: 1rem;
}

.dms42-mock__bars i {
	background: linear-gradient(180deg, #52a8f0 0%, #3f8ee8 100%);
	border-radius: 6px 6px 0 0;
	flex: 1;
	height: var(--h, 50%);
}

.dms42-mock__rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dms42-mock__rows li {
	align-items: center;
	border-top: 1px solid #eef1f8;
	color: #3a4374;
	display: flex;
	font-size: 0.8125rem;
	font-weight: 500;
	justify-content: space-between;
	padding: 0.625rem 0.25rem;
}

.dms42-mock__rows em {
	border-radius: 999px;
	font-size: 0.6875rem;
	font-style: normal;
	font-weight: 600;
	padding: 0.1875rem 0.625rem;
}

.dms42-mock__rows em.is-open {
	background: #fdeed3;
	color: #d9820b;
}

.dms42-mock__rows em.is-ok {
	background: #d9f5ef;
	color: #1a9c7b;
}

.dms42-mock__rows em.is-done {
	background: #e6e9f4;
	color: #6a739c;
}

.dms42-mock__chip {
	align-items: center;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 16px 36px rgba(23, 62, 104, 0.18);
	display: flex;
	gap: 0.625rem;
	padding: 0.75rem 1rem;
	position: absolute;
	z-index: 2;
}

.dms42-mock__chip--top {
	left: -1.5rem;
	top: 0.5rem;
}

.dms42-mock__chip--bottom {
	bottom: 1rem;
	right: -1.5rem;
}

.dms42-mock__chip strong {
	color: #3a4374;
	display: block;
	font-size: 0.875rem;
	line-height: 1.2;
}

.dms42-mock__chip small {
	color: #8a93b5;
	font-size: 0.75rem;
}

.dms42-mock__chipicon {
	align-items: center;
	background: linear-gradient(135deg, #52a8f0, #1d79bf);
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	height: 2.25rem;
	justify-content: center;
	width: 2.25rem;
}

.dms42-mock__chipicon.is-coral {
	background: linear-gradient(135deg, #f7856e, #f27584);
}

.dms42-mock__chipicon svg {
	height: 1.125rem;
	width: 1.125rem;
}

@media (max-width: 781px) {
	.dms42-mock__chip--top {
		left: 0;
	}

	.dms42-mock__chip--bottom {
		right: 0;
	}
}

/* =========================================================
   Video-Platzhalter
   ========================================================= */

.dms42-video {
	background: #454f87;
	border-radius: 8px;
	box-shadow: 0 20px 44px rgba(38, 45, 92, 0.25);
	padding: 0.875rem;
}

.dms42-video__screen {
	align-items: center;
	aspect-ratio: 16 / 9;
	background: #fff;
	display: flex;
	justify-content: center;
}

.dms42-video__play {
	align-items: center;
	border: 2px solid #454f87;
	border-radius: 50%;
	color: #454f87;
	display: inline-flex;
	height: 4.5rem;
	justify-content: center;
	width: 4.5rem;
}

.dms42-video__play svg {
	height: 1.75rem;
	margin-left: 4px;
	width: 1.75rem;
}

.dms42-video__controls {
	align-items: center;
	color: #fff;
	display: flex;
	gap: 1rem;
	padding: 0.75rem 0.5rem 0.125rem;
}

.dms42-video__controls .bar {
	background: rgba(255, 255, 255, 0.4);
	border-radius: 2px;
	flex: 1;
	height: 3px;
	position: relative;
}

.dms42-video__controls .bar::after {
	background: #fff;
	border-radius: 50%;
	content: "";
	height: 9px;
	left: 45%;
	position: absolute;
	top: -3px;
	width: 9px;
}

.dms42-video__controls svg {
	height: 1rem;
	width: 1rem;
}

.dms42-video.is-small .dms42-video__play {
	height: 2.75rem;
	width: 2.75rem;
}

.dms42-video.is-small .dms42-video__play svg {
	height: 1rem;
	margin-left: 2px;
	width: 1rem;
}

/* =========================================================
   Dunkle Status-Sektion
   ========================================================= */

.dms42-status-card {
	background: rgba(10, 32, 54, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.8125rem;
	height: 100%;
	padding: 1.25rem 1rem;
}

.dms42-status-card strong {
	display: block;
	font-size: 0.9375rem;
	margin-bottom: 0.5rem;
}

.dms42-status-dot {
	border-radius: 50%;
	display: inline-block;
	height: 0.5rem;
	margin-right: 0.375rem;
	vertical-align: 2px;
	width: 0.5rem;
}

.dms42-status-dot.is-orange { background: #f5a132; }
.dms42-status-dot.is-green  { background: #3bc9a7; }
.dms42-status-dot.is-coral  { background: #f27584; }
.dms42-status-dot.is-gray   { background: #9db1c4; }

.dms42-note {
	background: rgba(10, 32, 54, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9375rem;
	padding: 1.25rem 1.5rem;
}

/* =========================================================
   CTA-Panel (Stunden-Rechner) & Finale
   ========================================================= */

.dms42-cta-panel {
	border-radius: 24px;
	box-shadow: 0 24px 50px rgba(18, 117, 144, 0.35);
	overflow: hidden;
}

/* =========================================================
   Preise
   ========================================================= */

.dms42-price-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 16px 38px rgba(23, 62, 104, 0.1);
	height: 100%;
	padding: 2rem 1.75rem;
	position: relative;
}

.dms42-price-card .dms42-kicker {
	color: #33a3c2;
}

.dms42-price-card h3 {
	font-size: 1.5rem;
	margin: 0.375rem 0;
}

.dms42-price-card .dms42-price-desc {
	color: #7983a4;
	font-size: 0.875rem;
	min-height: 3em;
}

.dms42-price-card .dms42-price {
	font-size: 2rem;
	font-weight: 700;
	margin: 0.75rem 0 1.25rem;
}

.dms42-price-card ul.dms42-list-check li {
	color: #5c6690;
}

.dms42-price-card--featured {
	background: linear-gradient(160deg, #123a5e 0%, #17809d 100%);
	box-shadow: 0 24px 54px rgba(15, 52, 84, 0.45);
	color: #fff;
}

.dms42-price-card--featured h3,
.dms42-price-card--featured .dms42-price {
	color: #fff;
}

.dms42-price-card--featured .dms42-price-desc,
.dms42-price-card--featured ul.dms42-list-check li {
	color: rgba(255, 255, 255, 0.85);
}

.dms42-price-badge {
	background: linear-gradient(90deg, #f7856e, #f27584);
	border-radius: 999px;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.375rem 0.875rem;
	position: absolute;
	right: 1.25rem;
	text-transform: uppercase;
	top: 1.25rem;
}

/* =========================================================
   Geschmacksrichtungen
   ========================================================= */

.dms42-flavor {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(23, 62, 104, 0.08);
	height: 100%;
	padding: 1.5rem;
}

.dms42-flavor.is-active {
	border-color: #52c8dd;
}

.dms42-flavor h3 {
	display: inline-block;
	font-size: 1.0625rem;
	margin: 0 0.5rem 0.75rem 0;
}

.dms42-flavor p {
	color: #7983a4;
	font-size: 0.875rem;
}

.dms42-flavor a {
	color: #5a6bd8;
	font-size: 0.875rem;
	font-weight: 600;
}

.dms42-tag {
	border-radius: 999px;
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 0.25rem 0.75rem;
	text-transform: uppercase;
	vertical-align: 3px;
}

.dms42-tag--available {
	background: linear-gradient(90deg, #52c8dd, #1d79bf);
	color: #fff;
}

.dms42-tag--soon {
	background: #e6e9f4;
	color: #6a739c;
}

/* =========================================================
   Footer
   ========================================================= */

.dms42-footer {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9375rem;
}

.dms42-footer h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.dms42-footer a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

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

.dms42-footer .dms42-brand strong {
	color: #fff;
}

.dms42-footer .dms42-footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
}

.dms42-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dms42-footer ul li {
	margin-bottom: 0.625rem;
}

/* =========================================================
   USP-Grid & Feature-Liste
   ========================================================= */

.dms42-usp-row {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 auto;
	max-width: 1320px;
}

.dms42-usp-item span {
	font-size: 0.9375rem;
}

@media (max-width: 960px) {
	.dms42-usp-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.dms42-usp-row {
		grid-template-columns: 1fr;
	}
}

.dms42-features {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.dms42-feature {
	display: flex;
	gap: 1rem;
}

.dms42-feature strong {
	color: #3a4374;
	display: block;
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.dms42-feature p {
	color: #7983a4;
	font-size: 0.9375rem;
	margin: 0;
}

.dms42-devices svg {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.dms42-price-card--featured {
	padding-top: 2.75rem;
}
