/* Kirschhock · verbindliche CSS-Quelle für Website und Branding-Kit. */
:root {
  color-scheme: light;
  --brand-cherry: #B70E3A;
  --brand-ink: #121417;
  --brand-cream: #F7F2EB;
  --brand-rose: #E8C6CC;
  --surface-page: var(--brand-cream);
  --surface-footer-transition: var(--surface-page);
  --surface-card: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #EDE6DF;
  --surface-fill: #EDE6DF;
  --surface-fill-hover: #DED5CE;
  --surface-inverse: var(--brand-ink);
  --surface-brand: var(--brand-cherry);
  --surface-brand-soft: #F0DCE0;
  --surface-accent-soft: #F0DCE0;
  --text-strong: var(--brand-ink);
  --text-body: var(--brand-ink);
  --text-muted: #60575B;
  --text-on-brand: #FFFFFF;
  --text-on-dark: var(--brand-cream);
  --text-link: var(--brand-cherry);
  --text-brand: var(--brand-cherry);
  --text-accent: var(--brand-cherry);
  --action: var(--brand-cherry);
  --action-hover: #95082E;
  --border-subtle: transparent;
  --border-default: #81757A;
  --border-strong: #60575B;
  --border-brand: var(--brand-cherry);
  --focus: var(--brand-cherry);
  --success: #256044;
  --success-soft: #DFEEE4;
  --warning: #74440B;
  --warning-soft: #F6E7D5;
  --danger: #A50E35;
  --danger-soft: #F5DEE4;
  --info: #3D5064;
  --info-soft: #E4EBF0;
  --font-brand: var(--font-montserrat, Montserrat), Arial, sans-serif;
  --font-display: var(--font-brand);
  --font-body: var(--font-brand);
  --space-0: 0; --space-1: 4px; --space-2: 8px; --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --space-24: 96px; --space-32: 128px;
  --gutter: clamp(24px, 4.5vw, 72px);
  --header-height: 104px;
  --theme-sun-display: none; --theme-moon-display: inline;
  --section-space: clamp(72px, 9vw, 144px);
  --container-sm: 640px; --container-md: 840px; --container-lg: 1120px; --container-xl: 1440px;
  /* CSS-Mediaqueries nutzen die dokumentierten Schwellen 640 / 900 / 1200px. */
  --breakpoint-sm: 640px; --breakpoint-md: 900px; --breakpoint-lg: 1200px;
  --radius-xs: 0; --radius-sm: 2px; --radius-md: 16px; --radius-lg: 24px;
  --radius-xl: 32px; --radius-2xl: 40px; --radius-pill: 999px;
  /* Board-derived proposal: diagonally opposed curves, other corners stay straight. */
  --shape-curve: clamp(32px, 4.5vw, 64px);
  --shape-curve-media: clamp(48px, 6vw, 88px);
  --shape-panel: var(--shape-curve) 0 var(--shape-curve) 0;
  --shape-media: var(--shape-curve-media) 0 var(--shape-curve-media) 0;
  --shape-action: 12px 0 12px 0;
  --shape-field: 2px;
  --shape-row: 0;
  --shape-menu: 0 0 var(--shape-curve) 0;
  --shadow-xs: none; --shadow-sm: none; --shadow-md: none; --shadow-lg: none; --shadow-brand: none;
  --shadow-menu: 0 16px 40px #1c1d2120;
  --shadow-focus: 0 0 0 3px var(--focus);
  --ease-out: cubic-bezier(.2,.7,.2,1); --ease-in-out: cubic-bezier(.5,0,.2,1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 500ms;
  --z-sticky: 100; --z-overlay: 200; --z-modal: 300;
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
  --text-xs: 14px; --text-sm: 16px; --text-base: 17px; --text-md: 18px; --text-lg: 22px;
  --text-xl: 28px; --text-2xl: clamp(28px, 3.5vw, 48px); --text-3xl: clamp(32px, 4.5vw, 60px);
  --text-4xl: clamp(36px, 5.5vw, 72px); --text-5xl: clamp(40px, 6vw, 80px);
  --text-hero: clamp(40px, 8.9vw, 126px);
  --leading-tight: 1.12; --leading-snug: 1.25; --leading-normal: 1.6; --leading-relaxed: 1.7;
  --tracking-tight: -.035em; --tracking-normal: 0;
}
:root[data-theme="dark"],
:root:not([data-theme]) {
  color-scheme: dark;
  --theme-sun-display: inline; --theme-moon-display: none;
  --surface-page: #121417; --surface-card: #27282E; --surface-raised: #303138;
  --surface-sunken: #24252B; --surface-fill: #33343C; --surface-fill-hover: #41424C;
  --surface-footer-transition: var(--surface-raised);
  --surface-inverse: #141519; --surface-brand-soft: #462631; --surface-accent-soft: #462631;
  --text-strong: #F7F2EB; --text-body: #F7F2EB; --text-muted: #CBBEC2;
  --text-link: #E8C6CC; --text-brand: #E8C6CC; --text-accent: #E8C6CC;
  --action: #E8C6CC; --action-hover: #F4DCE1; --text-on-brand: #121417;
  --border-default: #AA959D; --border-strong: #CBBEC2; --focus: #E8C6CC;
  --success: #A5DDB8; --success-soft: #203B2D;
  --warning: #F5D5A9; --warning-soft: #423222;
  --danger: #F3ADBF; --danger-soft: #48232E; --info: #B9D6EF; --info-soft: #263746;
}

@media (max-width: 900px) { :root { --header-height: 92px; } }
@media (max-width: 640px) { :root { --header-height: 88px; } }
