/*
Theme Name: Traduo
Theme URI: https://traduo.ch
Author: Suprexa AG
Description: One-Page-Marketing-Theme für Traduo – die On-Premise-Übersetzungslösung. Swiss-typographic-Design (Weissraum, Grotesk, rotes Akzentquadrat), natives Block-Theme, viersprachig (DE/FR/IT/EN), ohne externe Abhängigkeiten.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: traduo
Tags: one-page, block-theme, full-site-editing
*/

html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
[id] {
	scroll-margin-top: 5.5rem;
}
body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

/* Sticky Header (Template-Part-Wrapper mit Area "header") */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid #e5e5e3;
}
.admin-bar header.wp-block-template-part {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

.traduo-header {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.traduo-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	color: #111111;
}
.traduo-logo::before {
	content: "";
	width: 0.62em;
	height: 0.62em;
	background: #da291c;
	flex: none;
}
.traduo-nav {
	display: flex;
	gap: 1.4rem;
	flex-wrap: wrap;
}
.traduo-nav a {
	font-size: 0.875rem;
	color: #444444;
	text-decoration: none;
}
.traduo-nav a:hover {
	color: #111111;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.traduo-header__right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.traduo-lang {
	display: flex;
	gap: 0.65rem;
}
.traduo-lang a {
	font-size: 0.8125rem;
	color: #767676;
	text-decoration: none;
	padding-bottom: 1px;
}
.traduo-lang a:hover {
	color: #111111;
}
.traduo-lang a.is-active {
	color: #111111;
	border-bottom: 2px solid #da291c;
}
.traduo-cta {
	font-size: 0.875rem;
	background: #111111;
	color: #ffffff;
	padding: 0.55rem 1.1rem;
	text-decoration: none;
}
.traduo-cta:hover {
	background: #333333;
	color: #ffffff;
}
@media (max-width: 960px) {
	.traduo-nav {
		display: none;
	}
}
@media (max-width: 600px) {
	.traduo-cta {
		display: none;
	}
}

/* Sections */
.traduo-hero {
	padding-top: 7rem;
	padding-bottom: 6rem;
}
.traduo-section {
	padding-top: 5.5rem;
	padding-bottom: 5.5rem;
}
.traduo-section--alt {
	background: #f7f7f5;
}
@media (max-width: 781px) {
	.traduo-hero {
		padding-top: 4.5rem;
		padding-bottom: 4rem;
	}
	.traduo-section {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}

.traduo-kicker {
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #767676;
}
.traduo-kicker--mark::before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	background: #da291c;
	margin-right: 0.6em;
}
.traduo-h1 {
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	max-width: 16ch;
}
.traduo-lead {
	font-size: 1.25rem;
	line-height: 1.55;
	color: #444444;
	max-width: 38rem;
}
.traduo-facts {
	font-size: 0.8125rem;
	color: #767676;
	letter-spacing: 0.02em;
	margin-top: 2.5rem;
}

/* Karten-Raster */
.traduo-grid {
	margin-top: 2.75rem;
}
.traduo-card {
	border: 1px solid #e3e3e0;
	background: #ffffff;
	padding: 1.5rem;
}
.traduo-card h3 {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}
.traduo-card p {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #555555;
	margin: 0;
}

.traduo-list {
	padding-left: 1.2rem;
}
.traduo-list li {
	margin-bottom: 0.7rem;
}
.traduo-list li::marker {
	color: #da291c;
}

/* Buttons */
.wp-block-button__link {
	border-radius: 0;
}
.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid #111111;
	color: #111111;
}

/* Kontaktformular */
.traduo-form {
	display: grid;
	gap: 1.1rem;
}
.traduo-form p {
	margin: 0;
}
.traduo-form label {
	display: block;
	font-size: 0.8125rem;
	color: #333333;
	margin-bottom: 0.35rem;
}
.traduo-form input[type="text"],
.traduo-form input[type="email"],
.traduo-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.75rem;
	border: 1px solid #c9c9c6;
	border-radius: 0;
	background: #ffffff;
	font: inherit;
	font-size: 0.9375rem;
	color: #111111;
}
.traduo-form input:focus,
.traduo-form textarea:focus {
	outline: none;
	border-color: #111111;
}
.traduo-form__check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}
.traduo-form__check input {
	margin-top: 0.2rem;
}
.traduo-form__check label {
	font-size: 0.8125rem;
	color: #555555;
	margin: 0;
}
.traduo-form button {
	background: #111111;
	color: #ffffff;
	border: 0;
	border-radius: 0;
	padding: 0.8rem 1.7rem;
	font: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
	justify-self: start;
}
.traduo-form button:hover {
	background: #333333;
}
.traduo-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Hinweise */
.traduo-notice {
	border: 1px solid;
	padding: 0.9rem 1.1rem;
	font-size: 0.9rem;
	margin-bottom: 1.25rem;
}
.traduo-notice--success {
	border-color: #2e7d32;
	color: #205723;
	background: #f1f7f1;
}
.traduo-notice--error {
	border-color: #da291c;
	color: #a01a10;
	background: #fdf1f0;
}
.traduo-notice--draft {
	border-color: #b98a2b;
	color: #7a5a17;
	background: #faf3e3;
}

/* Footer */
footer.wp-block-template-part {
	border-top: 1px solid #e5e5e3;
}
.traduo-footer {
	max-width: 72rem;
	margin: 0 auto;
	padding: 3rem 1.5rem 2.5rem;
}
.traduo-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 2rem;
	flex-wrap: wrap;
}
.traduo-footer p {
	font-size: 0.8125rem;
	color: #767676;
	margin: 0.5rem 0 0;
}
.traduo-footer nav {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}
.traduo-footer nav a {
	font-size: 0.8125rem;
	color: #444444;
	text-decoration: none;
}
.traduo-footer nav a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.traduo-footer__copy {
	margin-top: 2rem !important;
	font-size: 0.75rem !important;
	color: #999999 !important;
}

/* Unterseiten (Rechtstexte etc.) */
.traduo-page {
	padding-top: 4rem;
	padding-bottom: 5rem;
}
.traduo-page h1 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	letter-spacing: -0.02em;
}
