.Lexikon {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

.Lexikon h1 {
    text-align: center;
    margin-bottom: 10px;
}

.KartenContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 20px;
}


.KarteKurz {
   width: 100%;
   max-width: 500px;

    margin-bottom: 30px;

    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;

    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}


.KarteKurz .Name {
    margin: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.KarteKurz .Spalten {
    display: flex;
    gap: 20px;
}

.KarteKurz .Links {
    flex: 0 0 auto;
}

.KarteKurz .Rechts {
    flex: 1 1 auto;
    min-width: 0;
}

.KarteKurz .Bild img {
    width: 57px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.KarteKurz .Bild a {
    display: block;
    transition: transform 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.KarteKurz .Bild a:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.KarteKurz .Kurz {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
}

.KarteKurz .Weiter a {
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.KarteKurz .Weiter a:hover {
    color: #003d80;
    transform: translateX(3px);
    text-decoration: underline;
    cursor: pointer;
}

.KartenContainer h2 {
  grid-column: 1 / -1; /* Lässt die Überschrift die volle Breite des Grids einnehmen */
  margin-top: 20px;   
  margin-bottom: 10px; 
}


/* .KarteNormal */

.KarteNormal {
    display: block; /* oder einfach kein Flex/Grid */
    width: 100%;
}


.Mittel .Bild {
    float: left;
}

.Lang .Bild {
    float: right;
}

.Mittel,
.Lang
{
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    padding: 10px 0;
}


.Mittel img {
  float: left;
  width: 256px;
  height: 448px;
  margin: 0 20px 20px 0;
  border-radius: 8px;
}

.Lang img {
  float: right;
  width: 256px;
  height: 448px;
  margin: 0 0 20px 20px;
  border-radius: 8px;
}


/* Linkes Menü, leider nicht unter .Lexikon */

ul.PlusMenu>li>.Karte,
.PlusFrame>.OffCanvas> ul>li>.Karte
{ 
 font-size:80%; 
 font-weight:normal;
}



/*  .TypAuswahl ist in service_gabiundteam.css */