@charset "utf-8";
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%/1.4;
    background: #f4f4f4;
    margin: 30px 10px;
    padding: 0;
    color: #000;
}
ul, ol, dl {
    padding: 0;
    margin: 0;
    list-style: none;
}
h1 {
    font-size: 4.0rem;
    letter-spacing: 0.08em;
    font-weight: 300;
}
p {
    margin-top: 0;
    padding-left: 5px;
}
a {
    text-decoration: none;
    color: #000;
}
img {
    border: none;
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 960px;
    background: #FFFFFF;
    margin: 50px auto 5px;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.1);
}
.header {
    display: flex;
    align-items: center;
}
.logo {
    width: 220px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo a {
    display: block;
    width: 100%;
    height: 100%;
}
.logo img, 
.logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}
.trailer {
    padding-left: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-family: "JetBrains Mono", monospace;
}
.content-right-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.qr-wrapper {
    align-self: flex-end;
    margin-top: auto;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.scanner-laser {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: laserSweep 4s ease-in-out infinite;
}

@keyframes laserSweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}
#qrpic {
    width: 100px;
    height: auto;
    display: block;
}
.main-layout {
    display: flex;
    min-height: 390px;
}
.sidebar {
    width: 220px;
    padding-bottom: 10px;
    flex-shrink: 0;
}
.abt {
    padding: 0px 3px 0 5px;
    margin-bottom: 130px;
    text-align: right;
    font-weight: normal;
    font-variant: small-caps;
    letter-spacing: 0.1em;
}
.adrs {
    text-align: right;
    padding: 0 0 0 3px;
    margin-bottom: 0;
    font-size: 0.9rem;
}
.content {
    padding: 0 20px;
    width: 515px;
    flex-grow: 1;
}
.content h1 {
    margin-top: 0;
    padding-right: 10px;
    padding-left: 20px;
    font-size: 1.5rem;
}
.content h2 {
    margin: 10px 0 0 0;
    padding-left: 20px;
    font-size: 1.1rem;
    font-weight: 300;
}
.content p {
    margin: 0 0 3px 0;
    padding-left: 20px;
    font-size: 0.9rem;
}
.footer {
    margin-top: 5px;
    padding: 0;
    text-align: center;
    font-size: 0.8rem;
}

.tw-line::after {
    content: '';
    display: none;
}
.active-cursor::after {
    content: '|';
    display: inline;
    animation: cursorBlink 0.8s infinite;
    color: #1d1f20;
    font-weight: bold;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    50.1%, 100% { opacity: 0; }
}

.trailer #layer1 path,
.trailer #layer1 #text1 {
    fill: #1d1f20;
    opacity: 0;
    animation: fadeInOnly 4.0s ease forwards;
}

.trailer #layer1 #text1 { animation-delay: 0.2s; }
.trailer #layer1 #path1 { animation-delay: 1.0s; }
.trailer #layer1 #path2 { animation-delay: 1.5s; }
.trailer #layer1 #path3 { animation-delay: 2.0s; }
.trailer #layer1 #path4 { animation-delay: 2.5s; }
.trailer #layer1 #path5 { animation-delay: 3.0s; }
.trailer #layer1 #path6 { animation-delay: 3.5s; }

@keyframes fadeInOnly {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* Für Tablets / Pads (Bildschirme bis 800px Breite) */
@media screen and (max-width: 800px) {
    .container {
        padding: 0 10px;
    }
    
    .abt {
        margin-bottom: 60px;
    }
}

/* Für Smartphones / Mobile (Bildschirme bis 650px Breite) */
@media screen and (max-width: 650px) {
    body {
        margin: 5px;
    }

    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Logo bleibt oben */
    .logo {
        margin: 0 auto;
    }

    .trailer {
        order: 2;
        width: 100%;
        padding-left: 0;
        margin-bottom: 15px;
        display: flex;
        gap: 10px;
    }

    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        text-align: left;
        padding: 0 10px;
    }

    .abt, .adrs {
        text-align: right;
        margin-bottom: 20px;
        padding-right: 10px;
    }

    .content {
        width: 100%;
        padding: 10px 0;
    }

    .content h1, 
    .content h2, 
    .content p {
        padding-left: 5px;
    }

    .qr-wrapper {
        align-self: center;
        padding: 20px 0;
    }
}