

* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

a:visited {
color: #fff;
} 

ul {
    list-style: none;
}

h1 h2 h3 {
    font-weight: 100;
}

pre {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    white-space: pre-wrap;
}

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.0;
    height: 100vh;
    background-color: #000;
}

#container {    

    width: 100%;
    height: 100%;
    
    display: grid;
    grid-template-columns: 1fr 380px 1fr;
    grid-template-areas: 
    ". main ."    
    "footer footer footer"
    ;

    overflow-y: scroll;
    scroll-behavior: smooth;
   
}

.site-header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2200;
    background-color: #000;
    border-bottom: 1px solid #202020;
}

.site-header-banner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    position: relative;
    color: #fff;
}

.site-header-place,
.site-header-menu-area {
    flex: 1 1 0;
    min-width: 0;
}

.site-header-place h1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-logo {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background-color: #fff;
    z-index: 2300;
}

.site-header-logo img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50px;
}

.site-header-menu-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1200;
}

.header-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #050505;
    border: 1px solid #2d2d2d;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
}

.header-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.header-menu-toggle:hover,
.header-menu-toggle[aria-expanded="true"] {
    background-color: #161616;
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-menu[hidden] {
    display: none;
}

.header-menu {
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2100;
    width: 100%;
    max-height: none;
    padding: 22px 16px 42px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #111;
}

.header-menu-section-title {
    width: min(680px, 100%);
    margin: 18px auto 5px;
    padding: 0 10px;
    color: #666;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.header-menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    width: min(680px, 100%);
    min-height: 42px;
    margin: 0 auto;
    padding: 8px 10px;
    background-color: #fff;
    border-bottom: 1px solid #ececec;
    color: #111;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.header-menu-item:last-child {
    border-bottom: none;
}

.header-menu-item:visited {
    color: #111;
}

.header-menu-item:hover {
    background-color: #f4f4f4;
}

.header-menu-login {
    margin-top: 0;
    border-top: 0;
}

.header-menu-arrow {
    color: #777;
    font-size: 18px;
    line-height: 1;
}

body.header-menu-open {
    overflow: hidden;
}

body.header-menu-open #container {
    overflow: hidden;
}

html.header-menu-open,
html.header-menu-open body,
body.header-menu-open {
    overflow: hidden !important;
}

html.header-menu-open header {
    left: 0;
    right: var(--scrollbar-width, 0px);
    width: auto;
}

.header-menu {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 768px) {
    .header-menu {
        padding-top: 36px;
    }

    .header-menu-section-title,
    .header-menu-item {
        width: min(760px, 100%);
    }

    .header-menu-item {
        min-height: 44px;
        font-size: 14px;
    }
}


#header{ 
    position: fixed;

    width: 100%;
    height: 60px;
    padding-top: 15px;
    z-index: 100;
    background-color: #000;
}


        #logo {
            position:fixed;
            
            width: 100%;   
            background-color: #fff;
            height: 45px;
            padding-top: 3px;
            box-shadow: 0px 1px 1px #e9e9e9;
            
        }

/* =========================================================
   Modernes öffentliches Profilverzeichnis
   ========================================================= */

html {
    background: #000;
}

body {
    min-height: 100vh;
    height: auto;
    background: #000;
    color: #f2f2f2;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.4;
}

#container {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: block;
    overflow: visible;
    background: #000;
}

.site-header-menu {
    z-index: 2200;
    background-color: #000;
    border-bottom: 1px solid #5e5e5e;
}

.site-header-banner {
    height: 60px;
    gap: 10px;
    padding: 0 12px;
}

.site-header-place h1 {
    font-size: 16px;
    font-weight: 400;
}

.site-header-logo {
    left: 50%;
    top: 8px;
    width: 44px;
    height: 44px;
    background: #fff;
    z-index: 2300;
}

.site-header-logo img {
    width: 44px;
    height: 44px;
}

