@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

*{
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

img{
    width: 100%;
    display: flex;
}

a{
    text-decoration: none;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #18181B;
}

nav{
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo{
    max-width: 100px;
}

.nav-links{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}



.link a{
    position: relative;
    padding-bottom: 0.75rem;
    color: #fff;
}

body.default .link a {
    color: #000; /* schwarzer Text im Light Mode */
}

.link a::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #5F6DF8;
    transition: all 0.3s ease;
}

.link a:hover::after{
    width: 70%;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: transparent;  /* durchsichtig */
  color: #fff;                    /* weiße Schrift */
  border: 2px solid #fff;         /* weißer Rand */
  border-radius: 8px;             /* abgerundete Ecken */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.1); /* leichter weißer Hover-Hintergrund */
}

/* White Mode */
.default .btn {
  color: #000;                    /* schwarzer Text */
  border-color: #000;             /* schwarzer Rand */
  background-color: transparent; /* transparent */
}

.default .btn:hover {
  background-color: rgba(0, 0, 0, 0.1); /* leichter schwarzer Hover-Hintergrund */
}


.container{
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.blur{
    position: absolute;
    box-shadow: 0 0 1000px 50px #5F6DF8;
    z-index: -100;
}

header{
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4{
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
}

.default .container h2.header {
    color: #000; /* schwarz */
}

header .content h1{
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h1 span{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #fff;
}

/* START animation*/

.type-effect span._char {
    display: inline-block;
    opacity: 0;
    animation: appear 0.3s forwards;
}

@keyframes appear {
    to {
        opacity: 1;
    }
}

/* END animation */


body.default header .content h4 {
    color: #444; /* dunkleres Grau für Kontrast im Light Mode */
}

body.default header .content h1 {
    color: #000; /* schwarzer Text */
}

body.default header .content h1 span {
    -webkit-text-stroke: 1px #000; /* schwarzer Umriss */
}

header .content p{
    margin-bottom: 2rem;
    color: #ccc;
}

.default header .content p {
    color: #333; /* Dunkleres Grau für bessere Lesbarkeit im White Mode */
}

header .image{
    position: relative;
}

header .image::before{
    content: "o";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38rem;
    font-weight: 400;
    line-height: 20rem;
    color: #1d4ed8;
    opacity: 0.2;
    z-index: -100;
}

header .image img{
    max-width: 600px;
    margin: auto;
}

section .header{
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.features{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.features .card{
    background-color: #27272a;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.features .card:hover{
    background-color: #323232;
    border-color: #fff;
}



.features .card h4{
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.features .card p{
    color: #ccc;
    margin-bottom: 1rem;
}

/* White Mode */
.default .features .card {
    background-color: transparent; /* transparent statt weiß */
    border: 2px solid #000;        /* schwarzer Rand */
    color: #000;                   /* Text schwarz */
}
.default .features .card:hover {
    background-color: #f4e5d2; /* Heller Hover-Effekt */
    border-color: #000; /* Schwarzer Rahmen beim Hover */
}
.features .card span {
    display: inline-block;
    background-color: transparent; /* Transparent Background */
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #fff;
    border-radius: 50%; /* Nur 2px Radius */
    border: 2px solid #fff; /* Weißer Rahmen */
}

.default .features .card span {
    background-color: transparent; /* Hintergrund durchsichtig */
    color: #000; /* Text schwarz */
    border: 2px solid #000; /* Schwarzer Rahmen, 1px dick */
    padding: 2px 9px; /* Optional: etwas Innenabstand, sieht oft besser aus */
    border-radius: 50%; /* Optional: leicht abgerundete Ecken */
}


.default .features .card h4 {
    color: #000; /* Überschrift schwarz */
}

.default .features .card p {
    color: #333; /* Text etwas dunkleres Grau für bessere Lesbarkeit */
}

.features .card a{
    color: #fff;
    transition: all 0.3s ease;
}

.features .card a:hover{
    color: #5F6DF8;
}

.sub-header{
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #ccc;
}

.pricing{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing .card{
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pricing .card:hover{
    background-color: #323232;
    border-color: #fff;
}

.pricing .card .content{
    flex: 1;
    margin-bottom: 2rem;
}

.pricing .card h4{
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.pricing .card h3{
    color: #fff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 2px dashed #fff;
}

.pricing .card p{
    color: #fff;
    margin-bottom: 0.75rem;
}

.pricing .card p i{
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.pricing .card button{
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
}

.pricing .card button:hover{
    background-color: #5F6DF8;
    border-color: #5F6DF8;
}

/* about me */

.container .aboutme{
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}
.container .text{
    color: white;
    text-align: center;
}


/* White Mode */
.default .container .aboutme {
    color: #000; /* Schwarz für White Mode */
}

.default .container .text {
    color: #000; /* Schwarz für White Mode */
}

/* Footer */

footer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center; /* zentriert den Inhalt horizontal */
    text-align: center;     /* zentriert den Text innerhalb */
    gap: 2rem;
}
footer .column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .column .logo{
    max-width: 150px;
    margin-bottom: 2rem;
}

footer .column p{
    color: #ccc;
    margin-bottom: 2rem;
}

.default footer .column p {
    color: #000; /* schwarzer Text im Light Mode */
}

footer .column .socials{
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .column .socials a{
    color: #ccc;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 1.25rem;
    border-radius: 100%;
    transition: all 0.3s ease;
}

/* White Mode */
.default footer .column .socials a {
    color: #000;            /* Schwarz */
    border: 1px solid #000; /* Schwarzer Rand */
}

footer .column .socials a:hover{
    color: #000;
    background-color: #5F6DF8;
    border-color: #000;
}

footer .column h4{
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

footer .column > a{
    display: block;
    color: #ccc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover{
    color: #1d4ed8;
}

.copyright{
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

.default .copyright {
    color: #000; /* schwarzer Text im Light Mode */
}

@media (width < 900px){
    .nav-links{
        display: none;
    }
    header{
        grid-template-columns: repeat(1, 1fr);
    }
    header .image{
        grid-area: 1/1/2/2;
    }
    .features{
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing{
        grid-template-columns: repeat(2, 1fr);
    }
   footer {
    display: grid;  /* falls noch nicht gesetzt */
    grid-template-columns: 1fr;  /* wirklich nur 1 Spalte */
    justify-items: center;  /* Inhalt zentrieren */
    text-align: center;  /* Text optional auch zentrieren */
}
}

@media (width < 600px){
    header .image::before{
        display: none;
    }

    .features{
        grid-template-columns: repeat(1, 1fr);
    }

    .pricing{
        grid-template-columns: repeat(1, 1fr);
    }

     footer {
    display: grid;  /* falls noch nicht gesetzt */
    grid-template-columns: 1fr;  /* wirklich nur 1 Spalte */
    justify-items: center;  /* Inhalt zentrieren */
    text-align: center;  /* Text optional auch zentrieren */
}
}


/*--- ab hier selber probieren*/

/*--- KONTAKT-SEITE*/

#kontakt-bereich h1{
    color: #fff;
    text-align: center;
    margin-top: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

#kontakt-bereich p {
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    width: 80%;
    margin-bottom: 2.5rem;
}
.default #kontakt-bereich h1 {
    color: #111; /* dunkles Grau statt Weiß */
    text-align: center;
    margin-top: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.default #kontakt-bereich p {
    color: #222; /* etwas heller als h1 */
    text-align: center;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    width: 80%;
    margin-bottom: 2.5rem;
}


#kontakt-bereich {
    padding-top: 1rem;
}

#kontakt-formular input,
#kontakt-formular textarea {
    width: 100%;
    background-color: transparent;
    border: 2px solid #fff; /* weißer Rand im Dark Mode */
    padding: .5rem;
    font-size: 1rem;
    font-family: Helvetica Neue, 'Raleway', 'Lato', sans-serif; 
    color: #fff;
    border-radius: 10px;
    transition: border 0.3s ease, background-color 0.3s ease;
}

#kontakt-formular textarea {
    height: 100px;
}

#kontakt-formular input::placeholder,
#kontakt-formular textarea::placeholder {
    color: #aaa;
    transition: color 0.3s ease;
}

#kontakt-formular input:hover,
#kontakt-formular textarea:hover {
    border-color: #5F6DF8;
}

#kontakt-formular input:hover::placeholder,
#kontakt-formular textarea:hover::placeholder {
    color: #5F6DF8;
}
.default #kontakt-formular input,
.default #kontakt-formular textarea {
    width: 100%;
    background-color: transparent;
    border: 2px solid #000;      /* schwarzer Rand */
    padding: .5rem;
    font-size: 1rem;
    font-family: Helvetica Neue, 'Raleway', 'Lato', sans-serif; 
    color: #000;                 /* schwarzer Text */
    border-radius: 10px;
    transition: border 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.default #kontakt-formular textarea {
    height: 100px;
}

.default #kontakt-formular input::placeholder,
.default #kontakt-formular textarea::placeholder {
    color: #666;                 /* grauer Platzhalter */
    transition: color 0.3s ease;
}

.default #kontakt-formular input:hover,
.default #kontakt-formular textarea:hover {
    border-color: #555;          /* dunkler Rand beim Hover */
}

.default #kontakt-formular input:hover::placeholder,
.default #kontakt-formular textarea:hover::placeholder {
    color: #555;                 /* dunklerer Platzhalter beim Hover */
}

#kontakt-formular {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

#kontakt-formular label {
    visibility: hidden;
    display: block;
    height: 0rem;
}


