body {
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    background: #540c0c;
    margin: 0;
    padding: 0;
    color: #fff3f7; /* Zartes Weiß-Rosa für alle Texte */
    font-size: 1.2em;
    line-height: 1.7;
    text-align: center;
}

header {
    text-align: center;
    background: linear-gradient(to bottom, #7a1616 0%, #540c0c 100%);
    padding: 1.5em 0 1em 0;
    border-bottom: 3px solid #a83232;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;   /* macht das Bild rund */
    display: block;
    margin: 0 auto 0.3em auto;
    box-shadow: 0 2px 12px #a8323244; /* optional, für etwas Tiefe */
}

h1, h2, h3, h4, h5, h6,
p, li, label, footer, nav a, .team-member, .kontakt-hinweis, .slide-caption {
    color: #fff3f7 !important;
}

ul, ol {
  padding-left: 2em;
  text-align: left;
  display: inline-block;
  margin: 1em auto;
}

h1 {
    margin: 0;
    font-size: 2.6em;
    letter-spacing: 1px;
}

h2 {
    margin: 0.2em 0 0 0;
    font-size: 1.5em;
    font-weight: 500;
}

nav {
    background-color: #7a1616;
    border-bottom: 2px solid #a83232;
    text-align: center;
}

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

nav li {
    display: inline-block;
    margin: 0 0.8em;   
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #000000;
    padding: 0.6em 1.1em;
    border-radius: 10px 10px 0 0;
    transition: background 0.2s, color 0.2s;
    font-size: 1.12em;
}

nav a.active,
nav a:hover {
    background: #a83232;
    color: #fff7fa;
}

main {
    max-width: 820px;
    margin: 2em auto 2em auto;
    padding: 2em 2.5em;
    background: #691717;
    border-radius: 16px;
    box-shadow: 0 0 18px #32040477;
    min-height: 320px;
    color: #cdd5dd;
    font-size: 1.23em;
    line-height: 1.85;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main p, main ul, main li, main h3, main h4, main h5, main h6 {
    color: #d4c4c8;
    text-align: center;
    font-size: 1.13em;
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

main ul {
    display: inline-block;
    text-align: left;
    margin: 1em auto;
    padding-left: 1.5em;
    background: transparent;
    font-size: 1.09em;
}

main .home-img {
    text-align: center;
    margin: 2em 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5em;
    margin-top: 1.5em;
    padding: 0.5em;
    justify-items: center;
}

.gallery img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    border: 2.5px solid #c0392b;
    background: #540c0c;
    box-shadow: 0 4px 18px #7a161666;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 8px 26px #c0392b55;
}

.kontaktformular {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 420px;
    margin: 0 auto;
    color: #e9b5b5;
}

.kontaktformular label {
    font-weight: bold;
    color: #f0c4c4;
    font-size: 1.1em;
}

.kontaktformular input,
.kontaktformular textarea {
    padding: 0.5em;
    border: 1.5px solid #a83232;
    border-radius: 8px;
    font-size: 1em;
    background: #e2c3c3;
    color: #e6bcbc;
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.kontaktformular button {
    background: #a83232;
    color: #fff7fa;
    border: none;
    font-weight: bold;
    padding: 0.7em 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15em;
    margin-top: 0.5em;
    transition: background 0.2s;
}

.kontaktformular button:hover {
    background: #c0392b;
    color: #fff;
}

.kontakt-hinweis {
    text-align: center;
    margin-top: 2em;
    color: #ecbfbf;
}
.kontaktformular input,
.kontaktformular textarea {
    color: #000 !important; /* SCHWARZ für die Eingabe */
    background: #e2c3c3;
    border: 1.5px solid #a83232;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    padding: 0.5em;
}

.team-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin-top: 2em;
}

.team-member {
    text-align: center;
    background: #540c0c;
    border: 2px solid #a83232;
    border-radius: 10px;
    padding: 1.1em 1.2em;
    width: 210px;
    color: #dfc5c5;
    font-size: 1.08em;
}

.team-member img {
    border-radius: 50%;
    border: 3px solid #c0392b;
    width: 120px;
    height: 120px;
    object-fit: cover;
    background: #540c0c;
}

footer {
    background: #7a1616;
    color: #222327;
    text-align: center;
    padding: 1.2em 0 1em 0;
    font-size: 1.16em;
    border-top: 2px solid #a83232;
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(54, 12, 12, 0.96);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 0 24px #c0392b;
    border-radius: 12px;
    background: #fff1f1;
    margin-bottom: 16px;
    color: #000000;
    font-size: 1.1em;
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.lightbox-caption {
    color: #000000;
    font-size: 1.25em;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px #a83232;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 44px;
    color: #000000;
    font-size: 2.8em;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
    transition: color 0.2s;
    text-shadow: 0 2px 10px #a83232;
}
.lightbox-close:hover {
    color: #c0392b;
} 


.slideshow-container {
    position: relative;
    margin: 0 auto 2em auto;
    max-width: 700px;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: #691717;
    box-shadow: 0 0 18px #32040477;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 12px;
    color: #fff3f7;
    font-weight: bold;
    font-size: 2em;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(168,50,50,0.6);
    transition: background 0.3s;
    z-index: 2;
}
.prev {
    left: 0;
    right: auto;
}
.next {
    right: 0;
    left: auto;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background: rgba(168,50,50,0.95);
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mySlides img {
    width: 100%;
   height: 100%;
    object-fit: cover;   /* Macht alle Bilder gleich groß und schneidet ggf. Überstand ab */
    display: block;
    border-radius: 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 12px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(168,50,50,0.6);
    transition: background 0.3s;
    z-index: 2;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background: rgba(168,50,50,0.95);
}

.slide-caption {
    color: #fff;
    font-size: 1.1em;
    padding: 8px 16px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(84,12,12,0.6);
    box-sizing: border-box;
}

.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 3px;
    background-color: #a83232;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 1.4s;
    border: 2px solid #fff6f6;
}

.active, .dot:hover {
    background-color: #fff6f6;
}