/* =====================================================================
   SHW 2026 – service-handel.net
   Layout: linksbündiges Redaktionsraster (max. 1180 px), Sektionen wechseln
   Weiß / kühles Grau / Navy. Hero in Navy mit dem Hexagon-Icon als Wasserzeichen,
   Rot aus dem Logo nur für Akzente (Buttons, Eyebrows, Markierungen).
   ===================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
	font-family: 'Sora';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/sora-normal-400-800.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/figtree-normal-300-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Figtree';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/figtree-italic-400.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
	--navy: #1B2A4E;
	--navy-deep: #111C36;
	--blue: #2F4A80;
	--blue-soft: #E8EDF7;
	--red: #FF1E46;
	--red-ink: #D8102F;
	--red-light: #FF6B86;

	--ink: #141A28;
	--text: #2B3345;
	--muted: #66718A;
	--paper: #FFFFFF;
	--paper-2: #F3F5F9;
	--line: #DDE2EC;
	--line-dark: rgba(255, 255, 255, 0.14);

	--display: 'Sora', 'Segoe UI', Arial, sans-serif;
	--body: 'Figtree', 'Segoe UI', Arial, sans-serif;

	--gutter: clamp(16px, 5vw, 48px);
	--max: 1180px;
	--radius: 12px;
	--header-h: 76px;
}

/* ---------- Basis ---------- */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 12px);
}
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }

.shw-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px;
	font-family: var(--display); font-weight: 600; text-decoration: none;
}
.shw-skip:focus { top: 16px; }

.shw-container {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
.shw-eyebrow {
	font-family: var(--display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red-ink);
	margin: 0 0 14px;
}
.shw-eyebrow--light { color: var(--red-light); }

.shw-h2 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--ink);
	margin: 0 0 20px;
}
.shw-lead {
	font-size: 1.125rem;
	max-width: 62ch;
}

/* ---------- Buttons ---------- */
.shw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--display); font-weight: 600; font-size: 0.95rem; line-height: 1;
	padding: 15px 24px; border-radius: 999px;
	text-decoration: none; cursor: pointer;
	border: 2px solid transparent;
	transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.shw-btn:hover { transform: translateY(-1px); }
.shw-btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.shw-btn--primary:hover { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.shw-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.shw-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }
.shw-btn--small { padding: 11px 18px; background: var(--navy); border-color: var(--navy); color: #fff; }
.shw-btn--small:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.shw-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s;
}
.shw-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 26, 40, 0.08); }
.shw-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: var(--header-h);
	position: relative;
}
.shw-brand { display: inline-flex; align-items: center; }
.shw-brand__img { height: 56px; width: auto; }

.shw-nav { display: flex; align-items: center; gap: 28px; }
.shw-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.shw-nav__list > li > a {
	display: inline-block;
	font-family: var(--display); font-weight: 500; font-size: 0.95rem;
	color: var(--ink); text-decoration: none;
	padding: 6px 0; border-bottom: 2px solid transparent;
	transition: border-color 0.18s, color 0.18s;
}
.shw-nav__list > li > a:hover,
.shw-nav__list > li > a.is-active,
.shw-nav__list > li.current-menu-item > a { border-color: var(--red); color: var(--ink); }

.shw-burger {
	display: none; align-items: center; gap: 10px;
	background: none; border: 1px solid var(--line); border-radius: 999px;
	padding: 10px 16px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink);
	cursor: pointer;
}
.shw-burger__bar {
	position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.shw-burger__bar::before, .shw-burger__bar::after {
	content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
	transition: transform 0.2s;
}
.shw-burger__bar::before { top: -6px; }
.shw-burger__bar::after { top: 6px; }
.shw-burger[aria-expanded="true"] .shw-burger__bar { background: transparent; }
.shw-burger[aria-expanded="true"] .shw-burger__bar::before { transform: translateY(6px) rotate(45deg); }
.shw-burger[aria-expanded="true"] .shw-burger__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
	.shw-burger { display: inline-flex; }
	.shw-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		box-shadow: 0 16px 32px rgba(20, 26, 40, 0.12);
	}
	.shw-nav.is-open { display: flex; }
	.shw-nav__list { flex-direction: column; gap: 0; }
	.shw-nav__list > li > a {
		display: block; padding: 14px 0; font-size: 1.05rem;
		border-bottom: 1px solid var(--line);
	}
	.shw-nav__list > li > a:hover, .shw-nav__list > li > a.is-active { border-color: var(--line); color: var(--red-ink); }
	.shw-nav__cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.shw-hero {
	position: relative; overflow: hidden;
	color: #fff;
	background-color: var(--navy);
	background-image:
		radial-gradient(900px 520px at 88% -10%, rgba(47, 74, 128, 0.75), transparent 62%),
		linear-gradient(180deg, #1B2A4E 0%, #15213F 100%);
}
.shw-hero__art {
	position: absolute; right: -4%; top: -10%;
	width: min(44vw, 540px);
	opacity: 0.07;
	transform: rotate(8deg);
	pointer-events: none;
}
.shw-hero__inner {
	position: relative;
	padding-block: clamp(72px, 11vw, 140px) clamp(48px, 6vw, 72px);
}
.shw-hero__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(2.5rem, 6vw, 4.75rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 24px;
	max-width: 14ch;
}
.shw-hero__text {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.84);
	margin: 0 0 36px;
}
.shw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

