/* ═══════════════════════════════════════════════════════════════════
   remAIke.IT — CORPORATE DESIGN SYSTEM
   Version: 1.0 (2026-02-10)
   ─────────────────────────────────────────
   Dieses Stylesheet definiert die einheitliche visuelle Identität
   für ALLE Seiten von remaike.it:
     • Farbpalette (Orange / Hellgrau / Warm)
     • Typografie (Cinzel + Manrope)
     • Logo-Lockup
     • Header / Navigation
     • Buttons, Cards, Forms
     • Retro-Filmband-Effekt
     • Footer
   ═══════════════════════════════════════════════════════════════════ */

/* ═══ DESIGN TOKENS ═══ */
:root {
    /* Primary Orange Palette */
    --cd-orange: #e7872f;
    --cd-orange-light: #ff9a5c;
    --cd-orange-dark: #c5691a;
    --cd-orange-glow: rgba(231, 135, 47, 0.18);
    --cd-orange-subtle: rgba(231, 135, 47, 0.08);

    /* Backgrounds — Warm Light */
    --cd-bg: #faf8f5;
    --cd-bg-warm: #fff7f0;
    --cd-bg-surface: #ffffff;
    --cd-bg-white: #ffffff;
    --cd-bg-elevated: rgba(255, 255, 255, 0.95);

    /* Text */
    --cd-text: #1a1a1f;
    --cd-text-secondary: #4a4a55;
    --cd-text-muted: #7a7a88;
    --cd-text-on-orange: #ffffff;

    /* Borders — Orange tinted */
    --cd-border: rgba(231, 135, 47, 0.12);
    --cd-border-light: rgba(0, 0, 0, 0.06);
    --cd-border-hover: rgba(231, 135, 47, 0.4);

    /* Status */
    --cd-success: #16a34a;
    --cd-warning: #f59e0b;
    --cd-error: #ef4444;
    --cd-info: #3b82f6;

    /* Spacing & Radius */
    --cd-radius-sm: 8px;
    --cd-radius: 12px;
    --cd-radius-lg: 16px;
    --cd-radius-xl: 20px;
    --cd-radius-pill: 999px;

    /* Shadows — Orange tinted */
    --cd-shadow-sm: 0 1px 3px rgba(231, 135, 47, 0.06);
    --cd-shadow: 0 4px 16px rgba(231, 135, 47, 0.08);
    --cd-shadow-lg: 0 12px 40px rgba(231, 135, 47, 0.12);
    --cd-shadow-orange: 0 4px 20px rgba(231, 135, 47, 0.2);

    /* Transitions */
    --cd-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --cd-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ BASE RESET ═══ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cd-bg);
    color: var(--cd-text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ═══ RETRO FILM BAND EFFECT ═══ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.3) 0px,
            rgba(255, 255, 255, 0.3) 3px,
            rgba(196, 203, 214, 0.12) 3px,
            rgba(196, 203, 214, 0.12) 8px
        );
    animation: cd-filmBands 12s linear infinite;
    mix-blend-mode: soft-light;
}

@keyframes cd-filmBands {
    from { transform: translateY(0); }
    to   { transform: translateY(24px); }
}

/* Warm ambient gradient background */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 8%, rgba(231, 135, 47, 0.14), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(255, 154, 92, 0.12), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(231, 135, 47, 0.06), transparent 40%);
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    color: var(--cd-text);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

.cd-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cd-orange);
    display: inline-block;
    margin-bottom: 8px;
}

.cd-bodytext {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cd-text-secondary);
    max-width: 640px;
}

/* ═══ LOGO LOCKUP ═══ */
.cd-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity var(--cd-transition);
}

.cd-logo:hover {
    opacity: 0.88;
}

.cd-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(231, 135, 47, 0.25);
}

.cd-logo-wordmark {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}

.cd-logo-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cd-text);
}

.cd-logo-title span {
    color: var(--cd-orange);
}

.cd-logo-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cd-text-muted);
}

/* ═══ HEADER / NAVIGATION ═══ */
.cd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 40px);
    background: var(--cd-bg-elevated);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--cd-border-light);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--cd-transition);
}

.cd-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cd-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cd-nav-link {
    color: var(--cd-text-secondary);
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--cd-radius-sm);
    transition: color var(--cd-transition), background var(--cd-transition);
    white-space: nowrap;
}

.cd-nav-link:hover {
    color: var(--cd-text);
    background: rgba(0, 0, 0, 0.04);
}

.cd-nav-link.active {
    color: var(--cd-orange);
    font-weight: 600;
}

.cd-nav-sep {
    width: 1px;
    height: 16px;
    background: var(--cd-border-light);
    margin: 0 6px;
}

/* ═══ BUTTONS ═══ */
.cd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--cd-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--cd-transition);
    white-space: nowrap;
    text-decoration: none;
}

.cd-btn-primary {
    background: linear-gradient(135deg, var(--cd-orange), var(--cd-orange-light));
    color: var(--cd-text-on-orange);
    box-shadow: var(--cd-shadow-orange);
}

.cd-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(231, 135, 47, 0.3);
}

.cd-btn-secondary {
    background: var(--cd-bg-white);
    color: var(--cd-text);
    border: 1px solid var(--cd-border);
}

