/*
 Theme Name: Werkstatt
 Description:  David Braun Gestalter HfG - Child theme mit Typography, ColorDots, und OKLCH
 Author:       Dave Braun
 Author URI:   https://davidbraun.ch
 Template:     abisko
 Version:      1.6.0
 Text Domain:  werkstatt
 Requires PHP: 7.4
 Build:        CSV Import + Single Pages
 Updated:      2026-04-03
*/

/* ========================================
   CSS-Dateien werden via functions.php geladen:
   - shimmer.css
   - navigation.css
   - links.css
   - oklch-overrides.css (zuletzt)
   ======================================== */

/* ========================================
   TYPOGRAPHY
   ======================================== */
/* typography.css archiviert - siehe §CF/ARCHIV-typography.css */

/* Prevent faux-bold and faux-italic globally */
* {
  font-synthesis: none;
}

/* Fallback fonts */
body {
  font-family: "Uni Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
}

/* Post titles bold on index/archive pages */
.wp-block-post-title,
.wp-block-post-title a {
  font-weight: 700;
}

/* Version checker for DevTools */

/* body::before {
  content: "Werkstatt v1.0.7 | 2026-02-18 | Enqueue statt Import";
  position: fixed;
  bottom: 0;
  right: 0;
  background: rgba(0, 200, 0, 0.9);
  color: white;
  padding: 5px 10px;
  font-size: 11px;
  font-family: monospace;
  z-index: 99999;
  pointer-events: none;
  border-top-left-radius: 3px;
} */

/* ========================================
   BUTTON: RUND (is-style-round)
   Registriert via register_block_style() in functions.php.
   Selector-Spezifität (0,3,0) überschreibt Abiskos theme.json-CSS
   ohne !important.
   ======================================== */

/* Farbrollen — vorerst Standard foreground/background,
   später per CPT Color oder Kontext-CSS befüllbar. */
:root {
  --btn-round-bg: var(--wp--preset--color--foreground); /* Hintergrund normal */
  --btn-round-text: var(--wp--preset--color--background); /* Text normal */
  --btn-round-border: var(--wp--preset--color--foreground); /* Rand normal */
  --btn-round-bg-hover: var(
    --wp--preset--color--background
  ); /* Hintergrund :hover */
  --btn-round-text-hover: var(
    --wp--preset--color--foreground
  ); /* Text :hover */
  --btn-round-border-hover: var(
    --wp--preset--color--foreground
  ); /* Rand :hover */
}

.wp-block-button.is-style-round .wp-block-button__link {
  border-radius: 9999px; /* Pill-Form */
  background-color: var(--btn-round-bg);
  color: var(--btn-round-text);
  border: 1px solid var(--btn-round-border);
  text-decoration: none;
}

.wp-block-button.is-style-round .wp-block-button__link:hover {
  background-color: var(--btn-round-bg-hover);
  color: var(--btn-round-text-hover);
  border-color: var(--btn-round-border-hover);
  text-decoration: none;
}
