/* Grundlayout */

body {
    background: #5a81f6;  
    color: black;
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}

/* Überschrift und Info */

.site-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.site-title {
    font-size: 86px;
    font-weight: 400;
    margin: 0;
}

.info-button {
    background: #f7f0e5;
    color: black;
    border: none;

    padding: 6px 14px;        /* steuert Höhe & Breite */
    border-radius: 999px;     /* macht es pillenförmig */

    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    font-family: 'Libre Baskerville', serif;
}

/* Info ausgeklappt */

.info-box {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: #f7f0e5;
    overflow: hidden;
    padding: 0 24px;

}

.info-box.active {
    background: #f7f0e5;
    padding: 14px 24px; 
    display: block;
}

.info-text {
    font-size: 86px;
    line-height: 1.05;
    margin: 0;
}

/* Wörter, die animiert werden dürfen */
.stim-word {
    display: inline-block;
}

/* DER Effekt – schnell, nervös, reizartig */
.overstimulated {
    animation: overstimulated 0.12s linear infinite;
}

@keyframes overstimulated {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-1px, 0); }
    50%  { transform: translate(1px, 0); }
    75%  { transform: translate(0, -1px); }
    100% { transform: translate(0, 0); }
}

/* Paper Tabelle */

.paper-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Einzelnes Paper */

.paper {
    background: transparent;           /* eingeklappt durchsichtig */
    border-top: 1px solid #f7f0e5;
    border-bottom: none;
    border-left: none;
    border-right: none;

    padding: 16px 24px;
    overflow: hidden;
    transition: background 0.3s ease, height 0.3s ease;
    cursor: pointer;
}

.paper:hover {
    background: #f7f0e5;
    border-top: 1px solid #f7f0e5;
}

/* Titel */

.paper-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

/* Inhalt (erstmal versteckt) */

.paper-content {
    margin-top: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

/* Inhalt beim Hover sichtbar */
.paper:hover .paper-content {
    max-height: 500px;   /* groß genug für Text */
    opacity: 1;
}

.paper-links {
    display: flex;
    gap: 8px;          /* Abstand zwischen den Buttons */
    margin-top: 8px;
}

/* Link */

.paper a {
    margin-top: 8px;
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

/* Kurztext */

.paper-summary {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 8px;
    color: #000000;
    font-weight: 400;
}