/* ==========================================================================
   Webwerk – Theme
   Farben: Tinte #101318 · Protokoll-Blau #1c7ed6 · Hellblau #4dabf7 · Hell #f6f7f9
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
	--ww-ink: #101318;
	--ww-ink-2: #2b313b;
	--ww-muted: #5f6672;
	--ww-blue: #1c7ed6;
	--ww-blue-dark: #1864ab;
	--ww-blue-light: #4dabf7;
	--ww-blue-soft: #e7f1fc;
	--ww-bg: #f6f7f9;
	--ww-white: #ffffff;
	--ww-line: #e3e6eb;
	--ww-ok: #12a150;
	--ww-radius: 14px;
	--ww-wrap: 1160px;
	--ww-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ww-display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ww-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ww-ink-2);
	background: var(--ww-bg);
	font-feature-settings: "cv11" 1;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ww-blue); text-underline-offset: 3px; }
a:hover { color: var(--ww-blue-dark); }
h1, h2, h3, h4 { font-family: var(--ww-display); font-weight: 800; color: var(--ww-ink); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 0.5em; }
:focus-visible { outline: 3px solid var(--ww-blue-light); outline-offset: 2px; border-radius: 4px; }

.ww-wrap { width: 100%; max-width: var(--ww-wrap); margin: 0 auto; padding: 0 24px; }
.ww-wrap--narrow { max-width: 920px; }
.ww-muted { color: var(--ww-muted); font-size: 0.92em; }
.ww-skip { position: absolute; left: -9999px; top: 8px; background: var(--ww-ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.ww-skip:focus { left: 8px; }

/* Buttons */
.ww-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--ww-blue); color: #fff; text-decoration: none; font-weight: 700;
	border-radius: 999px; padding: 14px 26px; border: 0; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2;
}
.ww-btn:hover { background: var(--ww-blue-dark); color: #fff; }
.ww-btn--small { padding: 10px 18px; font-size: 15px; }

/* Header */
.ww-header { background: var(--ww-white); border-bottom: 1px solid var(--ww-line); position: sticky; top: 0; z-index: 50; }
.ww-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ww-logo { display: inline-flex; padding: 8px 0; }
.ww-logo__svg { height: 32px; width: auto; display: block; }
.ww-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ww-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.ww-nav__list a, .ww-nav__cart { color: var(--ww-ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.ww-nav__list a:hover, .ww-nav__cart:hover { color: var(--ww-blue); }
.ww-nav__list .current-menu-item > a { color: var(--ww-blue); }
.ww-nav__cart { display: inline-flex; align-items: center; gap: 8px; }
.ww-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 6px 1px; box-sizing: border-box;
	border-radius: 999px; background: var(--ww-blue); color: #fff;
	font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
@supports (text-box: trim-both cap alphabetic) {
	.ww-badge { padding-bottom: 0; text-box: trim-both cap alphabetic; }
}
@media (max-width: 700px) {
	.ww-header { position: static; }
	.ww-header__inner { padding-top: 10px; padding-bottom: 10px; }
	.ww-logo__svg { height: 26px; }
	.ww-nav { gap: 16px; width: 100%; justify-content: space-between; }
}

/* Hero */
.ww-hero { padding: 88px 0 72px; text-align: center; }
.ww-hero__inner { display: flex; flex-direction: column; align-items: center; }
.ww-hero__title { font-size: clamp(2.3rem, 6vw, 4.2rem); margin: 0 0 14px; }
.ww-hero__text { font-size: 1.2rem; color: var(--ww-muted); margin: 0 0 36px; max-width: 620px; }
.ww-hero__search { width: 100%; max-width: 780px; text-align: left; }
.ww-hero__fine { font-size: 13px; color: var(--ww-muted); margin: 14px 0 0; }
.ww-note { background: var(--ww-blue-soft); border-radius: var(--ww-radius); padding: 16px 20px; text-align: center; }

.ww-tlds { list-style: none; margin: 34px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ww-tld { display: inline-flex; align-items: baseline; gap: 8px; background: var(--ww-white); border: 1px solid var(--ww-line); border-radius: 999px; padding: 8px 16px; }
.ww-tld__name { font-family: var(--ww-display); font-weight: 800; color: var(--ww-ink); font-size: 17px; }
.ww-tld__price { color: var(--ww-muted); font-size: 15px; font-variant-numeric: tabular-nums; }

/* Abschnitte */
.ww-section { padding: 24px 0 88px; }
.ww-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ww-feature { background: var(--ww-white); border: 1px solid var(--ww-line); border-radius: 20px; padding: 30px; }
.ww-feature h2 { font-size: 1.5rem; margin: 10px 0 8px; }
.ww-feature p { margin: 0; color: var(--ww-muted); }
.ww-feature__num { font-family: var(--ww-display); font-weight: 800; color: var(--ww-blue); font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 860px) { .ww-features { grid-template-columns: minmax(0, 1fr); } }

/* Seiten */
.ww-page { padding: 56px 0 88px; }
.ww-page__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 28px; }
.ww-prose > * + * { margin-top: 1em; }
.ww-prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.ww-prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.ww-teaser { padding: 24px 0; border-bottom: 1px solid var(--ww-line); }
.ww-teaser h2 { font-size: 1.5rem; margin: 0; }
.ww-teaser h2 a { color: var(--ww-ink); text-decoration: none; }

/* 404 */
.ww-404 { display: inline-flex; align-items: flex-end; gap: 14px; font-family: var(--ww-display); font-weight: 800; font-size: 96px; line-height: 1; color: var(--ww-ink); margin: 0 0 24px; letter-spacing: -0.04em; }
.ww-404__mark { height: 82px; width: auto; }

/* Footer */
.ww-footer { background: var(--ww-ink); color: #a7aeb9; padding: 48px 0 28px; }
.ww-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.ww-footer__logo { height: 28px; width: auto; display: block; }
.ww-footer__brand p { margin: 12px 0 0; font-size: 15px; }
.ww-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.ww-footer__menu a { color: #d6dae0; text-decoration: none; font-size: 15px; }
.ww-footer__menu a:hover { color: var(--ww-blue-light); }
.ww-footer__copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #262c36; font-size: 13px; }

/* ==========================================================================
   Formulare (gilt überall; :where() hält die Spezifität niedrig,
   damit gezielte Regeln aus shop.css Vorrang haben)
   ========================================================================== */
:where(.ww-main) :where(label) { color: var(--ww-ink); font-weight: 600; font-size: 15px; }
:where(.ww-main) :where(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea) {
	display: block; width: 100%; max-width: 100%;
	min-height: 50px; padding: 12px 16px;
	font: 400 16px/1.4 var(--ww-font); color: var(--ww-ink);
	background: var(--ww-white); border: 1.5px solid #d5dae1; border-radius: 12px;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none; appearance: none;
}
:where(.ww-main) :where(textarea) { min-height: 120px; resize: vertical; }
:where(.ww-main) :where(input, select, textarea):hover { border-color: #b8c0cb; }
:where(.ww-main) :where(input, select, textarea):focus { outline: none; border-color: var(--ww-blue); box-shadow: 0 0 0 4px rgba(28, 126, 214, 0.15); }
:where(.ww-main) :where(input::placeholder, textarea::placeholder) { color: #9aa1ab; }
:where(.ww-main) :where(select) {
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23101318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
:where(.ww-main) :where(input[type="checkbox"], input[type="radio"]) {
	width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ww-blue); cursor: pointer; vertical-align: -4px;
}
:where(.ww-main) :where(button, input[type="submit"], input[type="button"]) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 26px;
	font: 700 16px/1.2 var(--ww-font); color: #fff;
	background: var(--ww-blue); border: 0; border-radius: 999px; cursor: pointer;
	transition: background 0.15s, transform 0.05s;
}
:where(.ww-main) :where(button, input[type="submit"], input[type="button"]):hover { background: var(--ww-blue-dark); }
:where(.ww-main) :where(button, input[type="submit"], input[type="button"]):active { transform: translateY(1px); }

/* WordPress-Loginformular (z. B. im Kundenbereich) */
.ww-main #loginform, .ww-main .login-form { max-width: 440px; }
.ww-main #loginform p { margin: 0 0 18px; }
.ww-main #loginform label { display: block; margin-bottom: 6px; }
.ww-main #loginform .login-remember label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; color: var(--ww-ink-2); cursor: pointer; margin: 0; }
.ww-main #loginform .login-submit { margin-top: 24px; }
.ww-main #loginform #wp-submit { width: 100%; }
