/* Prüfen, sind für alle section etc. die Werte von px auf relative Werte umgewandelt worden?*/
/* Prüfen, ist die Clamp() Funktion überall geschrieben worden? */
/* Prüfen, ob die @media für das responsive design überall eingesetzt wird. */
/* Sind alle Farben, Schriftarten und sonstige Designelemente angepasst? */
/* testen */
/* Setzt eine Basisgröße und verhindert Scrollprobleme */

/* Playfair Display Regular */
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  /* Playfair Display Bold */
  @font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfair-display-v37-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  /* Italianno Regular */
  @font-face {
    font-family: 'Italianno';
    src: url('fonts/italianno-v17-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  /* Vast Shadow Regular */
  @font-face {
    font-family: 'Vast Shadow';
    src: url('fonts/vast-shadow-v19-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  

html {
    font-size: 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Setzt die Grundstruktur zurück und sorgt für flexibles Layout */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: black;
    background-color: whitesmoke; /* optional, aber sicher */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Sektionen mit flexibler Höhe und Abstand */
section {
    padding: clamp(2rem, 5vw, 5rem);
    margin-bottom: clamp(5rem, 10vh, 10rem);
}

/* Standard-Stile */
a {
    text-decoration: none;
    color: inherit;
}

/* p {
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.5rem);
  } */
  
li {
    list-style: none;
}

h1, h2, h3 {
    font-family: 'vast shadow', serif;
    font-weight: 500;
    color: black;
}

h2 {
    color: black;
}

h4, p, a {
    font-family: 'Playfair Display', serif;
    color: black;
}

hr {
    width: 30px;
    height: 3px;
    background: black;
    border: 0;
    margin: 0 auto 40px auto;
}

/* Einheitliches Transition-Verhalten */
#logo, li, img {
    transition: all 300ms ease;
}


/* HEADER **************************************************************************************/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 4rem;
    position: fixed;
    top: 0;
    left: 0;
    background: black;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
    z-index: 10;
    padding: 0 5vw;
}

#logo {
    width: 4.5rem;
}

#logo img {
    width: 100%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center; /* Zentriert die Navigation */
    flex-grow: 1; /* Navigation nimmt den verfügbaren Platz ein */
}

#main-nav {
    width: 100%;
    display: flex;
    justify-content: center; /* Zentriert den Inhalt der Navigation */
}

#main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-nav ul li a {
    font-size: 1rem;
    text-decoration: none;
    color: #FFC4F1;
}

#main-nav ul li:hover {
    transform: translateY(-0.2rem);
    transition: transform 0.2s ease-in-out;
}

/* --- Responsive --- */

/* Burger Menu */
@media (max-width: 768px) {
    #main-nav{
        display: flex;
        justify-content: flex-end;
    }
    
    .menu-toggle {
        display: flex; 
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background-color: #FFC4F1;
    }

    #main-nav ul {
        display: none; /* Versteckt die Navigation standardmäßig auf kleinen Bildschirmen */
        flex-direction: column;
        gap: 1rem;
        background-color: black;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        padding: 2rem 0;
        box-shadow: 0 0.1rem 0.3rem rgba(129, 129, 129, 0.5);
    }

    #main-nav ul.active {
        display: flex; /* Zeigt das Menü an, wenn es aktiv ist */
    }

    #main-nav ul li {
        text-align: center;
        /* padding: 1rem; */
        width: 100%;
        box-shadow: 0 0.3rem 0.6rem rgba(226, 221, 221, 0.3);
    }

    #main-nav ul li a {
        display: block;
        font-size: 1.2rem;
        text-decoration: none;
        color: #FFC4F1;
        padding: 1rem;
    }

    #main-nav ul li:last-child {
        box-shadow: none; 
    }
}

/* HOME **************************************************************************************/

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(img/CountdownBackground.jpg) center/cover no-repeat;
    background-attachment: scroll; /* oder weglassen */
    text-align: center;
    gap: 2rem; /* Abstand zwischen den Elementen */
    padding: 5vh 5vw; /* Dynamischer Innenabstand */
    margin-bottom: 0;
}

#home h1 {
    font-size: clamp(1.8rem, 5vw + 1rem, 4rem);
    margin-bottom: 0;
    margin-top: 5rem;
    color: black;
  }
  
#home h2 {
    font-size: clamp(1.5rem, 4vw, 2rem); 
    margin-bottom: 0;
    margin-top: 0.5rem;
    color: black;
}

