/* ===========================================
   GLOBAL / RESET
=========================================== */
* {
    box-sizing: border-box;
    /* font-family: 'Courier New', Courier, monospace; */
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    text-align: center;
    margin-bottom: 1rem;
}

body {
    background-color: #120313;
    /* font-family: 'Times New Roman', Times, serif; */
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    padding: 0 5%;
    hyphens: auto;
    line-height: 1.6;
}

/* Listen */
ul {
    list-style-type: none;
}

/* ===========================================
   BUTTONS
=========================================== */

/* DEAKTIVIERTE BUTTONS */
.deactivebutton {
    position: relative;
    width: 250px;
    height: auto;
    margin: 10px;
    padding: 5px;
    font-size: 2rem;
    border: none;
    outline: none;
    border-radius: 12%;
    background: linear-gradient(to right, #8c52ff, #ededed);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.deactivebutton::before {
    content: attr(data);
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    text-align: center;
    background-color: #120313;
    border-radius: 12%;
    color: white;
    padding-top: 1%;
}

.deactivebutton::after {
    content: attr(data);
    font-size: 16px;
    color: #27133a;
    transition: 0.2s;
}

/* AKTIVE BUTTONS */
.activebutton {
    position: relative;
    width: 250px;
    height: auto;
    margin: 10px;
    padding: 5px;
    font-size: 2rem;
    border: none;
    outline: none;
    border-radius: 20%;
    background: #8c52ff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.activebutton::before {
    content: attr(data);
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    text-align: center;
    background-color: #8c52ff;
    border-radius: 25%;
    color: white;
    padding-top: 2%;
}

.activebutton::after {
    content: attr(data);
    font-size: 16px;
    color: white;
    transition: 0.2s;
}

/* Hover und Focus Effekte für Barrierefreiheit */
.activebutton:hover,
.deactivebutton:hover,
.activebutton:focus,
.deactivebutton:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    transform: scale(1.05);
    box-shadow: 0 0 10px #8c52ff;
}

/* ===========================================
   MAIN / SECTIONS
=========================================== */
main {
    margin-bottom: 2%;
}

main h1 {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Horizontale Linie */
hr {
    height: 5px;
    border: none;
    background: linear-gradient(to right, #8c52ff, transparent, #8c52ff);
    width: 80%;
    margin: 20px auto 2% auto;
}

/* ===========================================
   MAIN TEXT / COLUMNS
=========================================== */
.maintextcontainer {
    display: flex;
    flex-wrap: wrap; /* für kleinere Bildschirme */
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 2%;
}

.column {
    flex: 1;
    padding: 10px;
    font-size: 2rem;
    min-width: 250px; /* verhindert zu kleine Spalten */
}

/* Spezifische Section */
.Servicesection p:nth-child(1) {
    font-size: 3rem;
}

/* ===========================================
   RESPONSIVE DESIGN
=========================================== */
@media (max-width: 1024px) {
    main h1 {
        font-size: 4rem;
    }
    h2 {
        font-size: 3rem;
    }
    .column {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    main h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .column {
        font-size: 1.5rem;
        flex-basis: 100%;
    }

    .activebutton,
    .deactivebutton {
        width: 100%;
        font-size: 1.8rem;
    }
}

/* ===========================================
   BARriereFREIHEIT
=========================================== */
button:focus,
a:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
