/* ITSCS Zugerberg – ergänzende Stile. Farben/Schriften kommen aus theme.json (Design → Stile). */

:root {
	--itscs-radius: 10px;
	--itscs-radius-l: 14px;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; border-radius: 4px; }

/* Zum Inhalt springen */
.skip-link.screen-reader-text:focus { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); padding: .75rem 1rem; z-index: 1000; }

/* Header */
.itscs-header { position: relative; }
.itscs-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wp--preset--gradient--logo-gold); }
.itscs-header .wp-block-site-logo img { height: auto; }
.itscs-header .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.itscs-header .wp-block-navigation a:hover { color: var(--wp--preset--color--gold); }
@media (min-width: 782px) { .itscs-header.is-sticky { position: sticky; top: 0; z-index: 20; } .admin-bar .itscs-header.is-sticky { top: 32px; } }

/* Buttons: Stil «Umriss» */
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--gold); }
.has-chrome-background-color .wp-block-button:not(.is-style-ghost) .wp-block-button__link { background: var(--wp--preset--color--brand); color: #0B1016; }
.has-chrome-background-color .wp-block-button:not(.is-style-ghost) .wp-block-button__link:hover { background: #E8D890; }

/* Absatz: Überzeile */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--mono); font-size: .75rem !important; line-height: 1;
	letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--gold);
}
/* Absatz: Preis */
.is-style-price { font-family: var(--wp--preset--font-family--mono); font-size: .8125rem; margin-top: auto !important; }
.is-style-price strong { font-family: var(--wp--preset--font-family--display); font-size: 1.125rem; }

/* Gruppe: Karte */
.is-style-card {
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--itscs-radius); padding: clamp(1.25rem, 3vw, 1.75rem);
}

/* Gruppe: Leistungs-Raster (Rasterlinien statt Schatten) */
.is-style-service-grid {
	gap: 1px !important; background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line); border-radius: var(--itscs-radius); overflow: hidden;
}
.is-style-service-grid > * {
	background: var(--wp--preset--color--surface); padding: 1.75rem; margin: 0 !important;
	display: flex; flex-direction: column; gap: .75rem;
}
.is-style-service-grid h3 a { color: inherit; text-decoration: none; }
.is-style-service-grid h3 a::after { content: ""; position: absolute; inset: 0; }
.is-style-service-grid > * { position: relative; }
.is-style-service-grid > *:hover h3 { color: var(--wp--preset--color--gold); }

/* Liste: Häkchen */
ul.is-style-check { list-style: none; padding-left: 0; display: grid; gap: .6rem; }
ul.is-style-check li { position: relative; padding-left: 1.75rem; }
ul.is-style-check li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
	border-left: 2px solid var(--wp--preset--color--signal); border-bottom: 2px solid var(--wp--preset--color--signal); transform: rotate(-45deg);
}

/* Liste: Prozess (nummerierte Phasen) */
ol.is-style-process {
	list-style: none; padding: 0; counter-reset: phase;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem 2rem;
}
ol.is-style-process > li { border-top: 2px solid var(--wp--preset--color--ink); padding-top: 1rem; color: var(--wp--preset--color--muted); }
ol.is-style-process > li::before {
	counter-increment: phase; content: "Phase " counter(phase); display: block; margin-bottom: .4rem;
	font: 500 .75rem/1 var(--wp--preset--font-family--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--gold);
}
ol.is-style-process > li strong { display: block; color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--display); font-size: 1.1875rem; margin-bottom: .25rem; }

