/* Seitenlasche */



/* Gesamtes Kontaktelement fix am rechten Bildschirmrand */
.contact-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1000;
}


/* Unsichtbare Checkbox dient als Schalter */
.contact-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/*
 * Enthält Seitenlasche und Kontaktpanel.
 * Die Lasche bleibt oben am Panel ausgerichtet.
 */
.contact-box {
    display: flex;
    align-items: flex-start;

    /* Panel geschlossen ausserhalb des sichtbaren Bereichs */
    transform: translate(280px, -50%);

    /* Weiches Ein- und Ausfahren */
    transition: transform 0.3s ease;
}


/* Panel beim Klick einblenden */
.contact-toggle:checked + .contact-box {
    transform: translate(0, -50%);
}


/* Kleine vertikale Seitenlasche */
.contact-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 10px;
    background: #333;
    color: #fff;
    cursor: pointer;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1;
}


/* Ausfahrbarer Kontaktbereich */
.contact-panel {
    box-sizing: border-box;
    width: 280px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}


/* Überschrift */
.contact-panel strong {
    display: block;
    margin-bottom: 18px;
}


/* Textabstände */
.contact-panel p {
    margin: 10px 0 0;
}


/* Links im Kontaktbereich */
.contact-panel a {
    color: inherit;
    text-decoration: none;
}


/* Links beim Darüberfahren hervorheben */
.contact-panel a:hover {
    text-decoration: underline;
}