/* ========== Reset & Basics ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #222;
}

/* ========== Wrapper ========== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========== Header / Hero ========== */
.hero {
    position: relative;
    height: 484px;
    background: #999;
    color: #fff;
}

.hero-logo {
    position: relative;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 2;
    float: right;
}

.hero-logo img{
    width: 150px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("\img\thomas-ruescher-bg.png");
    opacity: 0.8;
    z-index: 0;
}

.hero-content {
    color: white;
    z-index: 1;
    gap: 2rem;
}

.hero-text {
    position: absolute;
    margin: 160px 0 0 400px;
    padding: 40px 80px;
    flex: 1;
    z-index: 2;
    width: 700px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    background: rgba(162, 196, 255, 0.5);
    border-radius: 100px;
}

.hero-text h1 {
    font-size: 3.8rem;
    margin-bottom: -1rem;
}

.hero-text p.subtitle {
    font-size: 1.95rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
}

.hero-image {
    position: absolute;
    margin: 120px 0 0 100px;
    z-index: 1;
}

.hero-image img {
    max-width: 500px;
    border-radius: 150px;
    box-shadow: 20px 15px 15px rgba(0, 0, 0, 0.3);
}

/* ========== Navigation ========== */
.main-nav {
    position: sticky;
    background: #11233b;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: right;
    gap: 2rem;
    padding: 1rem;
    margin-right: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #f39c12;
}

