/*Generelle Sachen*/
:root {
    --primary-color: #000;
    --highlight-color: #f00;
    --link-color: #797979;
    --footer-bg: #fff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--primary-color);
}

.header {
    background-color: var(--footer-bg);
    text-align: center;
}

.headline{
    background-color: var(--footer-bg);
    text-align: left;
    font-weight: bold;
    font-size: 20px;
}

.headline2{
    background-color: var(--footer-bg);
    text-align: left;
    font-weight: bold;
}

.logo-image {
    max-width: 1000px;
    height: auto;
}

.nav-bar {
    display: flex;
    justify-content: center;
}

.nav-bar a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: lighter;
    padding: 0.5rem;
}

.nav-bar a:hover {
    text-decoration: underline;
}

.main-content {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.content-container {
    display: flex;
    width: 1000px; 
}

.left-column {
    flex: 1;
    padding-right: 1rem;
    border-right: 2px dashed var(--primary-color);
    margin-left: 30px;
}

.right-column {
    flex: 2;
    padding-left: 1rem;
    margin-right: 30px;
}

.right-column ul {
    padding-left: 2rem;
}

.right-column li {
    padding-left: 2rem;
    font-weight: bold;
}

.text-box {
    border: 2px dashed var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
}

.contact-info{
    color: var(--primary-color);
}

.Email{
    color: var(--primary-color);
    text-decoration: none;
}

.Email:hover{
    text-decoration: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.Email:visited{
    color: var(--primary-color);
    text-decoration: none;
}

.Terminland{
    color: var(--link-color);
    text-decoration: underline;
}

.Terminland:hover{
    text-decoration: underline;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.Terminland:visited{
    color: var(--link-color);
    text-decoration: underline;
}

footer {
    background-color: var(--footer-bg);
    color: var(--primary-color);
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.footer-section {
    margin: 0 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section ul {
    margin: 0.5rem 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    text-decoration: none;
    color: var(--primary-color);
}

.footer-section a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #aaa;
}
/*Startseite */
.start{
    color: var(--primary-color);
    font-size: 26px;
}

.highlight {
    color: var(--highlight-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/*Impressum*/
.impressum{
    font-size: 17px;
    margin-left: 7px;
}

.impressumlink{
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

.impressumlink:hover{
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.impressumlink:visited{
    color: var(--primary-color);
    text-decoration: none;
}

/*Finanzierung*/

.gif-image {
    padding-left: 10%;
    padding-top: 3%;
}

.finance{
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    font-size: 25px;
}

.fatlink{
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

.fatlink:hover{
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Klassenübersicht */

.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 20px;
}

.icon-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-grid img {
    max-width: 150px;
    margin-bottom: 10px;
}

.icon-grid p {
    font-size: 30px;
}

.fahrzeuglink {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

.fahrzeuglink:hover {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.fahrzeuglink:active {
    color: var(--primary-color);
    text-decoration: none;
}

.image-container {
    text-align: right;
    margin-top: 10px;
}

#shapeimage_1 {
    max-width: 100%; 
    height: auto; 
}
.Klassenübersicht-lists li {
    font-weight: normal;
}

.bold {
    font-weight: bold;
}

/* Berufskraftfahrer */

.image-section {
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

.image-section img {
    max-width: 50%;
    height: auto;
    margin-right: 20px;
}

.image-section .centered-text {
    flex: 1;
    text-align: left;
    font-size: 18px;
    color: #000;
}

/* Fahrzeuge */

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.vehicle-item {
    text-align: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 4px;
    background-color: #fff;
}
.vehicle-item img {
    max-width: 100%;
    height: auto;
    border: 3px solid #000;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.vehicle-item p {
    margin: 8px 0 0;
    font-size: 14px;
}