.site-header-menu-area {
    z-index: 2300;
}

main {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 92px 0 56px;
    display: block;
}

#gewerbe,
#vereine,
#verwaltung {
    width: 100%;
}

#gewerbe ul,
#vereine ul,
#verwaltung ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
}

#gewerbe ul > a,
#vereine ul > a,
#verwaltung ul > a {
    display: block;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

#gewerbe ul > a:visited,
#vereine ul > a:visited,
#verwaltung ul > a:visited {
    color: #fff;
}

#gewerbe ul li,
#vereine ul li,
#verwaltung ul li {
    min-width: 0;
    min-height: 112px;
    margin: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid #242424;
    border-radius: 18px;
    background: #080808;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#gewerbe ul > a:hover li,
#vereine ul > a:hover li,
#verwaltung ul > a:hover li,
#gewerbe ul > a:focus-visible li,
#vereine ul > a:focus-visible li,
#verwaltung ul > a:focus-visible li {
    background: #101010;
    border-color: #3a3a3a;
    transform: translateY(-1px);
}

#gewerbe ul > a:focus-visible,
#vereine ul > a:focus-visible,
#verwaltung ul > a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 20px;
}

.logo_user {
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #151515;
    border: 1px solid #303030;
}

.gewerbedata,
.vereinedata,
.verwaltungdata {
    min-width: 0;
    overflow: hidden;
}

#gewerbe h3,
#vereine h3,
#verwaltung h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #fff;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#gewerbe p,
#vereine p,
#verwaltung p {
    height: auto;
    margin: 4px 0 0;
    color: #a8a8a8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

footer {
    display: none;
}

@media screen and (min-width: 768px) {
    main {
        width: min(1180px, calc(100% - 40px));
        padding-top: 104px;
    }

    #gewerbe ul,
    #vereine ul,
    #verwaltung ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media screen and (min-width: 1100px) {
    main {
        width: min(1180px, calc(100% - 64px));
    }

    #gewerbe ul,
    #vereine ul,
    #verwaltung ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}
/* Header-Fix final: Logozentrierung und stabile Scrollbarbreite. */

html:not(.header-menu-open) {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.header-menu {
    width: 100%;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    position: static;
    transform: none;
}

/* Header-Fix: Logozentrierung und stabile Scrollbarbreite. */

html:not(.header-menu-open) {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.header-menu {
    width: 100%;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    position: static;
    transform: none;
}

/* Header-Fix: Logozentrierung und stabile Scrollbarbreite. */

html:not(.header-menu-open) {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.header-menu {
    width: 100%;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    position: static;
    transform: none;
}

/* Profilseiten-Header: exakt wie Beitragsstartseite. */

:root {
    --body-background: #000;
}

header {
    position: fixed;
    width: 100%;
    z-index: 2200;
    background-color: var(--body-background);
    border-bottom: 1px solid #5e5e5e;
}

#banner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 auto;
    padding: 0 12px;
    color: #fff;
    position: relative;
    background-color: var(--body-background);
    z-index: 1400;
}

#echoseite {
    flex: 1 1 0;
    display: block;
    position: static;
    min-width: 0;
    padding-right: 0;
}

#echoseite h1 {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    color: #fff;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#logo {
    flex: 0 0 auto;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: none;
    z-index: 1200;
}

#logo img {
    display: block;
    width: 44px;
    height: 44px;
    max-width: none;
    margin: 0;
    border-radius: 50px;
}

#header-menu-area {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    z-index: 2300;
}

.header-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #050505;
    border: 1px solid #2d2d2d;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
}

.header-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