#home p {
    font-family: 'Italianno';
    /* font-size: xx-large; */
    font-size: clamp(1rem, 2vw + 1rem, 2.5rem);
    margin-top: 0;
    margin-bottom: 2rem;
    color: black;
}

#countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 4rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    min-width: 20vw;
    margin-bottom: 3rem;
    margin-top: 8rem;
}

#countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.time-box {
    background: #FFC4F1;
    padding: 1rem;
    border-radius: 1rem;
    width: 5rem;
    text-align: center;
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.2);
}

.time-box span {
    font-size: 2rem;
    color: black;
    display: block;
}

.time-box small {
    font-size: 1rem;
    color: black;
    opacity: 0.8;
}

#home button {
    background-color: black;
    border: none;
    color: #FFC4F1;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#home button:hover {
    box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.5);
    transform: translateY(0.2rem);
}

#home button:active {
    box-shadow: inset 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    transform: translateY(0.4rem);
}



/* NEWS **************************************************************************************/

#news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: clamp(1rem, 4vw, 2rem);
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
    background-color: whitesmoke; 
}

#news h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: center;
    color: black;
}

#news p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 50rem;
    margin: 0 auto;
    line-height: 1.6;
}



/* INTRO **************************************************************************************/

#intro {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem);
    background-color: rgba(255, 248, 240, 0.3);
    overflow: hidden;
  }
  
  #intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("img/notenHintergrund1.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    opacity: 1.0;
    z-index: -1;
  }
  
  .intro-headline {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .intro-headline h3 {
    color: black;
  }
  
  .intro-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .intro-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
  }
  
  #poem {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    background-color: rgba(255,255,255,0.8);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(3px);
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
  }
  
  #poem p {
    font-family: 'Italianno';
    /* font-size: clamp(1.25rem, 5vw, 2rem);  */
    font-size: clamp(1rem, 2vw + 1rem, 2.5rem);
    line-height: 1.6;
  }
  


/* --- Mobile Ansicht: Alles untereinander anordnen --- */
@media (max-width: 768px) {
    #intro {
        gap: 1rem;
    }

    
    #intro ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    #intro ul li {
        width: 100%;
    }
    
    #intro img {
        width: 90vw;
        height: auto;
        max-width: 100%;
        border-radius: 0.5rem;
        object-fit: cover;
        }
    
    

    #poem {
        width: 90%;
    }

    #poem p {
        font-size: 1,5rem;
    }

    #intro p {
        width: 90%;
    }

    /* 👇 Das ist neu: mobile Optimierung der Bildgröße */
    /* #intro img {
        width: 90vw;
        max-width: 100%;
        height: auto;
    } */
}





/* FEEDBACKFORM **************************************************************************************/

/* Allgemeine Einstellungen für das Feedback-Formular */
form input, textarea {
    font-size: 1rem; /* 15px in rem */
    margin-bottom: 0.625rem; /* 10px in rem */
    border-radius: 0.125rem; /* 2px in rem */
    border: 0.125rem solid;
    border-color: #494949;
    background-color: whitesmoke;
}

form input:first-child {
    margin-top: 0.625rem; /* 10px in rem */
}

form input {
    width: 90%; /* Ersetzt 552px durch Prozentsatz */
    max-width: 34.5rem; /* Ersetzt 552px durch rem */
    height: 2rem; /* Ersetzt 30px durch rem */
}

form textarea {
    width: 90%; /* Ersetzt 550px durch Prozentsatz */
    max-width: 34.375rem; /* Ersetzt 550px durch rem */
    height: 12.5rem; /* Ersetzt 200px durch rem */
    resize: none;
}

.input_text {
    color: black;
    padding-left: 0.625rem; /* 10px in rem */
}

