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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}

.hero {
    position: relative;
    height: 50vh;
    background: url("bg.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    color: #fff;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ddd;
    margin-top: 0.5rem;
}

.hero p {
    margin-top: 1rem;
    color: #ccc;
}

.section {
    position: relative;
    padding: 4rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

section#kontakt{
    display:grid;
    grid-template-columns: 4fr 2fr;
}

section#kontakt span#info{
    padding-top: 58px;
}

.section-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 700;
    color: #f0f0f0;
    z-index: -1;
}

.section-number.dark {
    color: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

#aboutText{
    display: grid;
    max-width: 700px;
    margin: 0 auto;
}

#aboutText #list{
    margin: auto;
    font-size: 1.4rem;
}

.about p {
    color: #333;
}

.service-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 700px;
    margin: auto;
}

.card {
    display: grid;
    border: 1px solid #ddd;
    padding: 1.75rem;
    transition: all 0.4s ease;
    background: #fff;
    grid-template-areas: "icon header"
                         "icon text";
}

.card:hover {
    transform: translateY(-4px);
    border-color: #000;
}

.card h4 {
    margin-bottom: 0.5rem;
    grid-area: header;
}

.card p {
    margin-bottom: 0.5rem;
    grid-area: text;
}

.card svg {
    grid-area: icon;
    width: 60px;
    height: 60px;
    margin: auto;
    margin-right: 25px;
}

.contact {
    background: #000;
    color: #fff;
}

.contact h3 {
    color: #fff;
}

form {
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #555;
    background: transparent;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #fff;
}

button {
    background: #fff;
    color: #000;
    padding: 0.75rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #ddd;
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: #777;
}

footer > a {
    text-decoration: none;
    color: #bbb;
}

footer > .icon-text {
    color: #bbb;
}
#info{
    font-size: 1rem;
}

@media (max-width: 820px) {
    #info{
        font-size: 0.8rem;
        padding-left: 2rem;
    }

    #anchors h1{
        display: none;
    }

    #theme-toggle {
        right: 0;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

#anchors {
    position: fixed;
    display: block;
    background-color: #000;
    width: 100vw;
    padding: 11px;
    z-index: 1;
    text-align: center;
}

#anchors h1{
    position: absolute;
    left: 10px;
    top: 8px;
    font-size: 1.1rem;
    padding-left: 10px;
}

#theme-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

#theme-toggle:hover svg {
    fill: #fff;
}

#anchors * {
    padding-right: 7px;
    color: #d7d7d7;
}

#anchors a:visited, #anchors a {
    text-decoration: none;
}

#anchors a:hover {
    color: #fff;
}

#message{
    font-family: Arial, serif;
}

#company{
    cursor: pointer;
}


body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

body.dark-mode .about p {
    color: #bbb;
}

body.dark-mode .card {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .card:hover {
    border-color: #4566ff;
}

body.dark-mode .card h4 {
    color: #fff;
}

body.dark-mode .card p {
    color: #bbb;
}

body.dark-mode .section-number {
    color: #1a1a1a;
}

body.dark-mode footer {
    color: #bbb;
}

body.dark-mode footer {
    color: #bbb;
}

body.dark-mode footer > a, body.dark-mode footer > .icon-text {
    color: #555;
}
