/* ============================================
   makeITeasy Website - styles.css
   Version: 1.0.0
   100% cookie-frei, offline-faehig
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #DC1F26;
    --color-primary-hover: #b8181e;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-bg-dark: #000000;
    --color-border: #e5e7eb;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

main {
    flex: 1;
    padding: 3rem 0;
}

/* === HEADER === */
.site-header {
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-it {
    background: var(--color-primary);
    color: white;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    margin: 0 4px;
}

/* === NAVIGATION === */
.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a,
.nav-mobile a {
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-mobile a:hover,
.nav-desktop a.active,
.nav-mobile a.active {
    color: var(--color-primary);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    padding: 0.5rem 0;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
    .nav-mobile {
        display: none !important;
    }
}

/* === FOOTER === */
.site-footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-light); }
.text-small { font-size: 0.875rem; }

/* === HERO SECTION === */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

.hero-it {
    background: var(--color-primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-md);
    margin: 0 6px;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
}

.btn-secondary {
    background: var(--color-bg-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-border);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === CARDS === */
.card {
    background: var(--color-bg);
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-title .logo-it {
    font-size: 0.9em;
    padding: 1px 8px;
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-demo {
    background: #dbeafe;
    color: #1e40af;
}

.badge-test {
    background: #fef3c7;
    color: #92400e;
}

.badge-dev {
    background: #f3f4f6;
    color: #374151;
}

.badge-available {
    background: #d1fae5;
    color: #065f46;
}

/* === GRID LAYOUTS === */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === SECTIONS === */
.section {
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.subsection-title:first-of-type {
    margin-top: 0;
}

/* === FEATURE LIST === */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75;
}

/* === INFO BOXES === */
.info-box {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    margin-bottom: 1.5rem;
}

.info-box-yellow {
    background: #fefce8;
    border-color: #eab308;
}

.info-box-red {
    background: #fef2f2;
    border-color: var(--color-primary);
}

.info-box-green {
    background: #f0fdf4;
    border-color: #22c55e;
}

.info-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* === CONTENT WRAPPER === */
.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.content-wide {
    max-width: 1000px;
    margin: 0 auto;
}

/* === CONTACT BOX === */
.contact-box {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.contact-box h2 {
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

/* === LEGAL PAGES === */
.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* === PLACEHOLDER === */
.placeholder {
    background: var(--color-bg-light);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--color-text-light);
}

.placeholder h2 {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

/* === UTILITIES === */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