::-webkit-input-placeholder { color: #999999; }
::-moz-placeholder { color: #999999; }
:-ms-input-placeholder { color: #999999; }

/* Buttons */
.button {
    background-color: #999999;
    color: #494949;
    width: 90%; /* Ersetzt 566px durch Prozentsatz */
    max-width: 35.375rem; /* Ersetzt 566px durch rem */
    height: 3.125rem; /* 50px in rem */
    border-radius: 0.3125rem; /* 5px in rem */
    font-size: 1rem; /* 16px in rem */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: #494949;
    color: #f0f0f0;
}

/* Radiobuttons für die Antwortmöglichkeiten */
.response-options {
    display: flex;
    /* justify-content: flex-start; */
    flex-wrap: wrap;
    margin-bottom: 1.5rem; /* 20px in rem */
    gap: 2rem; /* 30px in rem */
}

.response-options label {
    display: flex;
    font-size: 1.2rem; /* 16px in rem */
    display: flex;
    align-items: center; /* Vertikale Ausrichtung von Text und Button */
    cursor: pointer; /* Zeigt den Mauszeiger als Zeiger */
    gap: 0.5rem;
}

.response-options input[type="radio"] {
    /* margin-right: 0.625rem; 10px in rem */
    width: 1.2rem; 
    height: 1.2rem; 
    vertical-align: middle;
    accent-color: #494949; /* Farbe des Radiobuttons */
}

/* Aussehen des Radiobuttons im ausgewählten Zustand */
.response-options input[type="radio"]:checked {
    background-color: #494949; /* Dunkle Hintergrundfarbe, wenn ausgewählt */
    border-color: #494949; /* Dunkler Rand, wenn ausgewählt */
}

/* Radiobuttons fokussiert */
.response-options input[type="radio"]:focus {
    outline: none; /* Entfernt den Standardrahmen */
    box-shadow: 0 0 0.3125rem rgba(93, 113, 119, 0.5); /* 5px in rem */
}

/* Hover-Effekt für Radiobuttons */
.response-options label:hover input[type="radio"] {
    transform: scale(1.1); /* Vergrößert den Radiobutton leicht bei Hover */
    transition: all 0.3s ease;
}

/* Allgemeine Anpassungen für das Formular */
#feedbackform {
    max-width: 50rem; /* 800px in rem */
    margin: 0 auto;
    padding: 2.5rem; /* 20px in rem */
}

h3 {
    /* font-size: 1.875rem; 30px in rem */
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem; /* 20px in rem */
    color: black;
}

hr {
    width: 1.875rem; /* 30px in rem */
    height: 0.1875rem; /* 3px in rem */
    background: black;
    border: 0;
    margin: 0 auto 2.5rem auto; /* 40px in rem */
}

/* Platzierung des Formulars */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styling für die Input-Felder und Textarea */
form input, form textarea {
    font-size: 1rem; /* 16px in rem */
    padding: 0.625rem; /* 10px in rem */
    border-radius: 0.3125rem; /* 5px in rem */
    border: 0.0625rem solid #ccc; /* 1px in rem */
    width: 100%;
    max-width: 37.5rem; /* 600px in rem */
    margin-bottom: 1.25rem; /* 20px in rem */
    font-family: 'Playfair Display';
}

/* Anpassung der Textarea */
form textarea {
    resize: vertical;
    height: 9.375rem; /* 150px in rem */
}

/* Anpassen der Buttons */
input[type="submit"] {
    background-color: black;
    color: #FFC4F1;
    border: none;
    padding: 0.9375rem 1.875rem; /* 15px 30px in rem */
    font-size: 1.125rem; /* 18px in rem */
    border-radius: 0.3125rem; /* 5px in rem */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #FFC4F1;
    color: black;
}

/* Responsivität */
@media (max-width: 768px) { /* 768px in rem */
    .response-options {
        flex-direction: column; /* Radiobuttons untereinander bei kleinen Bildschirmen */
        align-items: flex-start;
    }

    .button, input[type="submit"], form input, form textarea {
        width: 100%;
    }
}



/* AGENDA **************************************************************************************/
#agenda {
    position: relative;
    overflow: hidden;
    z-index: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8vh 2vw;
    text-align: center;
}

/* Pseudo-Element für das unscharfe Hintergrundbild */
#agenda::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("img/gitarreAmSeeNah.jpg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: -1;
}

/* Optional: leichter halbtransparenter Overlay-Hintergrund für bessere Lesbarkeit */
#agenda > *:not(::before) {
    position: relative;
    z-index: 1;
}


#agenda h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem); 
    margin-bottom: 0.75rem;
    /* font-family: 'Merienda', cursive; */
    color: black;
}

#agenda ul {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0;
    width: 100%;
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center; /* Zentriert jedes Listenelement */
}

.agenda-box {
    background-color: rgba(255, 248, 240, 0.7); /* halbtransparentes beige */
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); /* für Safari */
    width: clamp(40%, 90%, 60rem);
    margin: 0 auto;
}


.agenda-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 100%;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.agenda-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    flex-shrink: 0;
}

.agenda-icon img {
    width: 100%;
    height: auto;
}

