/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/roboto-v47-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/roboto-v47-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: white;
}

header {
    background-color: #18b7ff;
    padding: 15px;
    text-align: center;
    font-size: 100%;
    color: white;
}

.navbar-nav {
    text-align: right;
}

.nav-item {
    margin-left: 15px;
    color: white;
}

.nav-link {
    color: #f0f0f0 !important;
    /* Leicht dunkleres Weiß für alle Links */
}

main {
    flex: 1;
    /* Hauptinhalt nimmt den restlichen Platz ein */
}

/*-------------------Kontakt------------------------*/
.contactUs {
    position: relative;
    width: 100%;
    padding: 40px 100px;
}

.contactUs .title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.contactUs .title h2 {
    color: #0e3959;
    font-weight: 500;
}

.form {
    grid-area: form;
}

.info {
    grid-area: info;
}

.map {
    grid-area: map;
}

.contact {
    padding: 40px;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.box {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 5fr;
    grid-template-areas:
        "form info"
        "form map";
    grid-gap: 20px;
    margin-top: 20px;
}

.contact h3 {
    color: #0e3959;

}

/*Form*/
.formBox {
    position: relative;
    width: 100%;
}

.formBox .row50 {
    display: flex;
    gap: 20px;
}

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox {
    width: 100%;
}

.inputBox span {
    color: #18b7ff;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
}

.inputBox textarea {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}

.inputBox input[type="submit"] {
    background: #ff578b;
    color: #fff;
    border: none;
    font-size: 1.1em;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.inputBox ::placeholder {
    color: #999;
}

.sci {
    margin-top: 40px;
    display: flex;
}

.sci li {
    list-style: none;
    margin-right: 15px;
}

.sci li a {
    color: #fff;
    font-size: 2em;
    color: #ccc;
}

.sci li a:hover {
    color: #fff;
}

/*- Info -*/

/* Standardstil für größere Bildschirme */
.info {
    background: #18b7ff;
}

.info h4 {
    color: #fff;
    text-align: center;
    /* Zentriert den Titel */
}

.info .infoBox {
    padding: 15px;
    /* Fügt Polsterung hinzu, um Platz um den Inhalt zu schaffen */
    max-width: 100%;
    /* Maximale Breite der Box */
    margin: 0 auto;
    /* Zentriert die Box */
}

.info .infoBox div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    /* Ermöglicht das Umbrechen von Elementen */
}

.info .infoBox div span {
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: #18b7ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius: 50%;
    margin-right: 15px;
}

.info .infoBox div p {
    color: #fff;
    font-size: 1.1em;
    margin: 0;
    /* Verhindert, dass der Text oben klebt */
    padding-left: 10px;
    /* Fügt etwas Abstand zwischen dem Text und dem Symbol hinzu */
}

.info .infoBox div a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
}

.map {
    padding: 0;
}

.map iframe {
    width: 100%;
    height: 100%;
}


.title {
    text-align: center;
    margin-top: 30px;
}


