:root {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --accent-color: #00cec9;
    --text-color: #dfe6e9;
    --background-color: #1a1a1a;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}



/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--accent-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/background_main.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

/* Services Section */
.service-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    color: var(--accent-color);
}

/* Gleiche Höhe für alle Service-Karten */
.row.g-4 {
    display: flex;
}

.row.g-4 .col-md-4 {
    display: flex;
    flex-direction: column;
}

.row.g-4 .col-md-4 .service-card {
    flex-grow: 1;
}

/* Contact Form */
.contact-form {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 206, 201, 0.25);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    margin-top: 2rem; /* Abstand zur Seite hinzugefügt */
    padding: 0.16rem; /* Reduzierte Höhe */
    position: relative;
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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



body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Stellt sicher, dass die Fußzeile am unteren Rand bleibt */
}

main {
    flex: 1; /* Der Hauptinhalt füllt den verfügbaren Platz */
}






/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .service-card {
        margin-bottom: 1rem;
    }
}

.support-button {
    position: fixed;
    bottom: 220px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.support-button:hover {
    background-color: #0056b3;
    color: white;
}

/* About Section */
.bg-light {
    background-color: var(--primary-color) !important;
}

/* Alerts */
.alert {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: opacity 0.3s ease;
}

.alert-success {
    background-color: rgba(0, 206, 201, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.alert-danger {
    background-color: rgba(255, 99, 71, 0.1);
    border: 1px solid tomato;
    color: tomato;
}

.d-none {
    display: none !important;
}

/* Hidden Link for Admin Login */
.hidden-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0);
}

.hidden-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Remove Captcha Spinner */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}