*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {

    /* Hauptfarben */
    --nav-bg-color: #272727;

    /* Schriftfarben */
    --font-dark-color: #1A1A1D;
    --font-light-color: #ffffff;

    /* Buttons */
    --button-background: #272727;

    /* Akzentfarben */
    --red: #E53935;
    --blue: #0A2F33;
    --green: #88bd27;
    --neon-green: #C6FF00;
    --orange: #FF6A00;

    /* Schwarztöne */
    --black: #0B0B0C;
    --black2: #1A1A1D;

}

body *{
    font-family: "Roboto", sans-serif;
    /* font-weight: 400; */
    /* background-color: var(--black); */
}

/* ==========================================================
   Roboto lokal
========================================================== */

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto/roboto-v51-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto/roboto-v51-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto/roboto-v51-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto/roboto-v51-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto/roboto-v51-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto/roboto-v51-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto/roboto-v51-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/roboto/roboto-v51-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto/roboto-v51-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto/roboto-v51-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ==========================================================
   Globale Schrift
========================================================== */

html {
    font-family: "Roboto", sans-serif;
}


/* =====================================
   Buttons
===================================== */

.btn-fahrschule {

    background-color: var(--green);
    border: none;

    color: var(--font-light-color);

    font-weight: 700;

    padding: 12px 32px;

    border-radius: 30px;

    transition: 0.3s ease;
}


.btn-fahrschule:hover {

    background-color: var(--blue);

    color: var(--green);

    transform: translateY(-3px);
}



/* =====================================
   Navbar
===================================== */

.fahrschule-nav {

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    background-color: rgba(39,39,39,1);

    z-index: 1000;
}


.fahrschule-nav .nav-link {
    color: var(--font-light-color);
    font-weight: 500;

    transition: 0.3s ease;
}


.fahrschule-nav .nav-link:hover {
    color: var(--green);
}


.fahrschule-nav .nav-link.active {
    color: var(--green);
    font-weight: 700;
}


.fahrschule-nav .navbar-toggler {
    border-color: var(--green);
}


.fahrschule-nav .navbar-toggler-icon {
    filter: invert(1);
}

/* =====================================
   Seitenrahmen
===================================== */

main {
    margin: 30px auto 0;
    max-width: 1400px;

    overflow: hidden;

    background-color: var(--font-light-color);

    border-radius: 25px 25px 0 0;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.18);
}


/* =====================================
   Hero Bereich
===================================== */

.hero {
    min-height: 650px;

    background-image: url("../img/background/hero.png");
    background-size: cover;
    background-position: center;

    position: relative;
    display: flex;
    align-items: center;

    color: var(--font-light-color);
}


.hero .container {
    position: relative;
    z-index: 1;

    transform: translateY(-30px);
}


.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;

    text-transform: uppercase;

    text-shadow:
        0 3px 8px rgba(0,0,0,0.9);
}


.hero p {
    font-size: 1.2rem;
    max-width: 600px;

    text-shadow:
        0 2px 5px rgba(0,0,0,0.8);
}


.hero img {
    max-width: 350px;
}


/* =====================================
   Intro Bereich
===================================== */

.intro {
    padding-top: 70px;
    padding-bottom: 70px;
}


.intro h2 {
    color: var(--font-dark-color);

    font-weight: 800;
    text-transform: uppercase;

    position: relative;
}


.intro h2::after {
    content: "";

    display: block;

    width: 70px;
    height: 4px;

    background-color: var(--green);

    margin: 20px auto 0;

    border-radius: 10px;
}


.intro p {
    color: var(--font-dark-color);

    line-height: 1.8;

    font-size: 1.05rem;
    
}

/* =====================================
   Info Bereich
===================================== */
.location h2 {
    color: var(--font-dark-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.location h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--green);
    margin: 20px auto 0;
    border-radius: 10px;
}
.location p {
    color: var(--font-dark-color);
    
    font-size: 1.05rem;
    
}

/* =====================================
   Info Bereich
===================================== */
.info h2 {
    color: var(--font-dark-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.info h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--green);
    margin: 20px auto 0;
    border-radius: 10px;
}

.info p {
    color: var(--font-dark-color);
    
    font-size: 1.05rem;
    text-align: left;
}


