/*
Theme Name: DiffeRent Autovermietung
Theme URI: https://different-car.de
Author: DiffeRent Autovermietung
Author URI: https://different-car.de
Description: Premium Autovermietung Theme für DiffeRent Autovermietung Lüdenscheid
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: different-autovermietung
Tags: car-rental, premium, dark, responsive
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
    --black: #080808;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --dark-4: #2a2a2a;
    --gray-1: #333333;
    --gray-2: #444444;
    --gray-3: #666666;
    --gray-4: #888888;
    --gray-5: #aaaaaa;
    --gray-6: #cccccc;
    --white: #ffffff;
    --off-white: #f5f5f0;

    --gold: #CC0000;
    --gold-light: #E53333;
    --gold-dark: #990000;
    --red: #CC0000;
    --red-light: #E53333;
    --green: #27AE60;
    --green-light: #2ECC71;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow: 0 4px 20px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
    --shadow-gold: 0 4px 20px rgba(204,0,0,0.25);

    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    --container-max: 1280px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--gold); }

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

ul, ol { list-style: none; }

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-5);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.text-gold { color: var(--gold); }
.text-gray { color: var(--gray-5); }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

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

.btn-danger:hover {
    background: var(--red-light);
    color: var(--white);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* =========================================
   BADGES & TAGS
   ========================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.badge-gold {
    background: rgba(201,168,76,0.15);
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.3);
}

.badge-green {
    background: rgba(39,174,96,0.15);
    color: var(--green-light);
    border: 1px solid rgba(39,174,96,0.3);
}

.badge-red {
    background: rgba(192,57,43,0.15);
    color: var(--red-light);
    border: 1px solid rgba(192,57,43,0.3);
}

.badge-gray {
    background: rgba(255,255,255,0.08);
    color: var(--gray-5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   CARDS
   ========================================= */
.card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(201,168,76,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   FORMS
   ========================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-5);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background: var(--dark-3);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 15px;
    transition: border-color var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-control::placeholder {
    color: var(--gray-3);
}

.form-control option {
    background: var(--dark-3);
    color: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--gold);
}

.form-check label {
    font-size: 14px;
    color: var(--gray-5);
    cursor: pointer;
    line-height: 1.5;
}

.form-check label a {
    color: var(--gold);
}

.form-error {
    font-size: 12px;
    color: var(--red-light);
    margin-top: 6px;
}

/* =========================================
   DIVIDER
   ========================================= */
.divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 48px 0;
}

/* =========================================
   ALERT / NOTICE
   ========================================= */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.2);
    color: var(--green-light);
}

.alert-error {
    background: rgba(192,57,43,0.1);
    border: 1px solid rgba(192,57,43,0.2);
    color: var(--red-light);
}

.alert-info {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--gold);
}

/* =========================================
   LOADER
   ========================================= */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
    background: var(--gray-1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 72px 0; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .container { padding: 0 16px; }
}
