* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    background: none;
    font-family: "Roboto", Arial, sans-serif;
    color: #6e6f6e;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

#wrapper {
    max-width: 845px;
    margin: 16px auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
    background-color: #fff;
   overflow: visible; /* nichts verstecken */
  white-space: normal; /* Text darf umbrechen */
  word-break: break-word; /* lange Wörter umbrechen */
  hyphens: auto; /* Silbentrennung aktivieren */
}

#wrapper .hide {
    display: none;
}

#wrapper .nobr {
    white-space: nowrap;
}

#wrapper .logo {
    padding: 10px 16px;
}

#wrapper article {
    padding: 20px 40px 0;
}

#wrapper footer {
    padding: 0 40px 20px;
}

#wrapper p {
    margin-bottom: 16px;
}

#wrapper strong {
    font-weight: 700;
}

#wrapper h1 {
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

#wrapper .block {
    display: block;
    font-size: 80%;
}

#wrapper h3 {
    font-weight: 700;
    font-size: 18px;
    padding: 10px 0 10px 40px;
    width: 460px;
    margin: 0 0 10px -40px;
}

#wrapper :is(a:link, a:visited, a:hover, a:active) {
    color: #6e6f6e;
    text-decoration: none;
}

#wrapper ul {
    margin: 0 0 0 20px;
    list-style: none;
}

#wrapper ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}

#wrapper ul li:before {
    content: "\2022";
    font-size: 19px;
    font-family: Arial, sans-serif;
    position: absolute;
    top: -1px;
    line-height: 1;
    left: 0;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 30px;
    font-family: Arial, sans-serif;
    color: #333;
}

.contact-text {
  flex: 1;
  min-width: 300px;
}

.contact-photo {
  flex: 0 0 250px;
}

.contact-photo img {
  width: 80%;
  height: auto;
  border-radius: 3px;
  display: block;
    margin-bottom: -41px;
}

.contact-quote {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.contact-divider {
    flex-basis: 100%;
    border: none;
    border-top: 3px solid #777;
    margin: 40px 0;
}

.contact-footer {
    flex-basis: 100%;
    text-align: center;
}

.logo {
    font-size: 2em;
    font-weight: 600;
    margin: 0;
    color: #444;
}

.subline {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    margin: 0;
    font-size: 0.9em;
}

#wrapper img {
    max-width: 100%;
    vertical-align: middle;
}


@media (max-width: 844px) {
    .contact-section {
        flex-wrap: wrap;            /* Inhalte umbrechen */
        align-items: center;        /* vertikal zentrieren */
        justify-content: center;    /* horizontal zentrieren */
        text-align: center;
    }

    .contact-text {
        flex-basis: 100%;
        text-align: center;
    }

    .contact-image {
        flex-direction: column;     /* Bild über Text */
        align-items: center;
        margin-right: 0;            /* entfernt den störenden Rand */
        gap: 10px;
    }

    .contact-image img {
        width: 200px;               /* kleinere Breite */
    }

    .contact-image .quote {
        font-size: 1.1rem;
    }
    
    .contact-quote {
        margin-top: 150px;
    }
}

/* Smartphone-Bereich: unter 499px noch kompakter */
@media (max-width: 499px) {
    .contact-section {
        flex-direction: column;
        gap: 20px;
    }

    
    .contact-photo img {
        width: 70%;
        max-width: 220px;
    }
    
     .contact-quote {
        margin-top: 0;
    }

}