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

/* Lokale Schrift einbinden */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
       url('../fonts/OpenSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Body & Grundschrift */
body {
    background-color: #f9fafb;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Tahoma, Geneva, sans-serif;
    color: #222;
    font-size: 1rem;          /* 16px */
    line-height: 1.7;
}

/* Container zentriert mit max. Breite */
.container {
    max-width: 64rem;         /* 1024px */
    margin: 1.25rem auto 2.5rem auto; /* 20px 0 40px 0 */
    display: flex;
    gap: 1.5rem;              /* 24px */
    padding: 0 0.9375rem;     /* 15px */
}

.site-header {
    max-width: 64rem;
    margin: 0 auto 1.25rem auto;
    text-align: center;
    padding: 0 0.2375rem;
    border-radius: 0.75rem; /* z.B. 12px */
    background-color: #fff; /* Heller Hintergrund, damit Rundung sichtbar wird */
    overflow: hidden;       /* Verhindert, dass Inhalte die Ecken „brechen“ */
}



.desktop-logo {
  display: block;
  width: 100%;
  max-width: 64rem;          /* 1024px */
  height: auto;
}

.mobile-logos {
  display: none;
  text-align: left;
}

.mobile-logo1,
.mobile-logo2 {
  width: 100%;
  max-width: 64rem;          /* 1024px */
  margin-bottom: 0.75rem;    /* 12px */
  display: block;
}

/* Header Banner */
.header-banner {
    display: block;
    width: 100%;
    max-width: 64rem;          /* 1024px */
    height: auto;
    margin: 0.9375rem auto 1.875rem auto; /* 15px 0 30px 0 */
    padding: 0 0.9375rem;     /* 15px */
    border-radius: 0.625rem;  /* 10px */
    box-shadow: 0 0.375rem 1.125rem rgba(0,0,0,0.12); /* 6px 18px */
}

/* Navigation */
.site-nav {
    min-width: 15rem;          /* 240px */
    background-color: #e6f2f2;
    padding: 1.25rem;          /* 20px */
    border-radius: 0.75rem;    /* 12px */
    box-shadow: 0 0.375rem 1.125rem rgba(0,0,0,0.1); /* 6px 18px */
    height: fit-content;
    position: sticky;
    top: 1.25rem;              /* 20px */
}

.site-nav ul {
    list-style: none;
}

.site-nav ul li {
    margin-bottom: 0.475rem;   /* 14px */
}

.site-nav ul li:last-child {
    margin-bottom: 0;
}

.site-nav a {
    color: #077;
    font-weight: 500;
    font-size: 1rem;           /* 16px */
    line-height: 1.4;
    text-decoration: none;
    display: block;
    padding: 0.625rem 0.875rem; /* 10px 14px */
    border-radius: 0.5rem;     /* 8px */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
    background-color: #0a9a9a;
    color: #fff;
    outline: none;
    text-decoration: none;
}

.site-nav a.active {
    background-color: #0a9a9a;
    color: #fff;
}

/* Hamburger-Button für Mobile */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;           /* 38.4px */
  cursor: pointer;
  color: #077;
  padding: 0 0.625rem;         /* 10px */
  user-select: none;
}

/* Hauptinhalt */
main {
    flex-grow: 1;
    background-color: #fff;
    padding: 1.875rem 2.1875rem; /* 30px 35px */
    border-radius: 0.75rem;     /* 12px */
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12); /* 8px 24px */
    line-height: 1.75;
    color: #222;
}

/* Überschrift */
h1 {
    color: #077;
    border-left: 0.375rem solid #0a9a9a; /* 6px */
    padding-left: 0.875rem;       /* 14px */
    margin-bottom: 1.875rem;      /* 30px */
    font-weight: 700;
    font-size: 1.6rem;            /* 33.6px */
}

main h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #077;
    border-left: 6px solid #0a9a9a;
    padding-left: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Absätze */
p {
    margin-bottom: 1.6rem;        /* 25.6px */
    font-size: 1.05rem;           /* 16.8px */
}