.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}



/* Optional für volle Breite bei 1-Feld-Reihen */
.row > input,
.row > textarea,
.row > button {
  width: 100%;
}


@media (max-width: 1366px){
    #kontakt-formular {
        width: 90%;  
    }
}

@media (max-width: 1024px){
    #kontakt-formular {
        width: 90%;  
    }
}

#absendenButton {
  width: 150px;
  height: 39px;
  background-color: transparent;
  border: 2px solid #fff;  /* Standard: weißer Rand */
  color: #fff;             /* Standard: weiße Schrift */
  cursor: pointer;
  transition: border 0.3s ease-in-out, color 0.3s ease-in-out;
  border-radius: 10px;
}
/* White Mode (wenn body z.B. class="default" hat) */
.default #absendenButton {
  border-color: #000;
  color: #000;
}

.default #absendenButton:hover {
    border: 2px solid #555; /* Randfarbe bei Hover */
    color: #555; /* Textfarbe bei Hover */
}

#absendenButton:hover {
    border: 2px solid #5F6DF8; /* Randfarbe bei Hover */
    color: #5F6DF8; /* Textfarbe bei Hover */
}



@media (max-width: 768px){
    #kontakt-formular button {
        width: 100%;  
    }
}



/*--- IMPRESSUM-SEITE*/

#impressum {
    padding-top: 1rem;
    color: #fff;
}



#impressum a {
    display: inline-block; /* macht vertical spacing möglich */
    margin-top: 2rem;
    text-decoration: none;
    font-weight: bold;
    color: #ddd;
}

#impressum h1 {
    margin-bottom: 1rem;
}
#impressum h2 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* whitemode impressum */

.default #impressum {
    padding-top: 1rem;
    color: #222; /* dunkles Grau statt Weiß */
}

.default #impressum a {
    display: inline-block; /* macht vertical spacing möglich */
    margin-top: 2rem;
    
    text-decoration: none;
    font-weight: bold;
    color: #333; /* dunkleres, dezentes Braun statt hellrosa */
}

* {box-sizing: border-box;}

body.dark {background-color: #292c35;} /* #9b59b6 */

body.dark h1, body.dark .support a {color: #fff;}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #111;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}


/*--- hier alle stylings für den white mod*/

body.default {
    font-family: 'Poppins', sans-serif;
    background-color: #e3dbd2;
    color: #000;
} 

.nav-logo .default{
    max-width: 100px;
    color: black ;
}

.checkbox-label span {
    color: #fff;
}