﻿/* ==========================================
   RENTNERRALF - DESIGN SYSTEM
   ========================================== */

:root {
    /* Farben */
    --color-primary: #183B59;
    --color-primary-light: #285B80;
    --color-accent: #3285C7;
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-heading: #172B3A;
    --color-text: #64748B;
    --color-border: #E2E8F0;
    /* Schatten */
    --shadow-card: 0 8px 30px rgba(15, 40, 65, 0.06);
    --shadow-hover: 0 14px 35px rgba(15, 40, 65, 0.11);
    /* Abstände */
    --content-width: 1200px;
    --header-height: 76px;
    /* Rundungen */
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 22px;
    /* Schrift */
    --font-family: "Segoe UI", Arial, sans-serif;
}

/* ==========================================
   GLOBAL
   ========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--color-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
}
/* ============================================================
   ZENTRALES SEITENRASTER
   Einheitliche Inhaltsbreite für alle öffentlichen Seiten
   ============================================================ */

.container {
    width: min(100% - 40px, var(--content-width));
    margin-inline: auto;
}

/* ============================================================
   RESPONSIVE SEITENRÄNDER
   ============================================================ */

@media (max-width: 768px) {
    .container {
        width: min(100% - 30px, var(--content-width));
    }
}
/* ==========================================
   CONTENT
   ========================================== */

.container {
    width: min(100% - 40px, var(--content-width));
    margin-inline: auto;
    
}

.section {
    padding-block: 80px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.section-description {
    max-width: 650px;
    color: var(--color-text);
}

/* ==========================================
   CARDS
   ========================================== */

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .section {
        padding-block: 50px;
    }

    .container {
        width: min(100% - 30px, var(--content-width));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