a {
    color: #077;
    text-decoration: none; 
}

a:hover {
    text-decoration: underline; 
}

/* Profilfoto */
.profile-photo {
    width: 12.5rem;               /* 200px */
    height: auto;
    float: right;
    margin-right: 1rem;           /* 16px */
    margin-top: -2rem;                /* optional: explizit 0 */
    margin-bottom: 1.25rem;       /* 20px */
    border-radius: 0.75rem;       /* 12px */
    box-shadow: 0 0.375rem 1.125rem rgba(0,0,0,0.12); /* 6px 18px */
}

.about-list {
    list-style-type: disc;      /* Standard Aufzählungspunkt */
    list-style-position: outside;
    padding-left: 1.25rem;      /* Platz für den Punkt */
    margin-bottom: 1.5625rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #222;
}

.about-list li {
    margin-bottom: 0.5em;
    text-indent: -1.25rem;      /* Negative Einrückung, genau wie padding-left */
    padding-left: 1.25rem;      /* Platz schaffen für den Punkt */
}

/* Footer */
.site-footer {
    max-width: 64rem;             /* 1024px */
    margin: 2.5rem auto 1.875rem auto; /* 40px 0 30px 0 */
    padding: 1.25rem 1.875rem;   /* 20px 30px */
    border-top: 1px solid #ccc;
    font-size: 0.875rem;          /* 14px */
    line-height: 1.4;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e6f2f2;
    border-radius: 0 0 0.75rem 0.75rem; /* 0 0 12px 12px */
    box-shadow: 0 -0.25rem 0.75rem rgba(0,0,0,0.05); /* 0 -4px 12px */
}

.site-footer a {
    color: #077;
    font-weight: 600;
    text-decoration: none;
    
    transition: text-decoration 0.3s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    text-decoration: underline;
    outline: none;
}

/* Navigation Positionen */
body.nav-top .container {
    flex-direction: column;
}

body.nav-top .site-nav ul {
    display: flex;
    gap: 1.125rem;              /* 18px */
    padding: 0;
    background: none;
    border-radius: 0;
}

body.nav-top .site-nav ul li {
    margin: 0;
}

body.nav-top .site-nav a {
    padding: 0.625rem 1.125rem;  /* 10px 18px */
    border-radius: 0;
}

.site-nav a.active {
  background-color: #0a9a9a;
  color: #fff;
  font-weight: 700;
}


.contact-map {
  max-width: 100%;
  width: 100%;
  height: 365px; /* feste Höhe, kannst du anpassen */
  border: 0;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 48rem) {       /* 768px */
    .container {
        flex-direction: column;
        padding: 0 0.625rem;       /* 10px */
    }
    body.nav-left .site-nav {
        min-width: auto;
        margin-bottom: 1.25rem;    /* 20px */
        position: relative;
        top: auto;
        box-shadow: none;
        border-radius: 0.75rem;    /* 12px */
    }
    body.nav-left main {
        width: 100%;
    }
    .desktop-logo {
        display: none;
    }
    .mobile-logos {
        display: block;
        text-align: left;
    }
    .site-nav ul {
        display: none;
        flex-direction: column;
        background-color: #e6f2f2;
        border-radius: 0.75rem;
        padding: 0.625rem;         /* 10px */
        margin-top: 0.625rem;     /* 10px */
        box-shadow: 0 0.375rem 0.9375rem rgba(0,0,0,0.1);
    }
    #nav-toggle {
        display: block;
        margin-bottom: 0.5rem;     /* 8px */
    }
    .site-nav ul.active {
        display: flex;
    }
    .mobile-logo1,
    .mobile-logo2 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.75rem;    /* 12px */
        display: block;
    }
    .header-banner {
        margin: 0.625rem 0 1.5625rem 0; /* 10px 0 25px 0 */
        border-radius: 0.5rem;            /* 8px */
        box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.1); /* 5px 15px */
    }
}
