/**
 * Tierliebe Core Styles
 * Module: Variables, Reset, Base Styles, Emoji, Decorations
 * Version: 6.0.0 - Modular Architecture
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Pastel Palette - Flat Colors */
    --pastel-mint    : #B8E6D5;
    --pastel-pink    : #FFD6E8;
    --pastel-peach   : #FFE5D0;
    --pastel-lavender: #E0D4F7;
    --pastel-blue    : #C7E7F5;
    --pastel-cream   : #FFF8E7;
    --pastel-sage    : #D4E5D4;
    --pastel-coral   : #FFB5B5;

    /* Cute Accents */
    --cute-coral : #FF9A9E;
    --cute-mint  : #A0E7E5;
    --cute-butter: #FFF4A3;
    --cute-lilac : #D5B9F5;
    --cute-sky   : #A8DAFF;

    /* Text */
    --text-dark  : #5A4A42;
    --text-medium: #8B7E74;
    --text-light : #8B8178;  /* Kontrast 4.6:1 auf bg-cream (WCAG AA) */

    /* Backgrounds */
    --bg-cream: #FFFBF5;
    --bg-white: #FFFFFF;

    /* Shadows - Soft & Layered */
    --shadow-sm: 0 2px 8px rgba(90, 74, 66, 0.08);
    --shadow-md: 0 4px 16px rgba(90, 74, 66, 0.1);
    --shadow-lg: 0 8px 24px rgba(90, 74, 66, 0.12);
    --shadow-xl: 0 12px 40px rgba(90, 74, 66, 0.15);

    /* 3D Button Effect */
    --shadow-3d: 0 6px 0 0 #FF7B7F;
    --shadow-3d-pressed: 0 2px 0 0 #FF7B7F;

    /* Spacing Scale (8px Base) */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 25px;
    --radius-xl: 30px;
    --radius-2xl: 35px;
    --radius-pill: 999px;

    /* Typography */
    --font-body: 'Quicksand', sans-serif;
    --font-heading: 'Fredoka', sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Focus States */
    --focus-color: var(--cute-coral);
    --focus-width: 3px;
    --focus-offset: 2px;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin    : 0;
    padding   : 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family  : 'Quicksand', sans-serif;
    background   : var(--bg-cream);
    color        : var(--text-dark);
    line-height  : 1.8;
    overflow-x   : hidden;
    font-size    : 16px;
    word-break   : normal;
    overflow-wrap: normal;
    hyphens      : none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family  : 'Fredoka', sans-serif;
    color        : var(--text-dark);
    font-weight  : 600;
    word-break   : keep-all;
    overflow-wrap: normal;
}

h1 {
    font-size    : 2.5rem;
    line-height  : 1.4;
    margin-bottom: 1.5rem;
}

h2 {
    font-size  : 2rem;
    text-align : center;
    line-height  : 1.4;
    margin-bottom: 1.25rem;
}

h3 {
    font-size    : 1.5rem;
    line-height  : 1.5;
    margin-bottom: 1rem;
}

h4 {
    font-size    : 1.25rem;
    line-height  : 1.5;
    margin-bottom: 0.75rem;
}

/* ============================================
   LINKS & FOCUS STATES
   ============================================ */

/* Links die Container/Cards/Panels/Navigation sind - kein underline */
a[class*="-card"],
a[class*="-panel"],
a.card,
a.panel,
.nav-links a,
.header a,
nav a,
.uk-nav a {
    text-decoration: none !important;
}

a[class*="-card"] *,
a[class*="-panel"] *,
a.card *,
a.panel *,
.nav-links a *,
.header a *,
nav a *,
.uk-nav a * {
    text-decoration: none !important;
}

/* Normale Text-Links - mit underline */
a:not(.uk-button):not(.btn):not([class*="button"]):not(.nav-link):not(.logo):not([class*="-card"]):not([class*="-panel"]):not(.card):not(.panel) {
    color          : inherit !important;
    text-decoration: underline;
    transition     : all 0.3s ease;
}

a:not(.uk-button):not(.btn):not([class*="button"]):not(.nav-link):not(.logo):not([class*="-card"]):not([class*="-panel"]):not(.card):not(.panel):hover {
    color          : inherit !important;
    opacity        : 0.7;
    text-decoration: underline;
}

a:not(.uk-button):not(.btn):not([class*="button"]):not(.nav-link):not(.logo):not([class*="-card"]):not([class*="-panel"]):not(.card):not(.panel):active {
    opacity: 0.5;
}

/* Universal Focus States - Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline       : var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* Focus-visible für Keyboard-only (bessere UX) */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline       : var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================
   EMOJI & ICON STANDARDIZATION
   ============================================ */
.emoji {
    font-style    : normal;
    font-weight   : normal;
    line-height   : 1;
    display       : inline-block;
    vertical-align: middle;
}

.emoji-sm {
    font-size: 1.2rem;
}

.emoji-md {
    font-size: 1.8rem;
}

.emoji-lg {
    font-size: 2.5rem;
}

.emoji-xl {
    font-size: 3.5rem;
}

/* ============================================
   DECORATIVE FLOATING ELEMENTS
   ============================================ */
.float-decoration {
    position      : fixed;
    pointer-events: none;
    z-index       : 0;
    opacity       : 0.05;
    animation     : gentle-float 20s ease-in-out infinite;
}

.float-decoration:nth-child(1) {
    top            : 10%;
    left           : 5%;
    animation-delay: 0s;
}

.float-decoration:nth-child(2) {
    top            : 30%;
    right          : 10%;
    animation-delay: 3s;
}

.float-decoration:nth-child(3) {
    bottom         : 20%;
    left           : 15%;
    animation-delay: 6s;
}

.float-decoration:nth-child(4) {
    bottom         : 40%;
    right          : 5%;
    animation-delay: 9s;
}

@keyframes gentle-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(3deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* ============================================
   ORGANIC BLOB SHAPES
   ============================================ */
.blob {
    position      : absolute;
    border-radius : 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity       : 0.15;
    pointer-events: none;
    filter        : blur(40px);
}