.profile-img {
    width: 100%;
    /* Bild nimmt den gesamten verfügbaren Platz */
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.shadow-box {
    background-color: #f2f2f2;
    /* Graue Hintergrundfarbe */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
    /* Schatten-Effekt */
    padding: 20px;
    border-radius: 15px;
}

/*-----------------------------AboutMe--------------------------*/
.about {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10%;
}

.about-img {
    flex: 1;
    max-width: 100%;
    text-align: center;
    margin-right: 10px;
}

.about-img img {
    width: 100%;
    max-width: 100%;
    /* Bild hat nun maximal 80% der Containerbreite */
    height: auto;
    display: block;
    /* Verhindert ungewollte Abstände */
    margin: 0 auto;
    /* Zentriert das Bild innerhalb der Container-Div */
    border-radius: 30px;
    /* Abgerundete Ecken innerhalb des Bildes */
}

.about-text {
    flex: 1;
    /* Flexible Breite */
    max-width: 100%;
    /* Maximal 70% Breite */
    text-align: left;
    /* Linksbündiger Text */
}

.about-text h6 {
    font-size: 18px;
    /* Schriftgröße korrigiert */
    color: #111111;
    font-weight: 400;
    margin-bottom:20px;
}

.about-text ul {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #0e3959;
    line-height: 30px;
    margin-bottom: 35px;
    list-style-type: disc;
    /* Zeigt Punkte an */
    padding-left: 20px;
    /* Gibt Platz für die Punkte */
    margin-left: 20px;
    /* Linker Rand für die Liste */
}

.about-contact ul {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #0e3959;
    margin-bottom: 35px;
    list-style-type: none;
    /* Keine Punkte für diese Liste */
    padding-left: 0;
}

.about-contact ul li {
    display: flex;
    align-items: center;
    /* Zentriert Icons und Text horizontal */
    margin-bottom: 10px;
}

.about-contact ul li span {
    margin-right: 10px;
    /* Abstand zwischen Icon und Text */
    color: #18b7ff;
}

.about-contact ul li a {
    color: #0e3959;
    text-decoration: none;
}

/*-------------------Footer--------------------*/
footer {
    display: flex;
    justify-content: space-between;
    /* Gleichmäßiger Abstand zwischen den Spalten */
    align-items: flex-start;
    /* Richtet die Spalten oben aus */
    padding: 15px;
    background-color: #18b7ff;
    color: white;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    /* Gleiche Breite für alle Spalten */
    text-align: center;
    /* Zentriert den Text in jeder Spalte */
}

.footer-column h5 {
    font-size: 0.95rem;
    /* Überschrift etwas kleiner */
    margin-bottom: 8px;
}

.footer-column p,
.footer-column a {
    font-size: 0.85rem;
    /* Kleinere Schriftgröße */
    color: white;
    text-decoration: none;
    line-height: 0;
    /* Reduziert den Abstand zwischen den Zeilen */
}


.footer-logo {
    width: 150px;
    height: auto;
    background-color: #18b7ff;
    padding: 5px;
    border-radius: 5px;
}


.footer a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: white;
    background-color: #18b7ff;
    /* gleiche Farbe wie der Footer */
    margin-top: 10px;
    /* Etwas Abstand vom Footer */
    padding: 5px;
    position: relative;
}

/* Wenn du Pseudo-Elemente verwendest, stelle sicher, dass du dort keinen Text einfügst */
.footer-copyright::before,
.footer-copyright::after {
    content: none;
    /* Entfernt alle möglichen vorherigen Inhalte, um doppelten Text zu verhindern */
}