@media screen and (min-width: 630px) {
    #banner {
        width: 500px;
    }
}
        
            #logo img {
                
                display: block;  
                height: 35px;
                margin-left: 50px;
               
            }
      
  
        #hauptnav {
            position: fixed;
            display: inline-block;
            
            font-size: 40px;
            background-color: #000; 
            width: 100%;
            
            z-index: 100;
        }

            #hauptnav a {
               display: inline-block;
               margin-left: 5px; 
               font-size: 40px;
               height: 45px;
               width: 100%;
               padding-top: 1px;
               padding-left: 20px; 
            }


        
    main {
        grid-area: main;
        margin: 50px 10px 0 0px;
        display: grid;
            
    }


    #profiles_h2 {
        font-size: 15px;
        color: #7d7d7d;
        padding: 0 10px 20px 10px;
        margin: 0 40px 0 25px;
        
    }

    #auswahl {
        position: fixed;
        top: 25vh;
        font-size: 15px;
        margin-top: 25px;
        margin-bottom: 30px;
        background: #000;
        z-index: 10;           
        padding: 20px 10px 0 0;
        text-align: center; /* Zentriert den Inhalt */
    }
    
    #auswahl a {
        font-size: 16px;
        color: #fff;
        font-weight: bold;
        letter-spacing: 0.5px;
        padding: 10px;
        margin: 0; 
        display: grid;
        grid-template-columns: 1fr auto; 
        align-items: center;
        justify-content: space-between; 
        text-decoration: none;
        border-top: 1px solid #ccc;
        box-shadow: 0 1px 0px #ccc;
    }
    
    #auswahl p {
        margin: 2px 0; /* Abstand zwischen den Absätzen im Link */
    }
    
    #auswahl a.active {
        box-shadow: 0 4px 0 0 #000;
    }
    
    .link_beschreibung {
        text-align: center;
        padding: 2px 0 0 20px;
        font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-weight: 300;
    }
    
    .link_pfeil {
        font-size: 16px;
        color: #4f4f4f;
        padding: 10px;
        /*border: 1px solid black; */
        border-radius: 50%; 
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;

    
    }


        .logo_user {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin:auto;
            margin-top: 10px;
        }
   
        
        #gewerbe h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
                font-weight: 300;
            }

            #gewerbe ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

                #gewerbe ul li {
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;                   
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser gewerbedata"
                    "imguser gewerbedata"; 
                }


                .logouser {
                    grid-area: logouser;
                }

              

                .gewerbedata {
                    grid-area: gewerbedata;
                    overflow: hidden;
                }


                #gewerbe h3 {
                    /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-weight: 300;
                    color: #fff;
                    padding: 0 0 5px 0px;
                }

                #gewerbe p {
                    font-size: 13px;
                    color: #808080;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }

        
            #vereine h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
                font-weight: 300;
            }

            #vereine ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

            #vereine ul li {
               
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;                   
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser vereinedata"
                    "imguser vereinedata"; 
                }


                .vereinedata {
                    grid-area: vereinedata;
                    overflow: hidden;
                }




                #vereine h3 {
                     /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-weight: 300;
                    color: #fff;
                }

                #vereine p {
                    font-size: 13px;
                    color: #7b7b7b;
                    margin-top: 5px;
                    margin-bottom: 5px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }

       
            #verwaltung h2 {
                font-size: 16px;
                margin: 20px 0 20px 5px;
                color: #7b7b7b;
                font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
                font-weight: 300;
            }

            #verwaltung ul {
                padding: 5px;
                display: grid;
                /*https://www.youtube.com/watch?v=0xMQfnTU6oo&t=1168s CSS GRID Crash Course Brad Traversy 22:00 min*/
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                grid-gap: 10px;
                border-bottom: 1px solid #d7d7d7;
                padding-bottom: 30px;
            }

            #verwaltung ul li {
                    
                    border-radius: 10px;
                    padding: 10px 20px 10px 0px;
                   
                    margin-left: auto;
                    margin-right: auto;
                    display: grid;
                    grid-template-columns: 100px 1fr;
                    grid-template-areas:
                    "imguser verwaltungdata"
                    "imguser verwaltungdata";
                }


                .verwaltungdata {
                    grid-area: verwaltungdata;
                    overflow: hidden;
                }

                #verwaltung h3 {
                    /*https://www.w3schools.com/cssref/css3_pr_text-overflow.php
                    white-space: nowrap;*/
                    overflow: hidden;
                    text-overflow: "...";
                    margin-bottom: 0px;
                    margin-top: 0px;
                    line-height: 1.2;
                    font-size: 16px;
                    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-weight: 300;
                    color: #fff;
                    padding: 0 0 5px 0px;
                }

                #verwaltung p {
                    font-size: 13px;
                    color: #7b7b7b;
                    margin-top: 5px;
                    margin-bottom: 5px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: "...";
                    height: 15px;/*muss rein, sonst wird text, etwa beim "g" unten abgeschnitten, wegen overflow hidden. Also einfach Zeile höher...*/
                }
        
