/* -----------------------------------------------------------
   GLOBAL
----------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #FFFFFF;
    line-height: 1.6;
}

/* Einheitliche Sektionen */
section {
    padding: 80px 20px;
}

a {
    color: #007C89;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* -----------------------------------------------------------
   FONTS
----------------------------------------------------------- */

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v25-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v25-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v25-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v18-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v18-latin-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v18-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* -----------------------------------------------------------
   TYPOGRAFIE
----------------------------------------------------------- */

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    line-height: 1.7;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* -----------------------------------------------------------
   NAVIGATION
----------------------------------------------------------- */

.navbar {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #EEE;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.nav-logo .claim {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 500;
    color: #333;
}

nav a.active {
    color: #007C89;
}

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */

.hero {
    padding: 160px 20px 120px;
    background: #f0f7f7;
}

.small-hero {
    padding: 140px 20px 60px;
}

/* Split Layout für Startseite */
.hero-split {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 1300px;
    margin: auto;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    max-width: 600px;
}

.hero-image img {
    width: 360px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    object-fit: cover;
}


/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */

.btn-primary {
    display: inline-block;
    background: #007C89;
    color: white;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #005f66;
}

/* -----------------------------------------------------------
   ABOUT / ÜBER MICH
----------------------------------------------------------- */

.about-container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
}

/* Zweispaltiges Layout */
.two-column {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Bildbereich */
.about-image {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Textbereich mit eigenem Scrollbalken */
.about-text {
    flex: 1;
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 15px;
}

/* Scrollbar Chrome / Edge */
.about-text::-webkit-scrollbar {
    width: 8px;
}

.about-text::-webkit-scrollbar-track {
    background: #f3f3f3;
}

.about-text::-webkit-scrollbar-thumb {
    background: #007C89;
    border-radius: 4px;
}

/* Scrollbar Firefox */
.about-text {
    scrollbar-color: #007C89 #f3f3f3;
    scrollbar-width: thin;
}

/* -----------------------------------------------------------
   LEISTUNGEN
----------------------------------------------------------- */

.leistungen {
    max-width: 1200px;
    margin: auto;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leistung-card {
    padding: 30px;
    border-radius: 6px;
    background: #f0f7f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leistung-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

footer {
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* -----------------------------------------------------------
   MOBILE
----------------------------------------------------------- */

@media (max-width: 900px) {
 .hero {
        padding-top: 260px;
    }

    .small-hero {
        padding-top: 240px;
    }

    .hero-split {
        flex-direction: column;
        text-align: left;
    }

    .hero-image img {
        width: 100%;
        max-width: 360px;
    }

    .two-column {
        flex-direction: column;
    }

    .about-image {
        position: static;
        width: 100%;
    }

    .about-image img {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .about-text {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 600px) {

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 24px;
    }
    
    .nav-logo .name {
        font-size: 18px;
    }

    .nav-logo .claim {
        font-size: 10px;
    }
}

/* -----------------------------------------------------------
   LANGUAGE SWITCHER
----------------------------------------------------------- */

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 6px 12px;

    border: 1px solid #DDD;
    border-radius: 6px;

    background: #FFF;
}

.language-switcher a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    transition: color 0.2s ease;
}

.language-switcher a:hover {
    color: #007C89;
}

.language-switcher a.active {
    color: #007C89;
    font-weight: 700;
}

/* -----------------------------------------------------------
   MOBILE LANGUAGE SWITCHER
----------------------------------------------------------- */

@media (max-width: 900px) {

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .language-switcher {
        align-self: flex-start;
    }
}
/* -----------------------------------------------------------
   KONTAKTSEITE
----------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: #F7F7F7;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.contact-card h3 {
    margin-top: 0;
}

.contact-card ul {
    margin-left: 20px;
}

.contact-cta {
    margin-top: 50px;
    padding: 40px;
    background: #F7F7F7;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.contact-cta p {
    max-width: 700px;
    margin: 0 auto 25px auto;
}

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 30px 20px;
    }
}