.shw-facts {
	list-style: none; margin: 0; padding: 28px 0 56px;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line-dark);
	position: relative;
}
.shw-facts__item {
	display: flex; flex-direction: column; gap: 2px;
	padding-inline: 28px;
	border-left: 1px solid var(--line-dark);
	min-width: 0;
}
.shw-facts__item:first-child { padding-left: 0; border-left: 0; }
.shw-facts__value {
	font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1.05; color: #fff;
	font-variant-numeric: tabular-nums;
}
.shw-facts__label { font-family: var(--display); font-weight: 600; color: #fff; }
.shw-facts__note { color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; }

@media (max-width: 720px) {
	.shw-facts { grid-template-columns: 1fr; gap: 18px; padding-bottom: 44px; }
	.shw-facts__item { padding-inline: 0; border-left: 0; }
	.shw-facts__item + .shw-facts__item { padding-top: 18px; border-top: 1px solid var(--line-dark); }
	.shw-hero__art { width: 70vw; right: -25%; top: -4%; opacity: 0.05; }
}

/* ---------- Sektionen ---------- */
.shw-section { padding-block: clamp(64px, 9vw, 120px); }
.shw-section--grey { background: var(--paper-2); }
.shw-section--navy { background: var(--navy-deep); color: #fff; }
.shw-section--navy .shw-h2 { color: #fff; }
.shw-section--navy .shw-lead { color: rgba(255, 255, 255, 0.82); }
.shw-section__head { max-width: 70ch; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Unternehmen ---------- */
.shw-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.shw-about__figure { margin: 0; position: relative; }
.shw-about__figure::before {
	content: ''; position: absolute; right: -14px; bottom: 34px;
	width: 42%; height: 42%;
	background: var(--red); border-radius: var(--radius);
	z-index: 0;
}
.shw-about__figure img { position: relative; z-index: 1; border-radius: var(--radius); }
.shw-about__figure figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.shw-about__career {
	margin: 28px 0 0;
	padding: 18px 22px;
	border-left: 3px solid var(--red);
	background: var(--paper-2);
	font-size: 1rem;
}
.shw-about__career a { font-weight: 600; word-break: break-word; }

@media (max-width: 900px) {
	.shw-about__grid { grid-template-columns: 1fr; }
	.shw-about__figure { max-width: 640px; }
}

/* ---------- Leistungen ---------- */
.shw-services__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.shw-service {
	background: var(--paper);
	padding: 32px 28px;
	display: flex; flex-direction: column; gap: 12px;
	min-width: 0;
}
.shw-service__icon {
	width: 46px; height: 46px; border-radius: 10px;
	background: var(--blue-soft); color: var(--navy);
	display: grid; place-items: center;
}
.shw-icon { width: 24px; height: 24px; }
.shw-service__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0; color: var(--ink); }
.shw-service__text { margin: 0; font-size: 1rem; }

@media (max-width: 900px) { .shw-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .shw-services__grid { grid-template-columns: 1fr; } }

/* ---------- Marken ---------- */
.shw-brands__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
}
.shw-brand-tile { min-width: 0; }
.shw-brand-tile__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
	min-height: 176px; padding: 28px 20px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper);
	text-decoration: none; color: var(--muted);
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
a.shw-brand-tile__link:hover {
	border-color: var(--navy); color: var(--navy);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(20, 26, 40, 0.08);
}
.shw-brand-tile__link img { max-height: 60px; width: auto; max-width: 150px; object-fit: contain; }
.shw-brand-tile__name { font-family: var(--display); font-weight: 500; font-size: 0.85rem; text-align: center; }
.shw-brand-tile__link--static { opacity: 0.75; }
.shw-brands__note { margin: 28px 0 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 1000px) { .shw-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .shw-brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 420px) { .shw-brand-tile__link { min-height: 140px; padding: 20px 12px; } .shw-brand-tile__link img { max-height: 52px; max-width: 120px; } }

/* ---------- Kontakt ---------- */
.shw-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.shw-contact__info a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.shw-contact__info a:hover { text-decoration-color: #fff; color: #fff; }
.shw-contact__list { margin: 36px 0 0; display: grid; gap: 0; }
.shw-contact__row {
	display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px;
	padding-block: 18px;
	border-top: 1px solid var(--line-dark);
}
.shw-contact__row dt {
	font-family: var(--display); font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.1em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	padding-top: 3px;
}
.shw-contact__row dd { margin: 0; }
.shw-contact__maps { display: inline-block; margin-top: 8px; font-size: 0.95rem; }

.shw-contact__form {
	background: var(--paper); color: var(--text);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 40px);
}
.shw-form { position: relative; }
.shw-form__hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.shw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.shw-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; min-width: 0; }
.shw-field label { font-family: var(--display); font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.shw-field input[type="text"], .shw-field input[type="email"], .shw-field textarea {
	font: inherit; width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line); border-radius: 8px;
	background: #fff; color: var(--ink);
}
.shw-field textarea { resize: vertical; min-height: 140px; }
.shw-field input:focus, .shw-field textarea:focus {
	outline: 3px solid var(--blue-soft); outline-offset: 0; border-color: var(--navy);
}
.shw-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.shw-field--check input { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--navy); }
.shw-field--check label { font-family: var(--body); font-weight: 400; font-size: 0.92rem; color: var(--text); }
.shw-field__req { color: var(--red-ink); }
.shw-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 8px 0 0; }
.shw-form__hint { font-size: 0.85rem; color: var(--muted); }
.shw-notice { padding: 14px 16px; border-radius: 8px; margin: 0 0 18px; font-weight: 500; }
.shw-notice--ok { background: #E6F7EC; color: #15603A; }
.shw-notice--err { background: #FDE8EC; color: #8E1226; }

/* Contact Form 7 (falls per Shortcode eingebunden) */
.shw-contact__form .wpcf7 input:not([type="submit"]):not([type="checkbox"]), .shw-contact__form .wpcf7 textarea {
	font: inherit; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
}
.shw-contact__form .wpcf7 input[type="submit"] {
	font-family: var(--display); font-weight: 600; padding: 15px 24px; border-radius: 999px;
	background: var(--red); color: #fff; border: 0; cursor: pointer;
}

@media (max-width: 900px) {
	.shw-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.shw-form__row { grid-template-columns: 1fr; }
	.shw-contact__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */
.shw-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.shw-footer__grid {
	display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
	padding-block: 56px 40px;
	border-bottom: 1px solid var(--line-dark);
}
.shw-footer__logo { height: 64px; width: auto; margin-bottom: 18px; }
.shw-footer__tagline { max-width: 34ch; margin: 0; }
.shw-footer__col { min-width: 0; font-style: normal; }
.shw-footer__label {
	display: block; font-family: var(--display); font-size: 0.75rem; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5); margin-bottom: 10px;
}
.shw-footer a { color: #fff; text-decoration: none; }
.shw-footer a:hover { text-decoration: underline; color: #fff; }
.shw-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shw-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
	padding-block: 20px;
	font-size: 0.85rem; color: rgba(255, 255, 255, 0.55);
}
.shw-footer__top { color: rgba(255, 255, 255, 0.7) !important; }

@media (max-width: 900px) { .shw-footer__grid { grid-template-columns: 1fr 1fr; } .shw-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .shw-footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Unterseiten (Impressum, Datenschutz …) ---------- */
.shw-page__head { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shw-page__inner { max-width: calc(78ch + 2 * var(--gutter)); margin-inline: auto; }
.shw-page__head .shw-page__inner { padding-block: clamp(40px, 6vw, 72px); }
.shw-page__title {
	font-family: var(--display); font-weight: 700;
	font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.015em;
	color: var(--ink); margin: 0;
}
.shw-prose { padding-block: clamp(40px, 6vw, 72px); max-width: 78ch; overflow-wrap: anywhere; }
.shw-prose h2, .shw-prose h3, .shw-prose h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 2em 0 0.6em; }
.shw-prose h2 { font-size: 1.5rem; }
.shw-prose h3 { font-size: 1.2rem; }
.shw-prose h4 { font-size: 1.05rem; }
.shw-prose p, .shw-prose ul, .shw-prose ol { margin: 0 0 1.1em; }
.shw-prose li { margin-bottom: 0.35em; }
.shw-prose a { color: var(--blue); }
.shw-prose img { border-radius: var(--radius); }
.shw-prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.shw-prose th, .shw-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---------- Sonstiges ---------- */
@media (max-width: 900px) { body.shw-nav-open { overflow: hidden; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.shw-header, .shw-footer__top, .shw-hero__art, .shw-contact__form { display: none; }
	.shw-hero, .shw-section--navy, .shw-footer { background: #fff !important; color: #000 !important; }
}