/* Tabelle: Preistabelle */
.wp-block-table.is-style-prices { overflow-x: auto; border: 1px solid var(--wp--preset--color--line); border-radius: var(--itscs-radius); background: var(--wp--preset--color--surface); }
.wp-block-table.is-style-prices table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-prices th, .wp-block-table.is-style-prices td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: .9rem 1rem; text-align: left; vertical-align: top; }
.wp-block-table.is-style-prices tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-prices thead { border: 0; }
.wp-block-table.is-style-prices th { font: 500 .75rem/1.2 var(--wp--preset--font-family--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--paper); }
.wp-block-table.is-style-prices td:last-child { font-family: var(--wp--preset--font-family--mono); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* FAQ */
.is-style-faq { border-top: 1px solid var(--wp--preset--color--line); }
.is-style-faq .wp-block-details { margin: 0 !important; }
.is-style-faq summary { cursor: pointer; font: 600 1.125rem/1.35 var(--wp--preset--font-family--display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.is-style-faq summary::-webkit-details-marker { display: none; }
.is-style-faq summary::after { content: "+"; color: var(--wp--preset--color--gold); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.is-style-faq details[open] summary::after { content: "–"; }
.is-style-faq details > :not(summary) { color: var(--wp--preset--color--muted); max-width: 70ch; }

/* Kennzahlen */
.itscs-stat .itscs-stat__num { font: 800 clamp(2.5rem, 5vw, 3.75rem)/1 var(--wp--preset--font-family--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 0; }

/* Brotkrumen */
.itscs-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font: 400 .8125rem/1.4 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); }
.itscs-crumbs li + li::before { content: "/"; margin-right: .5rem; }
.itscs-crumbs a { color: var(--wp--preset--color--muted); text-decoration: none; }
.itscs-crumbs a:hover { color: var(--wp--preset--color--gold); }

/* Footer */
.itscs-footer a { color: inherit; text-decoration: none; opacity: .85; }
.itscs-footer a:hover { opacity: 1; text-decoration: underline; }
.itscs-footer .is-style-eyebrow { color: inherit; opacity: .6; }

/* Kontaktformular */
/* Kontaktformular: passt sich der verfügbaren Breite an (Container Query), nicht nur dem Bildschirm */
.itscs-form, .itscs-form * { box-sizing: border-box; }
.itscs-form { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; width: 100%; max-width: 100%; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--itscs-radius-l); padding: clamp(1rem, 4vw, 2.25rem); }
.itscs-form > p { margin: 0; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.itscs-form .is-full { grid-column: 1 / -1; }
.itscs-form label { font-size: .875rem; font-weight: 500; }
.itscs-form input, .itscs-form select, .itscs-form textarea {
	font: inherit; font-size: 1rem; /* 16 px: verhindert automatisches Zoomen auf dem iPhone */
	min-height: 48px; padding: .75rem .9rem; width: 100%; max-width: 100%;
	border: 1px solid var(--wp--preset--color--line); border-radius: 8px;
	background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink);
	-webkit-appearance: none; appearance: none;
}
.itscs-form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.itscs-form textarea { min-height: 8rem; resize: vertical; }
.itscs-form input:focus, .itscs-form select:focus, .itscs-form textarea:focus { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 0; border-color: transparent; background: var(--wp--preset--color--surface); }
.itscs-form input:user-invalid, .itscs-form textarea:user-invalid { border-color: #c0392b; }
.itscs-form .itscs-consent { flex-direction: row; gap: .75rem; align-items: flex-start; }
.itscs-form .itscs-consent input { width: 22px; min-width: 22px; height: 22px; min-height: 22px; padding: 0; margin-top: .1rem; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--wp--preset--color--gold); }
.itscs-form .itscs-consent label { font-weight: 400; font-size: .875rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.itscs-form > p:last-child { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.itscs-form__submit { cursor: pointer; border: 0; min-height: 48px; }
.itscs-form__note { font-size: .8125rem; color: var(--wp--preset--color--muted); }
.itscs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.itscs-form-msg { padding: 1rem 1.25rem; border-radius: var(--itscs-radius); margin-bottom: 1rem; }
.itscs-form-msg.is-ok { background: color-mix(in srgb, var(--wp--preset--color--signal) 12%, transparent); color: var(--wp--preset--color--signal); }
.itscs-form-msg.is-error { background: #fdecea; color: #a1281b; }
/* Einspaltig, sobald das Formular selbst schmaler als ~34 rem ist (z. B. Tablet in der 60 %-Spalte) */
@container (max-width: 34rem) {
	.itscs-form > p { grid-column: 1 / -1; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 900px) { .itscs-form > p { grid-column: 1 / -1; } }
}
/* Kontaktbereich: Formular und Firmendaten schon ab Tablet untereinander */
@media (max-width: 1024px) {
	#kontaktformular.wp-block-columns { flex-wrap: wrap !important; }
	#kontaktformular.wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 600px) {
	.itscs-form { border-radius: 12px; }
	.itscs-form__submit { width: 100%; justify-content: center; }
	.itscs-form__note { width: 100%; text-align: center; }
}

/* Aktualisiert-Hinweis */
.itscs-updated { font: 400 .8125rem/1.4 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ===================== Responsive (Tablet & Handy) ===================== */

/* Header: Logo links, Menü-Button rechts, nie umbrechen */
.itscs-header > .wp-block-group { flex-wrap: nowrap; }
.itscs-header .wp-block-navigation__responsive-container-open { border: 1px solid var(--wp--preset--color--line); border-radius: 8px; padding: .55rem; min-width: 44px; min-height: 44px; justify-content: center; }
.itscs-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); padding: 1.25rem clamp(16px, 4vw, 40px); }
.itscs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 0; padding-top: 3.5rem; align-items: stretch; }
.itscs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); font-size: 1.125rem; }
.itscs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: .9rem 0; width: 100%; }