.cd-btn-secondary:hover {
    border-color: var(--cd-orange);
    color: var(--cd-orange);
}

.cd-btn-ghost {
    background: transparent;
    color: var(--cd-text-secondary);
    border: 1px solid var(--cd-border-light);
}

.cd-btn-ghost:hover {
    border-color: var(--cd-border-hover);
    color: var(--cd-text);
}

.cd-btn-sm {
    font-size: 0.8rem;
    padding: 6px 16px;
}

.cd-btn-lg {
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--cd-radius);
}

/* ═══ CARDS ═══ */
.cd-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    padding: 24px;
    box-shadow: var(--cd-shadow);
    position: relative;
    overflow: hidden;
    transition: transform var(--cd-transition), box-shadow var(--cd-transition);
}

.cd-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--cd-shadow-lg);
}

/* Subtle orange glow border on hover */
.cd-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(231, 135, 47, 0.2), transparent 40%, rgba(255, 154, 92, 0.15));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
    opacity: 0;
    transition: opacity var(--cd-transition);
}

.cd-card:hover::before {
    opacity: 1;
}

/* ═══ FORMS ═══ */
.cd-input,
.cd-select,
.cd-textarea {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    padding: 10px 14px;
    background: var(--cd-bg-white);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
    color: var(--cd-text);
    transition: border-color var(--cd-transition), box-shadow var(--cd-transition);
    width: 100%;
}

.cd-input:focus,
.cd-select:focus,
.cd-textarea:focus {
    outline: none;
    border-color: var(--cd-orange);
    box-shadow: 0 0 0 3px var(--cd-orange-subtle);
}

.cd-input::placeholder {
    color: var(--cd-text-muted);
}

.cd-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cd-text);
    margin-bottom: 6px;
}

/* ═══ BADGES ═══ */
.cd-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--cd-radius-pill);
    border: 1px solid;
}

.cd-badge-orange {
    color: var(--cd-orange-dark);
    background: rgba(231, 135, 47, 0.1);
    border-color: rgba(231, 135, 47, 0.25);
}

.cd-badge-success {
    color: var(--cd-success);
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.2);
}

.cd-badge-error {
    color: var(--cd-error);
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

/* ═══ FOOTER ═══ */
.cd-footer {
    padding: 32px clamp(16px, 4vw, 40px);
    text-align: center;
    font-size: 0.82rem;
    color: var(--cd-text-muted);
    border-top: 1px solid var(--cd-border-light);
    background: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

.cd-footer a {
    color: var(--cd-orange);
    transition: opacity var(--cd-transition);
}

.cd-footer a:hover {
    opacity: 0.7;
}

.cd-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* ═══ ACCESSIBILITY ═══ */
.cd-skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--cd-orange);
    color: #fff;
    padding: 8px 16px;
    z-index: 10001;
    font-weight: 600;
    border-radius: 0 0 var(--cd-radius-sm) 0;
    text-decoration: none;
}

.cd-skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--cd-orange);
    outline-offset: 2px;
}

/* ═══ UTILITIES ═══ */
.cd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.cd-section {
    padding: clamp(48px, 8vw, 96px) 0;
}

.cd-text-center { text-align: center; }
.cd-text-orange { color: var(--cd-orange); }
.cd-text-muted { color: var(--cd-text-muted); }
.cd-text-success { color: var(--cd-success); }
.cd-text-error { color: var(--cd-error); }

.cd-mt-1 { margin-top: 8px; }
.cd-mt-2 { margin-top: 16px; }
.cd-mt-3 { margin-top: 24px; }
.cd-mt-4 { margin-top: 32px; }
.cd-mb-1 { margin-bottom: 8px; }
.cd-mb-2 { margin-bottom: 16px; }
.cd-mb-3 { margin-bottom: 24px; }
.cd-mb-4 { margin-bottom: 32px; }

/* ═══ SVG LOGO INLINE ═══ */
/* Use this SVG as src for .cd-logo-icon:
   data:image/svg+xml,%3Csvg viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='48' y2='48'%3E%3Cstop offset='0%25' stop-color='%23e7872f'/%3E%3Cstop offset='100%25' stop-color='%23ff9a5c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='48' height='48' rx='12' fill='url(%23g)'/%3E%3Cpath d='M19 14L33 24L19 34V14Z' fill='white'/%3E%3Cpath d='M36 8L37.5 11.5L41 13L37.5 14.5L36 18L34.5 14.5L31 13L34.5 11.5Z' fill='white' opacity='.85'/%3E%3C/svg%3E
*/

/* Logo HTML pattern:
   <a href="/" class="cd-logo">
     <img src="[SVG above]" alt="remAIke.IT" class="cd-logo-icon">
     <div class="cd-logo-wordmark">
       <span class="cd-logo-title">rem<span>AIke</span>.IT</span>
       <span class="cd-logo-sub">Remastering Service</span>
     </div>
   </a>
*/

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .cd-header {
        height: 50px;
        padding: 0 12px;
    }

    .cd-logo-sub {
        display: none;
    }

    .cd-nav {
        display: none;
    }

    .cd-nav-sep {
        display: none;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }

    .cd-card {
        padding: 18px;
    }
}

/* ═══ PRINT ═══ */
@media print {
    body::before,
    body::after,
    .cd-header,
    .cd-footer {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