/* =====================================
   Lesson Highlight
===================================== */
.lessons h2 {
    color: var(--font-dark-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.lessons h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--green);
    margin: 20px auto 0;
    border-radius: 10px;
}
.lessons p {
    color: var(--font-dark-color);
    font-size: 1.05rem;
}

.lessons a{
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}


.lessons a:hover{
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 4px;
}


.lesson-highlight{
    display:flex;
    align-items:center;
    gap:1.25rem;

    padding:1.5rem;
    background:#fff;
    border-left:6px solid var(--green);
    border-radius:18px;
    box-shadow:0 .5rem 1.5rem rgba(0,0,0,.08);
    margin-bottom:2rem;
}

.lesson-highlight-icon{

    width:64px;
    height:64px;

    display:flex;
    justify-content:center;
    align-items:center;

    background: rgba(136, 189, 39, .15);
    color:var(--green);
    border-radius:50%;
    font-size:1.8rem;
    flex-shrink:0;
}

.lesson-highlight-title{
    display:block;
    color:#777;
    font-size:.85rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:.35rem;
    font-weight:700;
}





.lection-info{

    font-size:1.25rem;
    color:var(--font-dark-color);
    line-height:1.5;
}

.lection-info b{
    color:var(--green);
    font-weight:700;
}

@media (max-width:768px){

    .lesson-highlight{
        flex-direction:column;
        text-align:center;
        padding:1.25rem;
    }

}

/* =====================================
   Table
===================================== */
.table-header th{
    background: var(--nav-bg-color) !important;
    color: var(--green) !important;
    border: none;    
    padding: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

#lektionstabelle a{
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

#lektionstabelle a:hover{
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 4px;
}

#lektionstabelle tbody tr{
    transition: background-color .2s ease;
}
#lektionstabelle tbody tr:hover{
    background: rgba(136,189,39,.08);
}
#lektionstabelle td{
    vertical-align: middle;
}


/* ==========================================
   Unterrichtslektionen Accordion
   ========================================== */
.lesson-heading h2 {
    color: var(--font-dark-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.lesson-heading h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--green);
    margin: 20px auto 0;
    border-radius: 10px;
}



/* Seitlicher Abstand */
#lesson-details .accordion {
    margin-left: 5rem;
    margin-right: 5rem;
}


/* Accordion Items */
#lesson-details .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: transparent;
}


/* Accordion Header */
#lesson-details .accordion-button {
    background-color: #f7f7f7;
    color: var(--font-dark-color);
    border-radius: 12px !important;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


/* Fokus entfernen */
#lesson-details .accordion-button:focus {
    box-shadow:
        0 0 0 0.2rem #88bd27;

}


/* Hover */
#lesson-details .accordion-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);

}


/* Geöffnete Lektion */
#lesson-details .accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: var(--font-dark-color);
    border-left: 5px solid var(--button-background-color);

}


/* Bootstrap Pfeil */
#lesson-details .accordion-button::after {

    filter:
        brightness(0)
        saturate(100%)
        invert(40%)
        sepia(90%)
        saturate(900%)
        hue-rotate(90deg);

}


/* Inhalt */
#lesson-details .accordion-body {

    background-color: #f5f5f5;

    color: var(--font-dark-color);

    border-radius: 0 0 12px 12px;

    padding: 1.5rem;

}


/* ==========================================
   Lektionen Darstellung
   ========================================== */


.lesson-info {

    display:flex;

    align-items:center;

    gap:1rem;

}


/* Code Badge */
.lesson-code {
    min-width:55px;
    padding:0.45rem 0.75rem;
    border-radius:8px;
    background-color: var(--button-background-color);
    color:var(--green);
    font-weight:700;
    text-align:center;

}


/* Titel */
.lesson-title {
    flex:1;
    font-weight:600;
    font-size:1.05rem;

}


/* Kategorie */
.lesson-category {

    padding:
        0.35rem
        0.75rem;

    border-radius:20px;

    background-color:#eeeeee;
    color:#555;
    font-size:0.8rem;

}


/* aktive Kategorie */
.accordion-button:not(.collapsed)
.lesson-category {

    background-color: var(--button-background-color);
    color:white;

}



/* ==========================================
   Mobile
   ========================================== */


@media(max-width:768px){


    .lesson-info{

        flex-wrap:wrap;

    }


    .lesson-title{

        flex-basis:
        calc(100% - 70px);

    }


    .lesson-category{

        width:100%;

        text-align:center;

    }

}


