/* Grundlegende Stile */
html, body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    height: 100%;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Kopfbereich */
header {
    background-color: #2E86C1;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    display: inline-block;
    margin: 0;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: 0;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #FFD700; /* Optional: Farbe beim Hover ändern */
}

/* Hero-Bereich */
.hero {
    background-color: #F4F6F6;
    padding: 100px 0;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}


.btn {
    background-color: #2E86C1;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #1A5276;
    transform: scale(1.05);
}

/* Dienstleistungen */
.services {
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.services ul {
    list-style-type: none;
    padding: 0;
}

.services li {
    margin-bottom: 30px;
}

.services h3 {
    font-size: 1.5em;
    color: #2E86C1;
    margin-bottom: 10px;
}

.services p {
    font-size: 1em;
    color: #333;
}

.services a {
    color: #2E86C1;
    text-decoration: none;
}

.services a:hover {
    text-decoration: underline;
}

/* Call-to-Action Styling */
.call-to-action {
    text-align: center;
    margin: 50px 0;
    padding: 40px 0;
    background-color: #F4F6F6;
}

.call-to-action p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.call-to-action .btn {
    background-color: #2E86C1;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-to-action .btn:hover {
    background-color: #1A5276;
    transform: scale(1.05);
}

.service-item.request {
    opacity: 0.8;
    border: 1px dashed #ccc;
}
.service-item.request h3 small {
    font-weight: normal;
    font-size: 0.6em;
    color: #666;
}

/* Fußzeile */
footer {
    background-color: #2E86C1;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .call-to-action p {
        font-size: 1.2em;
    }

    .call-to-action .btn {
        padding: 12px 24px;
        font-size: 1em;
    }

    nav {
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    nav ul {
        display: inline-block;
    }

    nav li {
        display: block;
        margin: 10px 0;
    }

    nav a {
        font-size: 1.2em;
    }
}

.founder {
  display: flex;
  align-items: center;
  gap: 1.5rem;              /* Abstand zwischen Bild und Text */
  margin: 2rem 0;           /* vertikaler Außenabstand */
}

/* Bildgestaltung */
.founder__img {
  width: 220px;             /* feste Breite */
  height: 220px;            /* gleiche Höhe für Quadrat */
  object-fit: cover;
  object-position: center 25%;        /* sauber zuschneiden */
  border-radius: 90%;       /* runde Form */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;           /* nicht schrumpfen */
}

/* optionale Bild-Unterschrift */
.founder__caption {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Textblock neben dem Bild */
.founder__text {
  flex: 1;                  /* nimmt restlichen Platz ein */
}

/* Mobile Ansicht: Bild oben, Text darunter */
@media (max-width: 600px) {
  .founder {
    flex-direction: column;
    text-align: center;
  }
  .founder__text {
    margin-top: 1rem;
  }
}