body {
    max-width: 75em;
    margin: .5em;
    padding: 0 .5em 0 .5em;
    background: #fffcf2;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: grid; 
    /* gap: .5em; */
    /* border: .01em solid black; */
    margin: auto;   /* Website auf Mitte */
}

    @font-face {
        font-family: "bauhaus";
        src: url("/fonts/BauhausStd-Medium.woff2") format("woff2"); 
        src: url("/fonts/BauhausStd-Demi.woff2") format("woff2");
        font-weight: 400;
        font-style: normal;
        font-display: swap;
    }

    /* Kopfleiste */
    .logo {
        padding-bottom: 3px;
    }

    /* font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (1600 - 320))); */

    /* Auf jeder Seite */
    
    #pfeilrechts {
        text-align: right;
        margin: 0 1em 1em;
    }

    #pfeillinks {
        display: flex; 
        justify-content: left;
        margin: 0 0 1em 1em;
    }

    /*  Schriften  */
    
    p {
        margin-bottom: 1rem; /* Abstand nach unten zum nächsten Absatz */
        margin-top: 0;         /* Oberen Abstand auf 0 setzen */
        font-size: clamp(.9em, 1.1vw, 1.05em);
        line-height: 1.5em;
    }

    strong {
        color:#b20000;
    }

    bold {
        color:#b20000;
    }
    
    .strong-blau {
        color: #033985;
        font-weight: bold;
    }

    .hg-blau {
        background-color: #1d4a88;
        color: #ffffff;
        font-weight: bold;
    }
    
    h1, h3, h5 {
        color: #b20000;
    }

    h1 {
        font-family: "bauhaus";
        font-size: clamp(2.05rem, 7.8vw, 6.3rem);
        line-height: 1em;
        transform: scaleY(1.1);
        text-align: center;
        margin-top: clamp(-.5rem, 2.2vw, -2.8rem);
        margin-bottom: clamp(-.5rem, 2.2vw, -2.8rem);
    }
    
    /* berichte */
    h2 {
        font-size: clamp(1rem, 2.4vw, 2.4rem);
        color: #033985;
        text-align: center;
        line-height: 1.4em;
    }
    
    h3 {
        font-size: clamp(1.2rem, 2.6vw, 2.4rem);
        text-align: center;
    }
    
    h5 {
        font-size: clamp(1.1rem, 2.2vw, 2.8rem);
        text-align: center;
        margin-bottom: clamp(1.1rem, 2.2vw, 2.8rem);
    }

    /* prfprogramm-kyokushin */
    /* berichte class="center" */
    h6 {
        margin: .5em 0 .5em 0;
        font-size: clamp(1rem, 1.8vw, 2rem);
        color: #033985;
    }

    /* blaue Schrift knapp unter Überschrift */
    .blau {
        color: #033985;
        font-size: .8em;
        /* text-align: center; */
    }

    .linien-text {
        text-decoration-line: overline underline;
        text-decoration-color: #0055aa;
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
    }

    orange {
        color: #f3d306;
    }

    /* Prüfungsprogramm */
    h4 {
        color: #033985;
        font-size: clamp(1.1rem, 2.4vw, 2.4rem);
        
    }
    .prfg-auswahl {
        text-align: center;
    }
    .konter {
        color: #033985;
        font-style: oblique;
    }

    td, th {
        vertical-align: top;
        font-size: clamp(.9em, 1.1vw, 1.05em);
    }
    /* ENDE Prüfungsprogramm */

    /* kampfkatzen */
    .bild-rechts {
        display: flex; 
        float: right;         /* Aktiviert Flexbox */
        gap: 10px;              /* Abstand zwischen Bild und Text */
    }
    
    /* kampfkatzen */
    .bild-links {
        display: flex; 
        float: left;            /* Bild nach links ausrichten */
        margin-right: 20px;     /* Abstand nach rechts zum Text */
        margin-bottom: 10px;    /* Abstand nach unten */
         /* width: 200px;           /* Bildgröße anpassen */
    }

    /* berichte */
    .text-zu-bild {
        float: left;
        margin-top: -.5rem;
        margin-right: 20px;
        line-height: normal;
        font-style: italic;
        font-size: clamp(.8rem, 1.1vw, 1.05em);
        color: #033985;
    }

    .blau-kursiv {
        float: left;
        font-style: italic;
        color: #033985;
    }
    /* ENDE Schriften */
    
    /* Grafiken */
    
    /* Titel */
    #hero {
        margin-top: clamp(0, -1vw, 1em);
        max-width: 100%;
        height: auto;
        margin-bottom: -.5em;
    }

    /* trainingszeiten */
    /* kinder-acht-plus */
    /* berichte */
    #einpassen {
        padding-top: -1em;
        width: 100%;
        height: auto;
        margin-bottom: 1em;
    }

	.einpassen {
        padding-top: 1em;
        width: 100%;
        height: auto;
        /*margin-bottom: 1em;*/
    }

    /* berichte */
    #kampfkunstschule-eisheuer {
        margin-top: -1em;
        max-width: 100%;
        margin-bottom: -1.2em;
    }
       
    hr {
        border: none;
        border-top: 1.5px solid #b20000;
        width: 100%;
    }

    /* berichte */
    .hr-mitte {
        width: 33%;
        height: .1;
        border-top: 2px dotted #033985;
        margin-top: -.2em;
        margin-bottom: .5em;
    }

    .hr-dottet {
        width: 100%;
        height: .1;
        border-top: 2px dotted #033985;
        margin-top: -.2em;
        margin-bottom: 1em;
    }

    .center {
        display: grid;
        text-align: center;
    }

    /* berichte */ 
    /* trainer */
    /* Verein */
    .grid-container-verein {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1em;
        margin-bottom: 1em;
    }

    .grid-container-verein .item {
        width: 100%;
        justify-self: center; /* Horizontal zentrieren */
    } 

   /* .grid-container-trainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: .5em;
        margin-bottom: 1em;
    } */

    .trainer > img {  /* Trainer, Ecken abgerundet */
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 2em;
    }

    .item {     /* Text unter Bild mittig */
        width: 100%;
        color: black;
        text-align: center;
        font-size: 1rem;
        object-fit: cover;
    }
    
    .item > img {  /* Bilder abgerundet  */
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: .5em;
    }

    #beitraege {  /* mitgl-beitraege.webp */
        margin-top: -.5em;
        max-width: 100%;
        height: auto;
        margin-bottom: 1em;
    }

    #medaille {   /* 50jahre.gif */  
        margin-top: clamp(-.5em, -5vw, -8em);
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: clamp(.5em, 2vw, 2em);
        width: clamp(5em, 12vw, 15em);
    }

    /* ENDE Grafiken */
    
    /* Kopfmenü */

    a {
        text-decoration: none;
    }        

    ul {
        list-style-type: none;
    } 

    li {
        list-style-type: none;
    }

    .links-head li {
        font-size: clamp(.8em, 1.6vw, 1.1em);
        display: inline;
    }

    .links-head a {
        display: block;
        float: right;
        padding: 0 .5em;
        text-decoration: none;
        color: #0a0000; /* ? */
    }

    .links-head a:hover {
        color: #8e8d8d;
    }
    
    .menu > li > a {     /* neu */
        color: #ffffe0;
        text-decoration: none;
        transition: all 0.3s ease; /* Aktiviert den weichen Übergang für alle Eigenschaften */
    }

    
    /*  ENDE Kopfmenü ---------------- */

    /*  Hamburger-Menü ----------------- */
    .top-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background-color: #033985;
        height: 50px;
        padding-top: .2em;
        margin-top: .5em;
        margin-bottom: clamp(1rem, 1.8vw, 1.4rem);
        border-radius: .8rem .8rem 0 0;
        z-index: 9999; /* holt das Hamburger Menü in den Vordergrund */
    }

    .menu {
        display: flex;
        flex-direction: row;
        list-style-type: none;
        margin: 0;
        padding: .6em 0 .5em 0; /*Abstand von der Kopfleiste */
    }
    
    .menu > li {
        margin: 0 1rem; /* Abstand der Kopfzeilenlinks */
        overflow: hidden;
    }
    
    .menu-button-container {
        display: none;
        height: 100%;
        width: 30px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle {
        display: none;
    }

    .menu-button,
    .menu-button::before,
    .menu-button::after {
        display: block;
        background-color: #fff; /* Farbe Hamburger - weiß */
        position: absolute;
        height: 4px;    /* Linienstärke Hamburger */
        width: 30px;
        transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 2px;
        margin-right: 40px; /* neu */
    }

    .menu-button::before {
        content: '';
        margin-top: -8px;
    }

    .menu-button::after {
        content: '';
        margin-top: 8px;
    }

    #menu-toggle:checked+.menu-button-container .menu-button::before {
        margin-top: 0px;
        transform: rotate(405deg);
    }

    #menu-toggle:checked+.menu-button-container .menu-button::after {
        margin-top: 0px;
        transform: rotate(-405deg);
    }

    /*@media (max-width: 830px) {*/
    @media (max-width: 950px) {
        .menu-button-container {
            display: flex;
    }

        .menu {
            position: absolute;
            top: 0;
            margin-top: 50px;
        /*    left: 0; */
            left: 26%;  /* linker Seitenabstand zum Menü */
            flex-direction: column;
            width: 100%;
            justify-content: center;
            align-items: center;
        }

        #menu-toggle ~ .menu li {
            height: 0;
            margin: 0;
            padding: 0;
            border: 0;
            transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        }

        #menu-toggle:checked ~ .menu li {
            border-bottom: 1px solid #95aec2;
        /*    height: 2.5em;    */
            height: 1.5em;
            padding: 0.5em;
            transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        }

        .menu > li {
            display: flex;
            justify-content: center;
            margin: 0;
            padding: .5em 0;
            width: 40%;
            content: white;
            background-color: #03398599; /* die letzten 2 Ziffern bestimmen die Hintergrund-Transparenz */
        }

        .menu > li:not(:last-child) {
            border-bottom: 1px solid #9fc2ef; /* Textfarbe im Scroll-Down-Menü */
        }

        .menu > li > a {     /* neu */
            color: #ffffe0;
            text-decoration: none;
            transition: all 0.3s ease; /* Aktiviert den weichen Übergang für alle Eigenschaften */
        }
    }

    @media (max-width: 700px) {
        .menu-button-container {
            display: flex;
        }
        
        .menu {
            position: absolute;
            top: 0;
            margin-top: 50px;
        /*    left: 0; */
            left: 26%;  /* linker Seitenabstand zum Menü */
            flex-direction: column;
            width: 100%;
            justify-content: center;
            align-items: center;
        }
        
        #menu-toggle ~ .menu li {
            height: 0;
            margin: 0;
            padding: 0;
            border: 0;
            transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        }
        
        #menu-toggle:checked ~ .menu li {
            height: 1.5em;
            padding: 0.5em;
            transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        }
        
        .menu > li {
            display: flex;
            justify-content: center;
            margin: 0;
            padding: .5em 0;
            width: 40%; /* Breite */
            content: white;
            background-color: #03398599; /* die letzten 2 Ziffern bestimmen die Hintergrund-Transparenz */
        }
        
        .menu > li:not(:last-child) {
            border-bottom: 1px solid #9fc2ef; /* Textfarbe im Scroll-Down-Menü */
        }
        
        .menu > li > a {     /* neu */
            color: #ffffe0;
            text-decoration: none;
            transition: all 0.3s ease; /* Aktiviert den weichen Übergang für alle Eigenschaften */
        }
    }
    /* ENDE Hamburger ----------------- */
    
    .link-button {
        height: 1.4em;
        padding: 2px 0 8px;
        display: flex;
        justify-content: center;
        font-size: clamp(.8rem, 1.8vw, 1rem);
        text-decoration: underline overline;
        text-decoration-color: #033985;
        text-underline-offset: 0.3em;
        color: #033985;
        gap: 15px; /* Abstand zwischen den Links */
    }

    .link-button:hover {
        font-size: 1.1em;
    }

    /* Fuss-Menü ------------------------ */
    #footer {
        background-color: #033985;
        height: 1.4em;
        padding-top: 2px;
        display: flex;
        font-size: .7em;
        color: #ffffe0;
        justify-content: center;
        gap: 15px; /* Abstand zwischen den Links */
    }

    #footer li a {
        color: #ffffe0;
        padding-bottom: 1em;
    }
    
    /* ENDE Fuss-Menü ------------------------ */
        
    /* Listen ----------------------------*/
    .list-circle h6 {
        margin: -.6em  0 -1em 0; 
        font-size: clamp(1rem, 1.8vw, 1.4rem);
        margin-bottom: -.6em;
        color: #b20000;
    }
    
    .list-circle p {
        margin-top: 1em;
    }

    .list-circle {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto-fit;
        gap: 16px;
    }

    .list-circle img {
        width: 150px;
        height: 200px;
        object-fit: cover;
    }

    .list-circle ul {
        list-style-type: circle;
        margin-left: -1.4em;
    }
    

    @media screen and (max-width: 991px) {
        .list-circle{
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media screen and (max-width: 768px) {
        .list-circle{
            grid-template-columns: 100%;
        }
    } 

    /* Verweis auf interne Seiten */
    .interner-link {
        display: flex;
        margin-top: -1em;
        font-size: clamp(1rem, 1.4vw, 1rem);
    }

    .interner-link img {
        margin: -.2em .8em 0 0;
    }

    .interner-link p {
        display: flex;
        margin-top: -1.3em;
        font-size: clamp(1rem, 1.4vw, 1rem);
    }
    /* ENDE Verweis auf interne Seiten */

    /* Button Link */
    .container {
        position: relative;
        display: flex;
        justify-content: center;
        /*padding: 1em;
        margin: 1em;
        align-items: center;
        height: 100px;           /* Optional: Höhe des Containers festlegen */
    }

    .btn {
        background-color: #b20000;
        padding: -1em -2em;
        height: 1.6em;
        width: 8em;
        align-items: center;
        font-size: 22px;
        border: none;
        border-radius: .6em;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .btn:hover {
        text-decoration: none;
        background-color: #ce0202;
    } 

    /* Wieder erhältlich - Prüfungsprogramm */
    .freier-button {
        position: absolute;
        bottom: 12em; 
        left: clamp(-1rem, -.8vw, 5rem);
        height: 5em;
        transform: rotate(-20deg);
        text-align: center;
        padding: .2em;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: clamp(.7rem, 1.4vw, 1rem);
        z-index: 1000;

    }
    /* ENDE Button Link */

    .rahmen {
        border: .1em solid #033985;
        padding: 1em;
        border-radius: 1em;
    }

    /* ########################################################## */
    /* ########################################################## */

    