/* ==========================================================================
   Wunschgesichter · Basis: Schriften, Typografie, Links, Fokus, Formulare
   ========================================================================== */

/* Schriften lokal (WOFF2, OFL) – kein Aufruf fremder Server. */
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/pt-sans-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/pt-sans-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pt-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pt-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mrs-saint-delafield-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* --- Typografie ---------------------------------------------------------- */
/* Kadence-Override: Größen fließend per clamp() – der Customizer kennt nur drei feste Stufen. */
body { font-size: var(--wg-fs-body); }
h1 { font-size: var(--wg-fs-h1); }
h2 { font-size: var(--wg-fs-h2); }
h3 { font-size: var(--wg-fs-h3); }
h4 { font-size: var(--wg-fs-h4); }

/* Versalien-Überschriften: Sperrung am Zeilenende ausgleichen, damit Zentriertes optisch mittig steht. */
h1, h2 { margin-right: calc(var(--wg-ls-versal) * -1); text-wrap: balance; hyphens: manual; } /* nur gesetzte weiche Trennstellen (&shy;) */
h1.wg-display { font-size: var(--wg-fs-display); line-height: var(--wg-lh-display); letter-spacing: var(--wg-ls-display); margin-right: calc(var(--wg-ls-display) * -1); }
h3, h4, h5, h6 { hyphens: none; }

/* Silbentrennung nur im Fließtext – nie in Links (E-Mail-Adressen, Telefonnummern), Überschriften, Buttons, Navigation. */
p, li { hyphens: auto; }
p a, li a, address { hyphens: none; }
.entry-content p { margin-block: 0 1.1em; }
.entry-content p:last-child { margin-bottom: 0; }

/* Absatz-Stile (Block-Stile) */
.is-style-wg-lead { font-size: var(--wg-fs-lead); line-height: var(--wg-lh-lead); color: var(--wg-grau); hyphens: none; }
.is-style-wg-eyebrow { font-size: var(--wg-fs-eyebrow); line-height: 1.4; font-weight: 700; letter-spacing: var(--wg-ls-eyebrow); text-transform: uppercase; color: var(--wg-tuerkis-tief); hyphens: none; }
.entry-content p.is-style-wg-eyebrow { margin-bottom: var(--wg-s-3); }
.is-style-wg-klein { font-size: var(--wg-fs-small); line-height: 1.5; color: var(--wg-taupe-tief); }
.is-style-wg-handschrift { font-family: var(--wg-font-script); font-size: var(--wg-fs-script); line-height: 1.1; font-weight: 400; color: var(--wg-tuerkis-mittel); transform: rotate(-4deg); transform-origin: left center; hyphens: none; }

/* Überschrift mit Akzentlinie (48 × 1 px Türkis) */
.is-style-wg-akzentlinie::after { content: ""; display: block; width: 48px; border-top: var(--wg-linie-akzent); margin-top: var(--wg-s-5); }

/* --- Links --------------------------------------------------------------- */
.entry-content a:not(.wp-block-button__link):not(.wp-element-button) { color: var(--wg-tuerkis-tief); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--wg-t-farbe); }
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover { color: var(--wg-tuerkis-tief-hover); text-decoration-thickness: 2px; }

/* --- Fokus (Tastatur) ---------------------------------------------------- */
:focus-visible { outline: 2px solid var(--wg-tuerkis-tief); outline-offset: 3px; }
.is-style-wg-tuerkis :focus-visible { outline-color: var(--wg-anthrazit); }

/* --- Hilfsklassen -------------------------------------------------------- */
.wg-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.wg-svg { width: 1em; height: 1em; flex: none; }

/* --- Formularfelder (Spec 01/8) ----------------------------------------- */
/* Kadence-Override: Feldhöhe, Rahmenfarbe und Radius kennt der Customizer nicht einzeln. */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="password"], textarea, select {
	min-height: var(--wg-feld-h); width: 100%; padding: 14px; border: 1px solid var(--wg-taupe); border-radius: var(--wg-radius-s); background: var(--wg-weiss); color: var(--wg-anthrazit); font: inherit; font-size: 1.0625rem; line-height: 1.4; box-shadow: none;
}
textarea { min-height: 10rem; resize: vertical; }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
	border-color: var(--wg-tuerkis-tief); box-shadow: inset 0 0 0 1px var(--wg-tuerkis-tief); outline: none; color: var(--wg-anthrazit);
}
input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1px solid var(--wg-taupe); border-radius: var(--wg-radius-s); background: var(--wg-weiss) center / 16px no-repeat; cursor: pointer; }
input[type="checkbox"]:checked { border-color: var(--wg-tuerkis-tief); background-color: var(--wg-tuerkis-tief); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
label { font-size: var(--wg-fs-small); font-weight: 700; color: var(--wg-anthrazit); }