/* Desktop-Menü: Links neben dem Logo */
.itscs-mainnav .wp-block-navigation-item__content { font-weight: 500; text-decoration: none; padding-block: .35rem; }
.itscs-mainnav .wp-block-navigation-item__content:hover,
.itscs-mainnav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--gold); }

/* Menü-Button schon ab Tablet (WordPress schaltet sonst erst unter 600 px um) */
@media (max-width: 1024px) {
	.itscs-header__left { display: contents; }
	.itscs-header__bar > * , .itscs-header__bar .wp-block-site-logo { order: 1; }
	.itscs-header__cta { order: 2; margin-left: auto; }
	.itscs-mainnav { order: 3; margin-left: .6rem; }
	.itscs-mainnav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.itscs-mainnav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 781px) {
	.itscs-header { position: sticky; top: 0; z-index: 30; }
	.admin-bar .itscs-header { top: 46px; }
	.itscs-header .wp-block-site-logo img { width: 120px !important; }
	.itscs-header .wp-block-button.is-style-ghost { display: none; }
	.itscs-header .wp-block-button__link { padding: .7rem .9rem; }
}
@media (max-width: 420px) {
	.itscs-header__cta { display: none; } /* Aktionsleiste unten übernimmt */
	.itscs-mainnav { margin-left: auto; }
}

@media (max-width: 700px) {
	body { font-size: .96875rem; }
	/* Buttons in Inhalten volle Breite */
	.entry-content .wp-block-buttons, .wp-block-post-content .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wp-block-post-content .wp-block-buttons .wp-block-button { width: 100%; }
	.wp-block-post-content .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; padding-top: .95rem; padding-bottom: .95rem; }

	/* Leistungs-Raster: kompakte Zeilen */
	.is-style-service-grid > * { padding: 1.1rem 1rem; gap: .35rem; }
	.is-style-service-grid h3 { font-size: 1.125rem; }
	.is-style-service-grid p { font-size: .9rem; }

	/* Kennzahlen nebeneinander statt untereinander */
	.wp-block-group:has(> .itscs-stat) { grid-template-columns: repeat(3, 1fr) !important; gap: .6rem; }
	.itscs-stat .itscs-stat__num { font-size: clamp(1.5rem, 7.5vw, 2.1rem); }
	.itscs-stat p:not(.itscs-stat__num) { font-size: .78rem; line-height: 1.35; }

	/* Prozess als Zeitleiste */
	ol.is-style-process { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--wp--preset--color--line); margin-left: 6px; }
	ol.is-style-process > li { border-top: 0; padding: 0 0 1.25rem 1.25rem; position: relative; font-size: .9rem; }
	ol.is-style-process > li::after { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--surface); border: 2px solid var(--wp--preset--color--gold); }
	ol.is-style-process > li strong { font-size: 1.05rem; }

	/* Preistabelle als Karten: Name + Preis oben, Beschreibung darunter */
	.wp-block-table.is-style-prices { border: 0; background: transparent; overflow: visible; }
	.wp-block-table.is-style-prices table, .wp-block-table.is-style-prices tbody { display: block; }
	.wp-block-table.is-style-prices thead { display: none; }
	.wp-block-table.is-style-prices tr { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--itscs-radius); padding: .9rem 1rem; margin-bottom: .6rem; }
	.wp-block-table.is-style-prices td { padding: 0; border: 0 !important; }
	.wp-block-table.is-style-prices td:first-child { font-weight: 600; }
	.wp-block-table.is-style-prices td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
	.wp-block-table.is-style-prices td:not(:first-child):not(:last-child) { grid-column: 1 / -1; color: var(--wp--preset--color--muted); font-size: .9rem; }

	/* FAQ etwas kleiner */
	.is-style-faq summary { font-size: 1rem; }

	/* Footer: Firmendaten oben, Links zweispaltig */
	.itscs-footer .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
	.itscs-footer .wp-block-columns > .wp-block-column:first-child { grid-column: 1 / -1; }
	.itscs-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)) !important; }

	/* Klebende Aktionsleiste unten */
	.itscs-mobile-bar { display: grid !important; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0 !important; background: var(--wp--preset--color--surface); border-top: 1px solid var(--wp--preset--color--line); padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px)); }
	.itscs-mobile-bar .wp-block-button { width: 100%; }
	.itscs-mobile-bar .wp-block-button__link { width: 100%; justify-content: center; padding: .85rem .5rem; }
}
.itscs-mobile-bar { display: none !important; }
@media (max-width: 700px) { .itscs-mobile-bar { display: grid !important; } }