/* =====================================
   Führerscheinklassen Cards
===================================== */

.section-heading h2 {
    color: var(--font-dark-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--green);
    margin: 20px auto 0;
    border-radius: 10px;
}

.drivers-licences {
    padding:80px 0;
}

.drivers-licences .section-heading p {
    color:#666;
    max-width:650px;
    margin:auto;
}

.drivers-licences p{
    color: var(--font-dark-color);
    font-size: 1.05rem;
    text-align: center;
}


/* Card */
.licence-card {
    height:100%;
    display:flex;
    flex-direction:column;
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    border-top:none;
    position:relative;
    box-shadow:
        0 8px 25px rgba(0,0,0,0.08);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}
.licence-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:linear-gradient(
        90deg,
        var(--red),
        var(--green)
    );
}

.licence-card:hover {
    transform:translateY(-8px);
    box-shadow:
        0 15px 35px rgba(0,0,0,0.14);
}

/* Bilder */

.licence-card img{
    padding:.5rem;
    width:100%;
    height:220px;
    object-fit:contain;
    background:#FFF;
}

.licence-badge{
    display:inline-block;
    margin-bottom:12px;
    padding:6px 14px;
    border-radius:999px;

    background:rgba(136,189,39,.12);
    color:var(--green);

    font-size:.8rem;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
}


/* Inhalt */
.licence-card-body {
    padding:25px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}


.licence-card h4 {
    font-size:1.7rem;
    font-weight:700;
    margin-bottom:10px;
    color:var(--font-dark-color);
}

.licence-card h4::after{
    content:"";
    display:block;
    width:36px;
    height:3px;
    margin-top:8px;
    border-radius:10px;
    background:var(--green);
}


.licence-card p {
    color:#555;
    min-height:48px;
}



/* Button */
.licence-btn {
    display:inline-block;
    margin-top:auto;
    width:max-content;
    padding:10px 30px;
    border-radius:30px;
    background-color: rgba(229, 56, 53, 0.125);
    color: var(--red);
    /* text-decoration:none; */
    font-weight:600;
    border:none;
    cursor:pointer;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.licence-btn:hover {
    background-color: rgba(136, 189, 39, 0.125);
    color:var(--green);
    opacity:0.85;
    transform:translateY(-2px);

}


/* =====================================================
   Rechtliche Seiten
===================================================== */

.legal-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.legal-card {
    max-width: 950px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.legal-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: .75rem;
}

.legal-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    border-radius: 999px;
    background: #2e7d32;
}

.legal-card h3 {
    margin-top: 2.5rem;
    margin-bottom: .9rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
}

.legal-card p,
.legal-card li {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}
.legal-card p {
    margin-bottom: 1.25rem;
}

.legal-card h3:not(:first-of-type) {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.legal-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.3rem;
}

.legal-card a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-card strong {
    color: #212529;
}

@media (max-width: 768px) {

    .legal-section {
        padding: 3rem 0;
    }

    .legal-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .legal-card h2 {
        font-size: 1.7rem;
    }

    .legal-card h3 {
        font-size: 1.15rem;
    }
}

/* ===========================
   Datenschutz
=========================== */

.legal-toc {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.75rem;
}

.legal-toc h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-toc li+li {
    margin-top: .5rem;
}

.legal-toc a {
    text-decoration: none;
    color: #333;
    transition: .2s;
}

.legal-toc a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.legal-block {
    margin-bottom: 4rem;
}

.legal-subsection+.legal-subsection {
    margin-top: 2.5rem;
}

.legal-block h2 {
    margin-bottom: 2rem;
}

.legal-block h3 {
    margin-bottom: 1rem;
}

.legal-block h4 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}






















/* =====================================
   Footer
===================================== */

.fahrschule-footer {
    background-color: var(--nav-bg-color);
    color: var(--font-light-color);
    border-top: 3px solid var(--green);
    border-radius: 0 0 25px 25px;

    margin: 0px auto;
    max-width: 1400px;
    overflow: hidden;
    box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.5);
}


.fahrschule-footer h5 {
    color: var(--green);
    font-weight: 700;
}


.fahrschule-footer p {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.fahrschule-footer .copyright-text {
    font-size: .75rem;

}

.fahrschule-footer a {
    color: var(--font-light-color);
    text-decoration: none;
}


.fahrschule-footer a:hover {
    color: var(--green);
}