/* 
 * Custom Design System für diminator.com
 * Dimitri Rauser, Wertherstraße 144, 33615 Bielefeld
 */

:root {
    /* Farbpalette */
    --bg-dark: #070a13;
    --bg-slate: #0f172a;
    --bg-slate-light: #1e293b;
    --text-white: #f8fafc;
    --text-silver: #cbd5e1;
    --text-muted: #64748b;
    
    /* Premium Akzentfarben */
    --primary: #0ea5e9;       /* Electric Cyan */
    --primary-glow: rgba(14, 165, 233, 0.4);
    --secondary: #0d9488;     /* Emerald Teal */
    --accent: #f59e0b;        /* Warm Gold/Amber */
    
    /* Graphen & UI Effekte */
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(14, 165, 233, 0.3);
    
    /* Abstände */
    --nav-height: 80px;
    --container-max: 1200px;
    
    /* Schriftarten */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-scale: 1;
}

/* Reset & Basis-Layouts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-silver);
    font-family: var(--font-body);
    font-size: calc(16px * var(--font-scale, 1));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

a:hover {
    color: var(--text-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: calc(15px * var(--font-scale, 1));
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: calc(13px * var(--font-scale, 1));
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: background 0.3s, height 0.3s;
}

.header.scrolled {
    height: 70px;
    background: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    transition: transform 0.5s ease;
}

.logo-link:hover .nav-logo {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: calc(22px * var(--font-scale, 1));
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.logo-text .accent {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-silver);
    font-weight: 500;
    font-size: calc(15px * var(--font-scale, 1));
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav-cta {
    padding: 8px 20px;
    font-size: calc(14px * var(--font-scale, 1));
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.shape-1 {
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
}

.shape-2 {
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: rgba(13, 148, 136, 0.1);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content,
.hero-visual {
    min-width: 0;
}

.hero-content h1 {
    font-size: calc(clamp(36px, 5vw, 56px) * var(--font-scale, 1));
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: calc(18px * var(--font-scale, 1));
    color: var(--text-silver);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: calc(14px * var(--font-scale, 1));
    color: var(--text-muted);
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

/* Hero Code Window Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    width: 100%;
    max-width: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(14, 165, 233, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.window-title {
    margin-left: auto;
    margin-right: auto;
    font-size: calc(12px * var(--font-scale, 1));
    font-family: var(--font-body);
    color: var(--text-muted);
}

.window-content {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: calc(14px * var(--font-scale, 1));
    line-height: 1.6;
    overflow-x: auto;
}

.code-keyword { color: #f43f5e; }
.code-tag { color: #38bdf8; }
.code-attr { color: #fbbf24; }
.code-val { color: #34d399; }
.code-text { color: var(--text-white); }

.visual-badge {
    position: absolute;
    background: var(--bg-slate);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
    bottom: -20px;
    left: -10px;
}

.speed-badge {
    bottom: auto;
    top: -20px;
    right: -10px;
    left: auto;
    border-color: rgba(13, 148, 136, 0.3);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: calc(24px * var(--font-scale, 1));
    font-weight: 800;
    color: var(--primary);
}

.speed-badge .badge-num {
    color: var(--secondary);
}

.badge-lbl {
    font-size: calc(11px * var(--font-scale, 1));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Sections General Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: calc(12px * var(--font-scale, 1));
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: calc(clamp(28px, 4vw, 40px) * var(--font-scale, 1));
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-silver);
    font-size: calc(16px * var(--font-scale, 1));
}

/* Leistungen / Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(14, 165, 233, 0.08), transparent 40%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.05);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--primary);
    transition: transform 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: white;
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: calc(20px * var(--font-scale, 1));
    margin-bottom: 14px;
    z-index: 2;
}

.service-card p {
    color: var(--text-silver);
    font-size: calc(14px * var(--font-scale, 1));
    line-height: 1.6;
    z-index: 2;
}

/* Portfolio / Projekte */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px;
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(14, 165, 233, 0.12), transparent 45%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-visual-container {
    background-color: rgba(7, 10, 19, 0.6);
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.project-placeholder-svg {
    width: 130px;
    height: 130px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .project-placeholder-svg {
    transform: scale(1.15) rotate(5deg);
}

.portfolio-card:hover .project-custom-image {
    transform: scale(1.06);
}

.project-link-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: calc(12px * var(--font-scale, 1));
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .project-link-badge {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info h3 {
    font-size: calc(22px * var(--font-scale, 1));
    margin-bottom: 12px;
}

.portfolio-info p {
    color: var(--text-silver);
    font-size: calc(14px * var(--font-scale, 1));
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.portfolio-link {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: calc(14px * var(--font-scale, 1));
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-link::after {
    content: '→';
    transition: transform 0.3s;
}

.portfolio-link:hover::after {
    transform: translateX(4px);
}

/* Über Mich */
.ueber-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.ueber-image-wrapper {
    position: relative;
    padding: 12px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 24px;
    margin: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.image-border-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.ueber-img {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    width: 100%;
    display: block;
    filter: grayscale(10%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.ueber-img:hover {
    filter: grayscale(0%);
    transform: scale(1.01);
}

.ueber-experience-card {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 20px 30px;
    border-radius: 16px;
    color: white;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: calc(32px * var(--font-scale, 1));
    font-weight: 800;
}

.exp-text {
    font-size: calc(11px * var(--font-scale, 1));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
}

.ueber-content h2 {
    font-size: calc(36px * var(--font-scale, 1));
    margin-bottom: 24px;
}

.about-p {
    margin-bottom: 30px;
    font-size: calc(16px * var(--font-scale, 1));
    line-height: 1.7;
}

.skills-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-silver);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: calc(13px * var(--font-scale, 1));
    font-weight: 500;
}

.owner-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.info-block strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: calc(16px * var(--font-scale, 1));
}

.info-block span {
    font-size: calc(13px * var(--font-scale, 1));
    color: var(--text-muted);
}

/* Kontakt */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-details-list {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-text strong {
    display: block;
    color: var(--text-white);
    font-size: calc(13px * var(--font-scale, 1));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-text a, .detail-text span {
    font-size: calc(16px * var(--font-scale, 1));
    color: var(--text-silver);
}

.seo-badge-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.seo-badge-box strong {
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.seo-badge-box p {
    font-size: calc(13px * var(--font-scale, 1));
    color: var(--text-silver);
    margin: 0;
    line-height: 1.5;
}

.kontakt-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.kontakt-form-wrapper h3 {
    font-size: calc(24px * var(--font-scale, 1));
    margin-bottom: 24px;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-input-group label {
    font-size: calc(13px * var(--font-scale, 1));
    font-weight: 600;
    color: var(--text-silver);
}

.form-input-group input[type="text"],
.form-input-group input[type="email"],
.form-input-group textarea {
    padding: 14px;
    border-radius: 8px;
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: calc(15px * var(--font-scale, 1));
    transition: all 0.3s;
}

.form-input-group input:focus,
.form-input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Toast Alerts */
.toast {
    padding: 16px;
    border-radius: 8px;
    font-size: calc(14px * var(--font-scale, 1));
    margin-bottom: 20px;
    line-height: 1.5;
}

.success-toast {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #a7f3d0;
}

.error-toast {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

/* Footer */
.footer {
    background: #04060b;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: calc(14px * var(--font-scale, 1));
    margin-top: 15px;
    max-width: 320px;
}

.footer h4 {
    font-size: calc(16px * var(--font-scale, 1));
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer a {
    color: var(--text-silver);
    font-size: calc(14px * var(--font-scale, 1));
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: calc(13px * var(--font-scale, 1));
    margin: 0;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 10, 19, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-slate);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    padding: 40px;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-white);
    font-size: calc(24px * var(--font-scale, 1));
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.modal h2 {
    font-size: calc(28px * var(--font-scale, 1));
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-text {
    overflow-y: auto;
    padding-right: 10px;
    font-size: calc(14px * var(--font-scale, 1));
    color: var(--text-silver);
}

.modal-text h3 {
    font-size: calc(16px * var(--font-scale, 1));
    margin: 20px 0 10px 0;
}

.modal-text h4 {
    font-size: calc(14px * var(--font-scale, 1));
    margin: 15px 0 8px 0;
}

.modal-text p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Custom Scrollbar für Modals */
.modal-text::-webkit-scrollbar {
    width: 6px;
}

.modal-text::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}

.modal-text::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

/* Animations Reveal (CSS Observer) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content h1,
    .hero-content .hero-desc,
    .hero-content .hero-actions,
    .hero-content .hero-trust {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .ueber-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ueber-image-wrapper {
        max-width: 480px;
        margin: 15px auto;
    }
    
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    /* Responsive Heading Sizing to prevent text cut-offs */
    h1, .hero-content h1, .post-header h1 {
        font-size: calc(clamp(26px, 7vw, 38px) * var(--font-scale, 1)) !important;
    }
    h2, .ueber-content h2, .section-header h2 {
        font-size: calc(clamp(22px, 6vw, 30px) * var(--font-scale, 1)) !important;
    }
    h3, .service-card h3, .portfolio-info h3, .blog-info h3, .kontakt-form-wrapper h3 {
        font-size: calc(clamp(18px, 5vw, 22px) * var(--font-scale, 1)) !important;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 101;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #080c16;
        border-left: 1px solid var(--glass-border);
        padding: 80px 40px 40px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: calc(18px * var(--font-scale, 1));
        display: block;
    }
    
    .nav-actions .btn-nav-cta {
        display: none;
    }
    
    /* Hamburger Menu Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .kontakt-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 30px;
        align-items: center;
    }
    
    .code-window {
        transform: none !important;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .hero-badges-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
        margin-top: 15px;
    }
    
    .visual-badge {
        position: static !important;
        margin: 0 !important;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .owner-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ueber-experience-card {
        right: 10px !important;
        bottom: 10px !important;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    @media (max-width: 360px) {
        .logo-text {
            font-size: calc(18px * var(--font-scale, 1)) !important;
        }
        .nav-container {
            padding: 0 12px !important;
        }
    }
}

/* ==========================================================================
   BLOG / MAGAZIN STYLES
   ========================================================================== */

/* Kategorie Tabs */
.category-tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-tab {
    display: inline-block;
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-silver);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: calc(14px * var(--font-scale, 1));
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-1px);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Blog Grid & Karten */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.blog-card-link:hover {
    color: inherit;
}

.blog-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #070a13;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    font-size: calc(11px * var(--font-scale, 1));
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    z-index: 5;
}

.blog-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: calc(12px * var(--font-scale, 1));
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-info h3 {
    font-size: calc(20px * var(--font-scale, 1));
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-white);
}

/* Maximale 3 Zeilen Einschränkung */
.blog-excerpt {
    font-size: calc(14px * var(--font-scale, 1));
    color: var(--text-silver);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 4.8em; /* 3 lines * 1.6 line-height */
}

.blog-readmore {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: calc(13px * var(--font-scale, 1));
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Keine Beiträge Platzhalter */
.no-posts-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.no-posts-box h3 {
    font-size: calc(22px * var(--font-scale, 1));
    margin-bottom: 10px;
}

.no-posts-box p {
    color: var(--text-muted);
    font-size: calc(14px * var(--font-scale, 1));
    line-height: 1.6;
}

/* ==========================================================================
   BLOG DETAILS (post.php)
   ========================================================================== */
.post-layout {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.post-date-text {
    font-size: calc(13px * var(--font-scale, 1));
    color: var(--text-muted);
    font-weight: 600;
}

.post-header h1 {
    font-size: calc(clamp(32px, 5vw, 48px) * var(--font-scale, 1));
    margin-bottom: 20px;
    line-height: 1.15;
}

.post-lead-excerpt {
    font-size: calc(18px * var(--font-scale, 1));
    color: var(--text-silver);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.post-image-banner {
    width: 100%;
    max-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.post-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WYSIWYG Inhalt Styling */
.post-body {
    font-size: calc(17px * var(--font-scale, 1));
    line-height: 1.8;
    color: var(--text-silver);
}

.post-body p {
    margin-bottom: 25px;
}

.post-body h2 {
    font-size: calc(28px * var(--font-scale, 1));
    margin: 45px 0 20px 0;
    color: var(--text-white);
}

.post-body h3 {
    font-size: calc(22px * var(--font-scale, 1));
    margin: 35px 0 15px 0;
    color: var(--text-white);
}

.post-body h4 {
    font-size: calc(18px * var(--font-scale, 1));
    margin: 25px 0 10px 0;
    color: var(--text-white);
}

.post-body a {
    color: var(--primary);
    text-decoration: underline;
}

.post-body a:hover {
    color: var(--text-white);
}

.post-body strong, .post-body b {
    color: var(--text-white);
    font-weight: 600;
}

.post-body ul, .post-body ol {
    margin: 0 0 25px 30px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(14, 165, 233, 0.05);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-white);
}

.post-body blockquote p {
    margin-bottom: 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
}

.post-body pre, .post-body code {
    font-family: 'Courier New', Courier, monospace;
    background: #04060b;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: calc(14px * var(--font-scale, 1));
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.05);
}

.post-body pre {
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.post-body pre code {
    background: transparent;
    border: none;
    padding: 0;
    font-size: calc(inherit * var(--font-scale, 1));
    color: inherit;
}

.post-footer-actions {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Portfolio Carousel & Slider (Responsive Layouts & 3D Tilt)
   ========================================================================== */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.portfolio-carousel-track-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 10px 40px 10px; /* Abstände für 3D-Kippschatten */
}

/* Standard Flex-Track, wenn Slider aktiv */
.portfolio-grid.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
    touch-action: pan-y;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Übergangsstile der Slides */
.portfolio-card.carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, box-shadow 0.3s;
}

/* Slider-Spaltenbreite nach Breakpoints */
@media (min-width: 768px) {
    .portfolio-card.carousel-slide.slider-active {
        flex: 0 0 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (min-width: 992px) {
    .portfolio-card.carousel-slide.slider-active {
        flex: 0 0 calc((100% - 60px) / 3);
        max-width: calc((100% - 60px) / 3);
    }
}

/* Navigations-Pfeile */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-white);
    transition: transform 0.3s, stroke 0.3s;
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.carousel-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.carousel-nav:hover svg {
    stroke: white;
}

.carousel-nav.prev:hover svg {
    transform: translateX(-2px);
}

.carousel-nav.next:hover svg {
    transform: translateX(2px);
}

/* Verstecken, falls deaktiviert */
.carousel-nav.disabled {
    opacity: 0;
    pointer-events: none;
}

/* Navigations-Punkte */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Fallback zu CSS-Grid, wenn Slider nicht gebraucht wird */
.portfolio-carousel-wrapper.no-slider .carousel-nav {
    display: none !important;
}

.portfolio-carousel-wrapper.no-slider .carousel-dots {
    display: none !important;
}

.portfolio-carousel-wrapper.no-slider .portfolio-grid.carousel-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    transform: none !important;
}

@media (max-width: 1024px) {
    .carousel-nav.prev {
        left: -15px;
    }
    .carousel-nav.next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        display: none !important; /* Auf Handys reichen Touch-Gesten */
    }
}

/* ==========================================================================
   BARRIEREFREIHEIT (ACCESSIBILITY WIDGET) STYLES
   ========================================================================== */

/* Body Modifiers */
body.accessibility-text-lg {
    --font-scale: 1.2 !important;
}
body.accessibility-text-xl {
    --font-scale: 1.4 !important;
}
body.accessibility-grayscale {
    filter: grayscale(100%) !important;
}

/* Hoher Kontrast Mode */
body.accessibility-contrast {
    --bg-dark: #000000 !important;
    --bg-slate: #000000 !important;
    --bg-slate-light: #111111 !important;
    --text-white: #ffffff !important;
    --text-silver: #ffffff !important;
    --text-muted: #f1f5f9 !important;
    --primary: #00ffff !important; /* Neon Cyan */
    --primary-glow: rgba(0, 255, 255, 0.4) !important;
    --secondary: #ffff00 !important; /* Yellow */
    --accent: #ffff00 !important;
    --glass-bg: rgba(0, 0, 0, 0.95) !important;
    --glass-border: #ffffff !important;
    --glass-border-hover: #00ffff !important;
}

body.accessibility-contrast .service-card,
body.accessibility-contrast .portfolio-card,
body.accessibility-contrast .blog-card,
body.accessibility-contrast .kontakt-form-wrapper,
body.accessibility-contrast .modal-content,
body.accessibility-contrast .code-window,
body.accessibility-contrast .seo-badge-box,
body.accessibility-contrast .header,
body.accessibility-contrast .footer,
body.accessibility-contrast .toast {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

body.accessibility-contrast .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}
body.accessibility-contrast .btn-secondary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}
body.accessibility-contrast .btn-primary:hover,
body.accessibility-contrast .btn-secondary:hover {
    background: #00ffff !important;
    color: #000000 !important;
    border-color: #00ffff !important;
}

body.accessibility-contrast .nav-menu a::after {
    background: #00ffff !important;
}

body.accessibility-contrast .skill-tag, 
body.accessibility-contrast .category-tab,
body.accessibility-contrast .badge {
    background: #000000 !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

body.accessibility-contrast .category-tab.active {
    background: #00ffff !important;
    color: #000000 !important;
    border-color: #00ffff !important;
}

/* Floating Toggle Button */
.accessibility-toggle-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessibility-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
    color: var(--text-white);
}

.accessibility-toggle-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Floating Accessibility Panel */
.accessibility-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.1);
    z-index: 999;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accessibility-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.accessibility-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.accessibility-panel-header h3 {
    font-size: calc(16px * var(--font-scale, 1));
    font-family: var(--font-heading);
    color: var(--text-white);
    margin: 0;
}

.accessibility-panel-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: calc(20px * var(--font-scale, 1));
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.accessibility-panel-close:hover {
    color: var(--text-white);
}

.accessibility-control-group {
    margin-bottom: 20px;
}

.accessibility-control-label {
    display: block;
    font-size: calc(13px * var(--font-scale, 1));
    font-weight: 600;
    color: var(--text-silver);
    margin-bottom: 8px;
}

.accessibility-options-row {
    display: flex;
    gap: 8px;
}

.accessibility-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-silver);
    font-size: calc(12px * var(--font-scale, 1));
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.accessibility-btn:hover {
    border-color: var(--primary);
    color: var(--text-white);
}

.accessibility-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.accessibility-reset-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: calc(12px * var(--font-scale, 1));
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: 10px;
}

.accessibility-reset-btn:hover {
    border-color: var(--primary);
    color: var(--text-white);
    background: rgba(14, 165, 233, 0.05);
}

/* ==========================================================================
   COOKIE CONSENT BANNER STYLES
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.1);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner-title {
    font-size: calc(16px * var(--font-scale, 1));
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-banner-text {
    font-size: calc(13px * var(--font-scale, 1));
    color: var(--text-silver);
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--text-white);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
}

.cookie-banner-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: calc(13px * var(--font-scale, 1));
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.cookie-banner-btn-accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.cookie-banner-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px var(--primary-glow);
}

.cookie-banner-btn-decline {
    background: transparent;
    color: var(--text-silver);
    border: 1px solid var(--glass-border);
}

.cookie-banner-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--text-white);
}

/* Adjustments for Mobile Views */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 20px;
        transform: translateY(100%);
    }
    
    .accessibility-toggle-btn {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .accessibility-panel {
        bottom: 70px;
        left: 15px;
        right: 15px;
        width: auto;
    }
}


