/* hyphens automatischer Zeilenumbruch */

p {     
  -moz-hyphens: auto;     
  -o-hyphens: auto;     
  -webkit-hyphens: auto;     
  -ms-hyphens: auto;     
  hyphens: auto;   
}

/* Logo im Menü nach links setzen */
li.maximenucklogo.level1 {
    float: left;
}

/* Border Animation vom Logo entfernen */
li.maximenucklogo.level1:before {
    display: none !important;

}

/* Ausgabe der Suchseite mit 1400px */
.com-finder.finder {
  max-width: 1400px;
  margin: 0 auto; /* zentriert den Block */
  width: 100%;
}

/* Joomla Benutzerprofil auf max. 1400px begrenzen */
.com-users-profile {
	max-width: 1400px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* =====================================================
   THEORIEUNTERRICHT KLASSE B – INTENSIVKURSE
   ===================================================== */

.theorie-wrapper {
    max-width: 1400px;
    margin: 0px auto;
    background: #ffffff;
    overflow: hidden;
    color: #222222;
    line-height: 1.6;
}


/* HEADER
   ===================================================== */

.theorie-header {
    background: #0074D3;
    color: #ffffff;
    padding: 45px 50px;
}

.theorie-header h1 {
    margin: 0 0 10px 0;
    padding: 0;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.theorie-header p {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
}


/* INHALT
   ===================================================== */

.theorie-content {
    padding: 45px 50px;
}

.theorie-content h2 {
    margin: 0 0 20px 0;
    color: #0074D3;
    font-size: 27px;
    font-weight: 700;
}

.theorie-intro {
    margin: 0 0 35px 0;
    font-size: 18px;
}


/* TERMIN-TABELLE
   ===================================================== */

.theorie-termine {
    width: 100%;
    margin: 0 0 25px 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.theorie-termine th,
.theorie-termine td {
    padding: 15px 18px;
    text-align: left;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #e2e6ea;
}

.theorie-termine th {
    background: #eef6fc;
    color: #0074D3;
    font-size: 17px;
    font-weight: 700;
}

.theorie-termine tbody tr {
    transition: background-color 0.2s ease;
}

.theorie-termine tbody tr:hover {
    background: #f8fbfd;
}


/* HINWEIS 3. OKTOBER
   ===================================================== */

.theorie-hinweis {
    margin: 25px 0 40px 0;
    padding: 20px 25px;
    background: #fff6dc;
    border-left: 5px solid #f2b705;
    border-radius: 8px;
}

.theorie-hinweis strong:first-child {
    color: #333333;
}


/* UNTERRICHTSZEITEN
   ===================================================== */

.theorie-zeiten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 35px 0;
}

.theorie-zeit-box {
    padding: 22px;
    background: #f2f7fb;
    border-radius: 12px;
}

.theorie-zeit-box strong {
    display: block;
    margin-bottom: 4px;
    color: #0074D3;
    font-size: 17px;
}


/* ABSCHLUSSBOX
   ===================================================== */

.theorie-abschluss {
    padding: 25px;
    background: #0074D3;
    color: #ffffff;
    border-radius: 12px;
    font-size: 18px;
}

.theorie-abschluss strong {
    color: #ffffff;
}


/* TABLET
   ===================================================== */

@media (max-width: 900px) {

    .theorie-header,
    .theorie-content {
        padding: 35px 30px;
    }

    .theorie-zeiten {
        grid-template-columns: 1fr;
    }
}


/* SMARTPHONE
   ===================================================== */

@media (max-width: 600px) {

    .theorie-wrapper {
        margin: 15px 0;
        border-radius: 12px;
    }

    .theorie-header {
        padding: 30px 20px;
    }

    .theorie-header h1 {
        font-size: 27px;
    }

    .theorie-header p {
        font-size: 17px;
    }

    .theorie-content {
        padding: 30px 20px;
    }

    .theorie-content h2 {
        font-size: 23px;
    }

    .theorie-intro {
        font-size: 17px;
    }

    .theorie-termine {
        font-size: 14px;
    }

    .theorie-termine th,
    .theorie-termine td {
        padding: 10px 7px;
    }

    .theorie-hinweis {
        padding: 18px;
    }

    .theorie-zeit-box {
        padding: 18px;
    }

    .theorie-abschluss {
        padding: 20px;
        font-size: 16px;
    }
}

@media (max-width: 600px) {

    .theorie-termine,
    .theorie-termine tbody,
    .theorie-termine tr,
    .theorie-termine td {
        display: block;
        width: 100%;
    }

    .theorie-termine thead {
        display: none;
    }

    .theorie-termine tr {
        margin-bottom: 18px;
        padding: 15px;
        background: #f5f8fb;
        border-radius: 10px;
    }

    .theorie-termine td {
        padding: 5px 0;
        border: 0;
    }

    .theorie-termine td:nth-child(1) {
        color: #0074D3;
        font-size: 17px;
        margin-bottom: 5px;
    }

    .theorie-termine td:nth-child(2)::before {
        content: "Kursbeginn: ";
        font-weight: 700;
    }

    .theorie-termine td:nth-child(3)::before {
        content: "Kursende: ";
        font-weight: 700;
    }
}

/* =====================================================
   ENDE THEORIEUNTERRICHT KLASSE B – INTENSIVKURSE
   ===================================================== */