/*------------------Media-----------------*/
/* Für kleinere Bildschirme (max. 768px) */
@media (max-width: 768px) {

    /* Anpassen der Box-Anordnung */
    
    .box{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "form"
        "info"
        "map";
        grid-gap: 10px;
        margin: 5px;
    }
    /* Die Breite der Formulareingabefelder anpassen */
    .formBox .row50 {
        flex-direction: column;
        /* Eingabefelder untereinander anordnen */
    }

    .inputBox {
        width: 100%;
        /* Volle Breite für Eingabefelder */
        margin-bottom: 15px;
        /* Etwas Abstand zwischen den Eingabefeldern */
    }

    .contactinfo {
        width: 50%;
    }

    .contactUs,
    .contact {
        padding: 15px;
        /* Weniger Padding für kleinere Bildschirme */
    }

    .info .infoBox {
        max-width: 80%;
        /* Verkleinert die Box auf 80% der Breite */
        margin: 0 auto;
        /* Zentriert die Box */
    }

    .info .infoBox div {
        display: block;
        flex-direction: column;
        /* Stellt die Elemente untereinander */
        text-align: center;
        /* Zentriert den Text */
    }

    .info .infoBox div span {
        margin-bottom: 10px;
        /* Fügt einen Abstand zwischen den Symbolen und Texten hinzu */
    }

    .info .infoBox div p,
    .info .infoBox div a {
        font-size: 1em;
        /* Reduziert die Schriftgröße für kleinere Bildschirme */
    }

    .about {
        padding: 5%;
    }

    .about-img {
        max-width: 80%;
        margin-right: 0;
    }

    .about-text {
        max-width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .about-text h6 {
        font-size: 20px;
    }

    .about-text ul {
        font-size: 14px;
    }

    .about-contact ul li {
        font-size: 14px;
    }

    footer {
        flex-direction: column;
        /* Ändert die Richtung des Footers auf vertikal */
        align-items: center;
        /* Zentriert die Elemente */
        text-align: center;
        /* Zentriert den Text */
    }
    .footer-logo img {
        width: 150px; /* Größeres Logo für größere Bildschirme */
      }

    .footer-container {
        flex-direction: column;
        /* Die Spalten werden untereinander angezeigt */
        align-items: center;
        justify-content: center;
    }

    .footer-column {
        width: 100%;
        /* Stellt sicher, dass jede Spalte die volle Breite einnimmt */
        margin-bottom: 10px;
        /* Fügt einen Abstand zwischen den Spalten hinzu */
    }
}

/* Für noch kleinere Bildschirme (max. 480px) */
@media (max-width: 480px) {

    /* Weitere Anpassungen für sehr kleine Bildschirme */
    header {
        font-size: 85%;
        /* Noch kleinere Schrift im Header */
        padding: 8px;
        /* Weniger Padding im Header */
    }

    .contactUs .title {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1em;
    }

    .contactUs .title h2 {
        color: #0e3959;
        font-weight: 500;
    }


    .inputBox input,
    .inputBox textarea {
        font-size: 1em;
        /* Kleinere Schrift in Eingabefeldern */
        padding: 10px;
        /* Mehr Platz in Eingabefeldern */
    }

    .info h4 {
        color: #fff;
        text-align: center;
        /* Zentriert den Titel */
        font-size: 1rem;
    }

    .info .infoBox {
        max-width: 90%;
        /* Verkleinert die Box auf 90% der Breite */
        padding: 0px;
        /* Weniger Polsterung für kleinere Bildschirme */
        display: block;
    }

    .info .infoBox div {
        display: block;
        flex-direction: column;
        /* Stellt die Elemente untereinander */
        text-align: center;
        /* Zentriert den Text */
    }

    .info .infoBox div span {
        margin-bottom: 10px;
        /* Fügt einen Abstand zwischen den Symbolen und Texten hinzu */
    }

    .info .infoBox div p,
    .info .infoBox div a {
        font-size: 18px; /*1em*/
        /* Reduziert die Schriftgröße für Handys */
    }
    .box{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "form"
        "info"
        "map";
        grid-gap: 10px;
        margin: 5px;
    }
    .map iframe {
        height: 180px;
        /* Kleinere Kartenanzeige */
        width: 100%;
        /* Die Karte nimmt die volle Breite ein */
    }

    .about {
        flex-direction: column;
        /* Bilder und Text untereinander anordnen */
        padding: 2%;
    }

    .about-img {
        max-width: 100%;
        margin-bottom: 20px;
        /* Abstand zwischen Bild und Text */
    }

    .about-text {
        max-width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .about-text h6 {
        font-size: 20px;
    }

    .about-text ul {
        font-size: 18px;
    }

    .about-contact ul li {
        font-size: 16px;
        text-align: center;
    }

    footer {
        flex-direction: column;
        /* Ändert die Richtung des Footers auf vertikal */
        align-items: center;
        /* Zentriert die Elemente */
        text-align: center;
        /* Zentriert den Text */
    }

    .footer-container {
        flex-direction: column;
        /* Die Spalten werden untereinander angezeigt */
        align-items: center;
        justify-content: center;
    }

    .footer-column {
        width: 100%;
        /* Stellt sicher, dass jede Spalte die volle Breite einnimmt */
        margin-bottom: 10px;
        /* Fügt einen Abstand zwischen den Spalten hinzu */
    }
}

@media screen and (max-width: 1024px) {

    /* Kontaktformular */
    .contactUs {
        padding: 20px;
    }

    .contact .form {
        width: 100%;
    }

    .contact .form .formBox {
        width: 100%;
    }

    .contact .form .row50 {
        flex-direction: column;
    }

    .contact .form .row50 .inputBox {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Info Box */
    .contact .info {
        margin-top: 20px;
    }

    .contact .info .infoBox {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .contact .info .infoBox div {
        display: flex;
        align-items: center;
    }

    .contact .info .infoBox div span {
        margin-right: 10px;
    }

    /* Map */
    .contact .map iframe {
        width: 100%;
        height: 300px;
    }

    /* Footer */
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .footer-column {
        margin-bottom: 15px;
    }

    footer .footer-column a {
        text-decoration: none;
        color: inherit;
    }

    footer .footer-column .footer-copyright {
        margin-top: 20px;
    }

    .footer-logo img {
    width: 150px; /* Kleineres Logo für kleine Bildschirme */
  }
}

