/* Allgemeine Stile */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ändert height auf min-height */
    background-color: #e8e8e8;
    font-family: Arial, sans-serif;
    margin: 0;
    text-align: center;
    overflow: hidden; /* Verhindert unnötiges Scrollen */
}


body.scrollable {
    overflow: auto;
}


/* Header (Überschrift) */
header {
    margin-bottom: 20px;
}

h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.2em;
    color: #555;
}

/* Visitenkarten-Container */
.card-container {
    perspective: 1200px;
    width: 450px;
    height: 260px;
}

/* Karte */
.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

/* Vorder- und Rückseite */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backface-visibility: hidden;
    padding: 25px;
    text-align: center;
    border: 2px solid #333;
    transition: transform 0.3s ease-in-out;
}

/* Rückseite rotiert */
.card-back {
    transform: rotateY(180deg);
    background: #f7f7f7;
}

/* Flip-Animation */
.card.flipped {
    transform: rotateY(180deg);
}

/* Visitenkarten-Design */
.card-content {
    width: 100%;
}

h2 {
    font-size: 1.6em;
    margin-bottom: 5px;
    color: #222;
}

.role {
    font-size: 1.2em;
    color: #777;
    margin-bottom: 15px;
}

/* Kontaktinfos */
.contact-info {
    font-size: 1.2em;
    text-align: center;
    line-height: 1.5;
}

.contact-info p {
    margin: 5px 0;
    font-size: 1em;
}

/* Dienstleistungen */
.activity-list {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
    text-align: left;
    width: 90%;
}

.activity-list li {
    margin: 10px 0;
}

/* Flip-Button Container */
.button-container {
    margin-top: 30px; /* Abstand zur Karte */
}

/* Flip-Button */
.flip-button {
    margin-top: 30px;
    background-color: #222;
    color: white;
    font-size: 1.2em;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.flip-button:hover {
    background-color: #444;
}

/* ========== AGB / Impressum / Datenschutz Styles ========== */

/* Inhalt-Container für statische Seiten */
.content-container {
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Abschnittsüberschriften */
.content-container h2 {
    font-size: 1.5em;
    color: #222;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-top: 20px;
}

/* Textabsätze */
.content-container p {
    font-size: 1.1em;
    color: #444;
    line-height: 1.6;
}

/* Links */
.content-container a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.content-container a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 1em;
    color: #333;
    padding: 10px;
    width: 100%;
}

nav a {
    text-decoration: none;
    color: #222;
    margin: 0 12px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #555;
}