/* Tablet */
@media (min-width: 701px) and (max-width: 1024px) {
	.itscs-footer .wp-block-columns { flex-wrap: wrap !important; }
	.itscs-footer .wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; }
}

/* Support-Seite */
.itscs-howto { margin-block: var(--wp--preset--spacing--40) !important; }
.itscs-platforms { gap: 1rem !important; margin-block: var(--wp--preset--spacing--40) !important; }
.itscs-os { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.itscs-os h3 { margin: 0; }
.itscs-os .wp-block-buttons { margin-top: auto; }
.itscs-os.is-mine { border-color: var(--wp--preset--color--gold); box-shadow: 0 0 0 1px var(--wp--preset--color--gold); }
.itscs-os-badge { position: absolute; top: 1.1rem; right: 1.1rem; font: 500 .6875rem/1 var(--wp--preset--font-family--mono); padding: .4rem .55rem; border-radius: 999px; background: var(--wp--preset--color--gold-soft); color: var(--wp--preset--color--gold); }
@media (max-width: 700px) {
	.itscs-platforms { grid-template-columns: 1fr !important; }
	.itscs-os .wp-block-buttons { flex-direction: row !important; }
	.itscs-os .wp-block-button { flex: 1; }
}

/* Hero mit Statuskarte */
.itscs-hero h1 { margin-block: 1rem 1.25rem; }
ul.itscs-hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.itscs-status { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; box-shadow: var(--wp--preset--shadow--card); overflow: hidden; }
.itscs-status > * { margin: 0 !important; }
.itscs-status__top { padding: .9rem 1.1rem; border-bottom: 1px solid var(--wp--preset--color--line); font: 500 .75rem/1 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); }
.itscs-status__top p { margin: 0; }
.itscs-pill { padding: .35rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--signal) 14%, transparent); color: var(--wp--preset--color--signal); font-size: .6875rem; }
.itscs-status__table table { border-collapse: collapse; width: 100%; font-size: .875rem; }
.itscs-status__table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: .75rem 1.1rem; }
.itscs-status__table td:first-child { color: var(--wp--preset--color--muted); }
.itscs-status__table td:last-child { text-align: right; font-family: var(--wp--preset--font-family--mono); font-size: .8125rem; }
.itscs-status__meter { padding: 1rem 1.1rem 1.2rem; font: 400 .75rem/1.4 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); }
.itscs-status__meter::after { content: ""; display: block; height: 6px; margin-top: .5rem; border-radius: 3px; background: linear-gradient(90deg, var(--wp--preset--color--gold) 38%, var(--wp--preset--color--gold-soft) 38%); }
@media (max-width: 781px) { .itscs-hero-card { display: none; } .itscs-hero-facts { flex-direction: column; } }