.agenda-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    color: black;
}

.agenda-text .time {
    font-weight: bold;
    color: black;
}

.agenda-text .label {
    font-style: 'Playfair Display' ;
}


/* 📱 Mobile Optimierung */
@media (max-width: 768px) {
    .agenda-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .agenda-item img {
        width: 4rem;
    }

    .agenda-text {
        align-items: center;
    }
}





/* LOCATIONS **************************************************************************************/
#locations {
    padding: clamp(3rem, 6vh, 6rem) 2vw;
    background-color: whitesmoke;
    text-align: center;
}

#locations h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    /* margin-bottom: 2rem; */
    color: black;
}

/* Grid-Layout für Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    justify-items: center;
    max-width: clamp(600px, 90vw, 1000px);
    margin: 0 auto;
}

/* Einzelne Location-Karte */
.location {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.location h4 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: black;
    margin-bottom: 0.5rem;
}

.location address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: black;
}

.map-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

/* Button */
.map-button {
    display: inline-block;
    background-color: black;
    color: #FFC4F1;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.map-button:hover {
    background-color: #FFC4F1;
    color: black;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .map-preview img {
        width: 100%;
        height: auto;
    }
}

  
/* ACCOMODATIONS **************************************************************************************/
/* Hauptcontainer als Flexbox */
#accommodations {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(3rem, 6vh, 6rem) 2vw;
    background-color: whitesmoke;
    text-align: center;
}

#accommodations h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: black;
}

#accommodations h4 {
    font-size: clamp(1.2rem, 2vw, 1rem);
    margin: 2rem 0 1rem;
    color: black;
}

/* Grid für Hotel- und Fewo-Karten */
.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    width: min(95%, 60rem);
    margin: 0 auto;
    padding: 1rem;
}

/* Einzelne Unterkunftskarte */
.accommodation-item {
    background: #FFC4F1;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow:
        0 0.5rem 1rem rgba(0, 0, 0, 0.1),
        0 1rem 2rem rgba(0, 0, 0, 0.1),
        0 1.5rem 3rem rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.accommodation-item.hotel{
    background-color: #faf0d3;
}

.accommodation-item.flat {
    background-color: #f5d7ed;
}

.accommodation-item h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.25rem;
    color: black;
}

.accommodation-item p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.accommodation-item a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    margin-top: 0.25rem;
}

.accommodation-item a:hover {
    text-decoration: underline;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
    .accommodations-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .accommodation-item {
        padding: 1rem;
    }
}



/* WITNESSES & CONTACTS **************************************************************************************/

#witnesses-contacts {
    padding: clamp(3rem, 6vh, 6rem) 2vw;
    background-color: whitesmoke;
    text-align: center;
}

#witnesses-contacts h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: clamp(1rem, 2vw, 2rem);
    color: black;
}

/* Grid für Kontakte */
#witnesses-contacts ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    padding: 0;
    margin: clamp(2rem, 5vw, 3rem) 0;
    list-style: none;
    justify-items: center;
}

/* Einzelne Kontakt-Karte */
#witnesses-contacts li {
    background-color: #ffffff;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#witnesses-contacts li img {
    width: clamp(6rem, 8vw, 8rem);
    height: clamp(6rem, 8vw, 8rem);
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

#witnesses-contacts li p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: black;
    margin: 0.25rem 0;
}

#witnesses-contacts li a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

#witnesses-contacts li a:hover {
    text-decoration: underline;
}

/* Abschnitt unten */
#witnesses-contacts > p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: black;
    margin-top: clamp(2rem, 4vw, 3rem);
}


/* 📱 Globale mobile Optimierung für Sections */
@media (max-width: 768px) {
    #witnesses-contacts ul {
        grid-template-columns: 1fr;
    }

    #witnesses-contacts li {
        width: 100%;
        max-width: 100%;
    }

    #witnesses-contacts li img {
        width: 6rem;
        height: 6rem;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
}





/* FOOTER **************************************************************************************/

footer {
    width: 100%;
    background-color: black;
    padding: 1.5rem 1rem;
    text-align: center;
}

footer p {
    font-size: clamp(0.75rem, 2vw, 1rem);
    color: #FFC4F1;
    margin: 0;
} 

footer a {
    color: #FFC4F1;
    text-decoration: underline;
    margin: 0 0.5rem;
}
  
footer a:hover {
    color: rgb(250, 153, 170);
}
  
