html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

h1,
h2,
h3,
p,
a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

hr {
    border: 1px solid rgba(68, 68, 68, 0.1);
    width: 80%;
}

/* Sections */

#features {
    width: 100%;
    margin: auto;
    background: rgba(68, 68, 68, 0.1);
}

#vorteile {
    width: 100%;
    margin: auto;
    height: 200px;
}

#demo {
    width: 100%;
    margin: auto;
    background: rgba(68, 68, 68, 0.1);
}

#kontakt {
    width: 100%;
    margin: auto;
    background: rgb(255, 255, 255);
}

#footer {
    width: 100%;
    margin: auto;
    height: 200px;
    background: rgb(15, 22, 35);
}

.navbar-container,
.topper-container,
.phone-container,
.tablet-container,
.vorteile-container,
.kontakt-container {
    width: 75%;
}

/* Navbar */
.navbar-section {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 99;
    height: 80px;
}

.navbar-container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;

}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    align-items: center;
    word-spacing: 15px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
}

/* Hero */
.hero {
    background: linear-gradient(135deg,
            rgb(15, 22, 35) 0%,
            rgb(24, 34, 54) 50%,
            rgb(46, 58, 85) 100%);
    height: 100vh;
    display: grid;
}

/* Navbar */
.navbar-section {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 99;
    height: 80px;
}

.navbar-container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;

}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    align-items: center;
    word-spacing: 15px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
}

/* Topper */
.topper-container {
    margin: auto;
    display: flex;
    padding-bottom: 81px;
}

.topper-h1 {
    color: rgb(255, 255, 255);
}

.topper-h2 {
    color: rgb(255, 255, 255);
    font-weight: 100;
}

.topper-left {
    width: 40%;
}

.topper-right {
    width: 60%;
}

/* Phone */
.phone-section {
    display: flex;
}

.phone-container {
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 100px;
}

.phone-right,
.phone-left {
    display: grid;
    align-items: center;
    margin-bottom: 10px;
}

.phone-left h1,
.phone-left p,
.phone-right h1,
.phone-right p {
    margin: 0px;
}

/* Tablet */
.tablet-section {
    display: flex;
}

.tablet-container {
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 150px;
}

.tablet-right,
.tablet-left {
    display: grid;
    align-items: center;
}

.tablet-right-feature,
.tablet-left-feature {
    margin-bottom: 12px;
}

.tablet-left h1,
.tablet-left p,
.tablet-right h1,
.tablet-right p {
    margin: 0px;
}

/* Demo */
.demo-section {
    display: flex;
    align-items: center;
}

.demo-container {
    margin: 100px auto;
    display: grid;
    justify-content: center;
}

.demo-guest {
    margin: auto;
}

iframe {
    border: solid 10px black;
    border-radius: 50px;
    transform: scale(0.8);
}

/* Contact Form */
.kontakt-section {
    display: flex;
    align-items: center;
}

.kontakt-container {
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 100px 0;
}

.contact-form {
    width: 100%;
    max-width: 700px;
    background: white;
    border: 1px solid rgba(68, 68, 68, 0.1);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(15, 22, 35, 0.05);
}

.contact-header h2 {
    margin: 0;
    font-size: 36px;
    color: rgb(15, 22, 35);
}

.contact-header p {
    margin-top: 10px;
    color: rgba(15, 22, 35, 0.7);
    line-height: 1.6;
}

.contact-row {
    display: flex;
    gap: 20px;
}

.contact-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(68, 68, 68, 0.12);
    background: rgba(68, 68, 68, 0.03);
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgb(15, 22, 35);
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    width: fit-content;
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    background: rgb(15, 22, 35);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

/* Footer */
.footer-section {
    height: 200px;
    margin: auto;
    display: flex;
}

.footer-container {
    display: grid;
    justify-content: center;
    gap: 10px;
    margin: auto;
}

.footer-links {
    word-spacing: 10px;
}

@media (max-width: 768px) {

    /* Sections */
    #vorteile,
    #demo,
    #kontakt,
    .phone-section,
    .tablet-section {
        height: 100vh;
    }

    .demo-section {
        display: none;
    }

    .navbar-container,
    .topper-container,
    .phone-container,
    .tablet-container,
    .kontakt-container {
        width: 90%;
    }

    /* Navbar */
    .navbar-section {
        height: 90px;
    }

    .navbar-container {
        display: grid;
        justify-content: center;
        gap: 10px;
    }

    .navbar-left {
        justify-self: center;
    }

    /* Topper */
    .topper-container {
        padding-bottom: 80px;
    }

    .topper-left {
        justify-self: center;
        width: 100%;
    }

    .topper-right {
        display: none;
    }

    .topper-left h1,
    .topper-left h2 {
        text-align: center;
    }

    /* Features */
    .phone-container {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .phone-mid {
        display: none;
    }

    .tablet-container {
        gap: 100px;
        margin-bottom: 50px;
    }

    .tablet-mid {
        display: none;
    }

    /* Contact Form */
    .kontakt-section {
        height: 100vh;
    }

    .kontakt-container {
        padding: 0 !important;
    }

    .contact-form {
        padding: 30px;
        display: grid;
        align-items: center;
        border: none;
        box-shadow: none;
    }

    .contact-row {
        flex-direction: column;
        gap: 20px;
    }


    .contact-header p {
        margin: 0;
    }
}