/* --------------------------------------------------
   Grundlayout
-------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    font-family: "Lato", Arial, sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    color: #111;
    margin-top: 0;
}

h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8rem;
}

p, li {
    font-size: 1.05rem;
}

/* --------------------------------------------------
   Header Startseite
-------------------------------------------------- */

.header-home {
    text-align: center;
    padding: 40px 20px 10px;
    background: #ffffff;
}

.logo-large {
    width: 400px;
    max-width: 90%;
}

/* --------------------------------------------------
   Header Unterseiten
-------------------------------------------------- */

.header-sub {
    text-align: center;
    padding: 20px 10px 0;
}

.logo-small {
    width: 160px;
}

/* --------------------------------------------------
   Navigation
-------------------------------------------------- */

.main-nav {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
background: #ffffff;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: inline-block;
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #222;
    padding: 5px;
}

.main-nav a:hover,
.main-nav .active {
    border-bottom: 2px solid #000;
}

/* --------------------------------------------------
   Hero-Bild
-------------------------------------------------- */

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------
   Leistungen - Kurze Startseite
-------------------------------------------------- */

.leistungen-kurz {
    padding: 40px 20px;
    text-align: center;
}

.leistungsraster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.kachel img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.kachel h3 {
    margin: 10px 0 5px;
}

.kachel p {
    font-size: 0.95rem;
    color: #555;
}

/* --------------------------------------------------
   Leistungen-Seite (große Kacheln)
-------------------------------------------------- */

.leistungen-seite {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

.leistungsraster.gross .kachel {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

/* --------------------------------------------------
   Über mich
-------------------------------------------------- */

.ueber-mich-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.portrait-wrapper {
    margin: 20px 0;
}

.portrait-oval {
    width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ddd;
}

/* --------------------------------------------------
   Galerie
-------------------------------------------------- */

.galerie-seite {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.galerie-raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.galerie-kachel img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 4px;
}

.galerie-text {
    margin-top: 8px;
    color: #555;
    font-size: 0.95rem;
}

/* Galerie-Bilder klickbar machen */
.galerie-bild {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.galerie-bild:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #ccc;
}


/* --------------------------------------------------
   Kontaktformular
-------------------------------------------------- */

.kontakt-seite {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
}

.kontaktformular {
    max-width: 200px;
    margin: 0 auto;
}

.kontaktformular {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontaktformular input,
.kontaktformular textarea {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 1rem;
}

.kontaktformular textarea {
    height: 140px;
    resize: vertical;
}

.btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 4px;
}

.btn:hover {
    background: #333;
}

/* Maps Vorschau */
.maps-container {
    margin-top: 40px;
    text-align: center;
}

.maps-preview {
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-small {
    margin-top: 10px;
    padding: 8px 14px;
    background: #444;
    color: #fff;
    border-radius: 4px;
}

.btn-small:hover {
    background: #000;
}

.kontaktdaten {
    text-align: center;
    margin-bottom: 2rem;
}

.kontaktdaten p {
    margin: 0.3rem 0;
}


/* --------------------------------------------------
   Impressum & Datenschutz
-------------------------------------------------- */

.impressum-seite,
.datenschutz-seite {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

footer {
    text-align: center;
    padding: 25px 10px;
    margin-top: 40px;
    background: #ffffff;
    font-size: 0.9rem;
    color: #111;
}

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 600px) {
    .main-nav li {
        margin: 0 8px;
    }

    .logo-large {
        width: 200px;
    }
}