.burger {
  display: none;
  color: #fff;
  text-align: center;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========== Leistungen Section ========== */
.leistungen {
    background-color:  #caddf8;
    padding: 4rem 0;
    text-align: center;
}

.leistungen ul {
    padding: 0 30px;
    text-align: left;
}

.leistungen li {
    list-style-image: url(../img/haekchen.png);
    margin: 2em 0; 
    padding: 0 1em;
}

.leistungen h2 {
    margin-top: 2em;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.leistungen-grid {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.leistung-box {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.leistung-box img {
    max-height: 260px;
    border-radius: 8px;
    margin: 1rem 0;
}

.leistung-box h3 {
    margin-bottom: 1rem;
    color: #206ac9;
}

.leistung-box:hover {
    transform: translateY(-5px);
}

.leistung-box img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ========== Referenzen Section ========== */
.referenzen {
    padding: 4rem;
    background-color: #b0c7e8;
    text-align: center;
}

.referenzen h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.referenzen-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.referenzen-logos img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.referenzen-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========== Kontakt Section ========== */
.kontakt {
    background-color:  #618ac3;
    padding: 4rem 0;
}

.kontakt h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.kontakt-form {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kontakt-form label {
    font-weight: bold;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    width: 100%;
}

.kontakt-form button {
    padding: 0.8rem 1.2rem;
    background: #f39c12;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.kontakt-form button:hover {
    background: #d35400;
}

.kontakt-email {
    text-align: center;
    font-size: 1rem;
}

/* ========== Impressum ========== */
.impressum {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    padding: 3rem 0;
    font-size: 0.95rem;
}

.impressum h2, h3 {
    padding: 1rem 0;
    color: #206ac9;
}

.impressum-left, .impressum-right {
    padding: 0 2rem;
    background: #f0f0f0;
}

.impressum-right p {
    font-size: x-small;
    margin-bottom: 1rem;
}

/* ========== Footer ========== */
.footer {
    background: #11233b;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    flex-wrap: wrap;
}

.footer a {
    color: #f39c12;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ========== Back-to-top Button ========== */
.back-to-top {
    font-size: 0.9rem;
}

/* ========== Animationen (hidden/show) ========== */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Responsive Design
   Smartphones bis 768px & Tablets bis 1024px
   ========================================================= */

/* ========== Tablets (max-width: 1024px) ========== */
@media (max-width: 1200px) {

    .hero {
        height: 434px;
    }

    .hero-logo img {
        width: 120px;
    }

    .hero-text {
        margin: 180px 0 0 300px;
        width: 560px;
        padding: 20px 45px;
        border-radius: 60px;
    }
    

    .hero-text h1 {
        font-size: 3.1rem;
    }

    .hero-text p.subtitle {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-image {
        margin: 150px 0 0 60px;
    }

    .hero-image img {
        max-width: 400px;
        border-radius: 104px;
    }

    .main-nav ul {
        justify-content: right;
        gap: 1.5rem;
    }

    .leistungen-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .referenzen {
        padding: 3rem 1rem;
    }

    .kontakt-form {
        width: 90%;
    }

    .impressum {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ========== Tablets (max-width: 1024px) ========== */
@media (max-width: 950px) {

    .hero {
        height: 280px;
    }

    .hero-logo img {
        width: 120px;
    }

    .hero-text {
        margin: 100px 0 0 210px;
        width: 450px;
        padding: 20px 45px;
        border-radius: 50px;
    }
    

    .hero-text h1 {
        font-size: 2.3rem;
        margin-bottom: -0.5rem;
    }

    .hero-text p.subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .hero-image {
        margin: 60px 0 0 30px;
    }

    .hero-image img {
        max-width: 300px;
        border-radius: 78px;
    }

    .main-nav ul {
        justify-content: right;
        gap: 1.5rem;
    }

    .leistungen-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .referenzen {
        padding: 3rem 1rem;
    }

    .kontakt-form {
        width: 90%;
    }

    .impressum {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ========== Smartphones (max-width: 720px) ========== */
@media (max-width: 720px) {

    .wrapper {
        padding: 0 0.5rem;
    }

    .hero {
        height: auto;
        padding: 0;
        text-align: center;
    }

    .hero-bg {
        display: none;
    }

    .hero-content {
        background-color: #f9f9f9;
    }

    .hero-logo {
        float: none;
        text-align: center;
        top: 0;
        right: 0;
        z-index: 2;
    }

    .hero-logo img {
        width: 200px;
        z-index: 2;
    }

    .hero-text {
        position: relative;
        margin: 1rem auto 2rem auto;
        width: 90%;
        padding: 1rem;
        border-radius: 30px;
        text-align: center;
        background-color: #2d5c9b;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-image {
        position: relative;
        margin: 1.5rem auto;
        text-align: center;
    }

    .hero-image img {
        max-width: 80%;
        border-radius: 50%;
    }

    .main-nav {
        text-align: center;
    }

    ul.nav-links {
        display: none;
    }

    .open {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin: 0;      /* Wenn geöffnet */
    }

    .main-nav a {
        font-size: 1rem;
    }

    .burger {
        display: inline;
    }

    .leistungen {
        padding: 2rem 0;
    }

    .leistungen-grid {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(1fr));
    gap: 2rem;
    }

    .leistungen h2 {
        font-size: 1.5rem;
    }

    .leistung-box {
        padding: 2rem;
    }

    .leistung-box img {
        max-height: 200px;
    }

    .referenzen h2 {
        font-size: 1.5rem;
    }

    .referenzen-logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .kontakt h2 {
        font-size: 1.6rem;
    }

    .kontakt-form {
        width: 100%;
        padding: 0 1rem;
    }

    .impressum {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .impressum-left, .impressum-right {
        padding: 1rem;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .back-to-top {
        font-size: 0.8rem;
    }
}


/*
👉 Damit hast du:

* **Globale Styles** (Reset, Body, Wrapper).
* **Hero mit Hintergrund** + Text/Bild nebeneinander.
* **Navigation** mit Hover-Effekt.
* **Grid für Leistungen & Referenzen**.
* **Formular-Styles**.
* **Footer** + Back-to-top Link.
* **Scroll-Animationen** mit `.hidden` & `.show`.

Soll ich dir den Code noch in **thematisch getrennte Stylesheets** (z. B. `header.css`, `nav.css`, `sections.css`, `footer.css`) aufsplitten, damit es modularer ist?
*/