/*
                @media screen and (min-width: 450px) {

                    #gewerbe ul li{
                        width: 250px;
                    }
                    #verwaltung ul li {
                        width: 250px;
                    }
                    #vereine ul li {
                        width: 250px;
                    }

                }
*/

        @media screen and (min-width: 540px) {

           
            main {
                grid-area: main;               
                display: grid;
                                     
            }

            #auswahl {
                padding: 20px 20px 0px 0px;
            }

            #gewerbe ul li {
                min-height: 100px;
            } 
            #vereine ul li {
                min-height: 100px;
            } 
            #verwaltung ul li {
                min-height: 100px;
            } 

        }

    
        @media screen and (min-width: 700px) {

            #container {    

                width: 100%;
                height: 100%;
                
                display: grid;
                grid-template-columns: 1fr 700px 1fr;
                grid-template-areas: 
                "main main main"    
                "footer footer ."
                ;              
            }


        }

        @media screen and (min-width: 900px) {

            main {
                grid-area: main;
                display: grid;
                                
              }



        }


        @media screen and (min-width: 1024px) {
        
            #container {
                width: 100%;
                height: 100%;
                display: grid;
                grid-template-columns: 1fr 1000px 1fr;
                grid-template-areas:
                "main   main   main" 
                "footer footer footer   ";
              }


            main {
                grid-area: main;
                display: grid;
             
                grid-gap: 20px;
                
              }

        }

/* Finaler Profil-Override: muss nach den Legacy-Media-Queries stehen. */

html:not(.header-menu-open) {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.header-menu {
    width: 100%;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    position: static;
    transform: none;
}

#container {
    display: block;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.site-header-menu {
    z-index: 2200;
    background-color: #000;
    border-bottom: 1px solid #5e5e5e;
}

.site-header-menu-area {
    z-index: 2300;
}

main {
    display: block;
    width: min(1180px, calc(100% - 24px));
    max-width: none;
    margin: 0 auto;
    padding: 92px 0 56px;
}

#gewerbe ul,
#vereine ul,
#verwaltung ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
}

#gewerbe ul > a,
#vereine ul > a,
#verwaltung ul > a {
    display: block;
    min-width: 0;
}

#gewerbe ul li,
#vereine ul li,
#verwaltung ul li {
    min-width: 0;
    min-height: 112px;
    margin: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid #242424;
    border-radius: 18px;
    background: #080808;
}

.logo_user {
    width: 58px;
    height: 58px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #151515;
    border: 1px solid #303030;
}

#gewerbe h3,
#vereine h3,
#verwaltung h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#gewerbe p,
#vereine p,
#verwaltung p {
    height: auto;
    margin: 4px 0 0;
    color: #a8a8a8;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 768px) {
    main {
        width: min(1180px, calc(100% - 40px));
        padding-top: 104px;
    }

    #gewerbe ul,
    #vereine ul,
    #verwaltung ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media screen and (min-width: 1100px) {
    main {
        width: min(1180px, calc(100% - 64px));
    }

    #gewerbe ul,
    #vereine ul,
    #verwaltung ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}