/* Rechtliche Seiten (AGB, Impressum, Datenschutz) */
.itscs-legal { font-size: .96875rem; }
.itscs-legal h2 { font-size: 1.375rem; margin-top: 2.5rem; scroll-margin-top: 6rem; }
.itscs-legal h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.itscs-clause { position: relative; padding-left: 3.25rem; }
.itscs-clause > strong:first-child { position: absolute; left: 0; top: 0; font: 500 .8125rem/1.85 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--gold); }
.itscs-clause.is-cont { margin-top: .5rem; }
.itscs-clause-list { padding-left: 4.5rem; display: grid; gap: .35rem; }
.itscs-toc { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 1.25rem 1.5rem; }
.itscs-toc ul { list-style: none; padding: 0; margin: .75rem 0 0; columns: 2; column-gap: 2rem; }
.itscs-toc li { break-inside: avoid; padding: .2rem 0; }
.itscs-toc a { text-decoration: none; }
.itscs-toc a:hover { text-decoration: underline; }
.itscs-missing { background: #fff3cd; color: #7a5a00; padding: 0 .25rem; border-radius: 3px; font-size: .875em; }
@media (max-width: 700px) {
	.itscs-toc ul { columns: 1; }
	.itscs-clause { padding-left: 2.75rem; }
	.itscs-clause-list { padding-left: 3.5rem; }
}

/* reCAPTCHA: Badge ausblenden (erlaubt, da Hinweis im Formular steht) */
.grecaptcha-badge { visibility: hidden !important; }
.itscs-form .itscs-rc-note { display: block; font-size: .75rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
.itscs-form .itscs-rc-note a { color: inherit; }
.itscs-form__submit[disabled] { opacity: .7; cursor: progress; }

/* Menü «Leistungen» als Dropdown */
.itscs-mainnav .wp-block-navigation__submenu-container {
	min-width: 260px !important; padding: .5rem !important; margin-top: .4rem;
	background: var(--wp--preset--color--surface) !important; color: var(--wp--preset--color--ink) !important;
	border: 1px solid var(--wp--preset--color--line) !important; border-radius: 10px;
	box-shadow: 0 18px 40px -18px rgba(13,27,42,.35);
}
.itscs-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .6rem .75rem !important; border-radius: 6px; font-weight: 500; }
.itscs-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--gold-soft); color: var(--wp--preset--color--gold); }
.itscs-mainnav .wp-block-navigation__submenu-icon { margin-left: .3rem; }
/* Kleine Brücke, damit das Dropdown beim Überfahren nicht zuklappt */
.itscs-mainnav .has-child > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
/* Mobil-Overlay: Unterpunkte eingerückt und immer sichtbar */
.itscs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 .5rem 1rem !important; margin: 0; background: transparent !important; }
.itscs-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; font-size: 1rem; }

/* Symbole für Leistungskarten: Klasse «itscs-icon itscs-icon--NAME» an der Karten-Gruppe
   (Editor → Block → Erweitert → Zusätzliche CSS-Klasse(n)). */
.itscs-icon::before {
	content: ""; display: block; flex: none; width: 40px; height: 40px; margin-bottom: .25rem;
	border-radius: 9px; background-color: var(--wp--preset--color--gold-soft);
	background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
}
.itscs-icon--grid::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='1'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1'/%3E%3C/svg%3E"); }
.itscs-icon--backup::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M4 6v12c0 1.7 3.6 3 8 3s8-1.3 8-3V6'/%3E%3Cpath d='M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.itscs-icon--shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.itscs-icon--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.itscs-icon--cloud::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .5-8A6 6 0 0 0 6 11.5 3.3 3.3 0 0 0 7 18z'/%3E%3C/svg%3E"); }
.itscs-icon--user::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.itscs-icon--compass::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.itscs-icon--route::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Cpath d='M8.5 18H15a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h6.5'/%3E%3C/svg%3E"); }
.itscs-icon--migrate::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13l-3-3M20 16H7l3 3'/%3E%3C/svg%3E"); }
.itscs-icon--server::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='1.5'/%3E%3Crect x='3' y='13' width='18' height='7' rx='1.5'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); }
.itscs-icon--desktop::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.itscs-icon--restore::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.3-5.6L4 8.7'/%3E%3Cpath d='M4 4v4.7h4.7'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
.itscs-icon--key::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l2 2M15 8l2 2'/%3E%3C/svg%3E"); }
.itscs-icon--apps::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-5 6 5 6M16 6l5 6-5 6M14 4l-4 16'/%3E%3C/svg%3E"); }
.itscs-icon--pulse::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E"); }
.itscs-icon--coins::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='9' cy='7' rx='6' ry='3'/%3E%3Cpath d='M3 7v5c0 1.7 2.7 3 6 3s6-1.3 6-3V7'/%3E%3Cpath d='M15 11.2c3.2.3 6 1.5 6 3.1 0 1.7-2.7 3-6 3-1.8 0-3.4-.4-4.5-1'/%3E%3C/svg%3E"); }
.itscs-icon--search::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); }
.itscs-icon--tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.5'/%3E%3C/svg%3E"); }
.itscs-icon--lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.itscs-icon--refresh::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.6-4.5L3 9M3 4v5h5'/%3E%3Cpath d='M4 13a8 8 0 0 0 14.6 4.5L21 15M21 20v-5h-5'/%3E%3C/svg%3E"); }
.itscs-icon--scale::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-8M22 20H2'/%3E%3C/svg%3E"); }
.itscs-icon--bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.itscs-icon--devices::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M6 19h6M9 15v4'/%3E%3Crect x='17' y='9' width='5' height='11' rx='1'/%3E%3C/svg%3E"); }
.itscs-icon--auto::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5A1E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
