/* ==========================================================================
   base.css — Design Tokens, Reset, Typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Color — Dark Tier */
	--color-void:        #0D1B35;
	--color-navy:        #233959;
	--color-navy-mid:    #2a4568;
	--color-navy-light:  #2A4A7F;
	--color-navy-muted:  #1a3055;

	/* Color — Light Tier */
	--color-canvas:      #F5F3EE;
	--color-surface:     #FFFFFF;
	--color-surface-alt: #EDE9E2;

	/* Color — Text */
	--color-text-dark:   #12213A;
	--color-text-muted:  #5A6880;
	--color-text-light:  #F0EDE6;
	--color-text-dim:    rgba(240, 237, 230, 0.6);

	/* Color — Accent (use sparingly) */
	--color-cyan:        #43beef;
	--color-cyan-soft:   #D4F3F8;
	--color-cyan-dark:   #2A9ECC;

	/* Color — Border */
	--color-border:      #E2DDD4;
	--color-border-dark: rgba(240, 237, 230, 0.12);

	/* Color — Feedback */
	--color-success:     #3DAA6A;
	--color-error:       #D94F4F;

	/* Typography */
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body:    'DM Sans', system-ui, sans-serif;

	/* Type Scale */
	--text-xs:   0.75rem;
	--text-sm:   0.875rem;
	--text-base: 1rem;
	--text-lg:   1.125rem;
	--text-xl:   1.5rem;
	--text-2xl:  2rem;
	--text-3xl:  2.75rem;
	--text-4xl:  4rem;
	--text-5xl:  5.5rem;

	/* Line Heights */
	--leading-tight:  1.15;
	--leading-snug:   1.35;
	--leading-normal: 1.6;
	--leading-relaxed: 1.75;

	/* Spacing */
	--space-1:  0.25rem;
	--space-2:  0.5rem;
	--space-3:  0.75rem;
	--space-4:  1rem;
	--space-5:  1.25rem;
	--space-6:  1.5rem;
	--space-8:  2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-20: 5rem;
	--space-24: 6rem;
	--space-32: 8rem;

	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	/* Shadows */
	--shadow-sm:  0 1px 3px rgba(30, 54, 97, 0.06);
	--shadow-md:  0 4px 16px rgba(30, 54, 97, 0.10);
	--shadow-lg:  0 8px 32px rgba(30, 54, 97, 0.14);
	--shadow-xl:  0 16px 48px rgba(30, 54, 97, 0.18);

	/* Transitions */
	--ease:       cubic-bezier(0.4, 0, 0.2, 1);
	--ease-out:   cubic-bezier(0, 0, 0.2, 1);
	--duration-fast:   150ms;
	--duration-base:   250ms;
	--duration-slow:   400ms;

	/* Z-Index Scale */
	--z-base:     10;
	--z-dropdown: 20;
	--z-sticky:   30;
	--z-overlay:  40;
	--z-modal:    50;

	/* Layout */
	--container-max: 1280px;
	--container-pad: var(--space-8);

	/* WooCommerce — Standard-Lila (#720eec) durch Theme-Navy ersetzen */
	--wc-primary:      #233959;
	--wc-primary-text: #F0EDE6;
	--woocommerce:     #233959;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: var(--color-text-dark);
	background-color: var(--color-canvas);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

ul,
ol {
	list-style: none;
}

input,
textarea,
select {
	font-family: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: var(--leading-tight);
	color: var(--color-text-dark);
}

h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
	line-height: var(--leading-relaxed);
	max-width: 68ch;
}

p + p {
	margin-top: var(--space-4);
}

strong {
	font-weight: 500;
}

/* Lead-Paragraph */
.lead {
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--color-text-muted);
}

/* Label / Overline */
.overline {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   Focus Styles (Accessibility)
   -------------------------------------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--color-cyan);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Screen Reader Only
   -------------------------------------------------------------------------- */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* --------------------------------------------------------------------------
   Germanized: Footer Legal Guarantee Bar verstecken (Link ist im Footer-Menü)
   -------------------------------------------------------------------------- */

.wc-gzd-legal-guarantee-footer {
	display: none !important;
}
