/* =========================================
   Basis-Theme MK-Internet-Service
   ========================================= */

/* Globale Farbvariablen (Bootstrap-Integration) */
:root {
    /* Primärfarbe (Orange) */
    --bs-primary: #f48a04;
    --bs-primary-rgb: 244, 138, 4;

    /* Sekundärfarbe (Braun) */
    --bs-secondary: #5d3716;
    --bs-secondary-rgb: 93, 55, 22;
}

/* Basislayout */
body {
    background-color: #f4f6fb;
    color: #1f2933;
}

/* =========================================
   Logo / Header
   ========================================= */

/* Logo-Kreis links oben */
.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 0% 0%, #f48a04, #f48a04);
    color: #fff;
    font-size: 0.9rem;
}

/* =========================================
   Hero-Bereich
   ========================================= */

.hero {
    padding: 4.5rem 2rem 3rem;
}

.hero-gradient {
    background: radial-gradient(circle at top left, rgba(244, 138, 4, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(93, 55, 22, 0.18), transparent 55%);
}

/* =========================================
   Karten / Plattformen
   ========================================= */

.card-platform {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.card-platform .icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Icon-Farbwelten für verschiedene Bereiche */
.icon-broetchen {
    background: rgba(255,193,7,0.18);
    color: #b58900;
}

.icon-route {
    background: rgba(13,110,253,0.16);
    color: #0d47a1;
}

.icon-car {
    background: rgba(25,135,84,0.16);
    color: #0f5132;
}

.icon-dog {
    background: rgba(255,159,67,0.18);
    color: #b05d00;
}

.icon-heart {
    background: rgba(220,53,69,0.16);
    color: #842029;
}

.icon-book {
    background: rgba(111,66,193,0.16);
    color: #4b2d7f;
}

/* =========================================
   Footer
   ========================================= */

.footer-nav .nav-link {
    color: rgba(255,255,255,0.8);
}

.footer-nav .nav-link:hover {
    color: #ffffff;
}

/* =========================================
   Typografie / Sektionen
   ========================================= */

.section-heading {
    font-size: 1.6rem;
    font-weight: 700;
}

/* =========================================
   Formulare / Buttons
   ========================================= */

/* Formularfelder */
form .form-control,
form .form-select {
    border-radius: 0.75rem;
}

/* Primäre Buttons (rund + Orange) */
.btn-primary {
    border-radius: 999px;
    background-color: #f48a04;
    border-color: #f48a04;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d97403;
    border-color: #d97403;
}

/* Outline-Primary-Buttons (Orange-Rand) */
.btn-outline-primary {
    color: #f48a04;
    border-color: #f48a04;
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #ffffff;
    background-color: #f48a04;
    border-color: #f48a04;
}

/* Sekundär-Buttons, falls du sie nutzt (braun) */
.btn-outline-secondary {
    color: #5d3716;
    border-color: #5d3716;
    background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    color: #ffffff;
    background-color: #5d3716;
    border-color: #5d3716;
}

/* =========================================
   Cookie / Datenschutz Hinweis (Modal)
   ========================================= */

/* Zentriertes Hinweis-Panel */
.cookie-consent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: calc(100% - 2rem);
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    z-index: 1080;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.25);
}

/* Dunkler Overlay-Hintergrund für den Hinweis */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1075;
}

.cookie-consent p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.cookie-consent .btn {
    border-radius: 999px;
}

/* =========================================
   Responsive Anpassungen
   ========================================= */

@media (max-width: 575.98px) {
    .hero {
        padding-inline: 1.25rem;
    }

    .cookie-consent {
        padding: 1rem 1rem;
        width: calc(100% - 1.5rem);
    }
}
