

/* ───────────────────────── */
/* ALLGEMEINE STYLES */
/* ───────────────────────── */

.alles {
    background-color:#f1efe7;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f1efe7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
}

/* ───────────────────────── */
/* NAVIGATION */
/* ───────────────────────── */

.pageHeader{
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #ff7f6e;
    height: 115px;
}

.pageHeader.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 127, 110, 0.8);
}

/* ───────────────────────── */
/* INFO BOX */
/* ───────────────────────── */

/* Positionierung unten links */
.info-box-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}

/* Das eigentliche Kasterl/Button */
.info-trigger {
  width: 40px;
  height: 40px;
  background-color: #25727a; /* Deine Markenfarbe */
  color: white;
  border: none;
  border-radius: 5px; /* Leicht abgerundet wie bei Lewog */
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Der Text, der standardmäßig versteckt ist */
.info-content {
  display: none;
  background: #25727a;
  border: 1px solid #ccc;
  padding: 15px;
  margin-left: 10px;
  border-radius: 5px;
  width: 200px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Zeigt den Text an, wenn man die Maus über den Container hält */
.info-box-container:hover .info-content {
  display: block;
  color:#f1efe7;
}

/* ───────────────────────── */
/* INDEX - HERO */
/* ───────────────────────── */

/* Titelbild*/
.entrySectionVideo{
    position: relative;
    overflow: hidden;
    height: min(80vh, 720px);
    min-height: 520px;
}

.entrySectionVideo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.45));
    pointer-events: none;
}

.entrySectionVideo img,
.entrySectionVideo video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
}

/* ───────────────────────── */
/* INDEX - FILME */
/* ───────────────────────── */

/* Lieblingsfilme Sektion */
.lieblingsfilme-section {
  background: #f5f3ee;
  padding: 70px 20px;
}

.lieblingsfilme-content {
  max-width: 900px;
  margin: 0 auto;
}

.lieblingsfilme-section h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #25727a;
  margin-bottom: 50px;
  font-weight: 700;
}

/* Moderne Liste */
.film-liste-modern {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Karten */
.film-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background: white;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.film-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Bild */
.film-card img {
  width: 110px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* Text */
.film-info h3 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 8px;
}

.film-info p {
  color: #666;
  font-size: 1rem;
}

/* Overlay */
.film-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Modal */
.film-modal {
  background: white;
  padding: 25px;
  border-radius: 25px;
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  animation: filmPopup 0.3s ease;
}

.film-modal img {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  margin-top: 15px;
}

.film-modal h3 {
  font-size: 2rem;
  color: #25727a;
}

/* Schließen Button */
.film-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #444;
}

/* Animation */
@keyframes filmPopup {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Ältere Film-Sektion */
.filme-liste {
  list-style: disc;
  padding: 0 0 0 30px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.film-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #ff7f6e;
  border: 1px solid #e66b5e;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.film-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px #e66b5e;
}

.film-titel {
  flex: 1;
  font-size: 1.3em;
  color: #333;
  font-weight: 600;
  font-style: italic;
}

.film-image-small {
  width: 90px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
 clip-path: polygon(
    50% 0%, 100% 25%, 100% 75%,
    50% 100%, 0% 75%, 0% 25%
  );
}

.film-image-small:hover {
  transform: scale(1.05);
}

.film-image-small.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2.5);
  z-index: 1000;
  max-width: 60vw;
  max-height: 80vh;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.film-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 999;
  display: none;
}

.film-image-overlay.active {
  display: block;
  cursor: pointer;
}

/* ── Hero Button ──────────────────────────────────────────── */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.logo {
  animation: logoPulse 6s ease-in-out infinite 1s;
}

.logo img {
  height: 150px;
  animation: driftIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes driftIn {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.03);
  }
}

/* Navigation */
#nav-menu{
    display:flex;
    gap:10px;
    list-style:none;
    height: 40px;
}
/* Links */
#nav-menu a{
    text-decoration:none;
    color:white;
    font-weight:400px;
    padding:8px 16px;
    border-radius:6px;
    transition:0.3s;
}
/* Effekt */
#nav-menu a:hover{
    background:#25727a;
}

#nav-menu a.active {
    background:#25727a;
}

.menu-hamburger {
    position: relative;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 50;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#nav-menu {
    display: flex;
    gap: 10px;
    list-style:none;
    height: 40px;
}



/* Titel Sara Kern */

.title{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-family:'Crimson Text';
    font-size: clamp(4.2rem, 8vw, 7rem);
    color:white;
    letter-spacing: 2px;
    margin: 0;
    padding: 0 18px;
    white-space: normal;
    max-width: 92%;
    text-align: center;
    z-index: 2;
    text-shadow: 0 10px 35px rgba(0,0,0,0.45);
}

.hero-btn:hover::after {
    transform: translateX(5px);
}

/* ── Hero Button ──────────────────────────────────────────── */
.hero-btn {
    position: absolute;
    top: 75%;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 2rem;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: white;
    background: #ff7f6e;
    border: 2px solid white;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    z-index: 1;
}

/* Willkommen Button - links */
.willkommen-btn {
    left: 50%;
    transform: translateX(-120%);
}

/* Galerie Button - rechts */
.galerie-btn {
    left: 50%;
    transform: translateX(20%);
}

/* Pfeil */
.hero-btn::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

/* Von-oben-Füll-Overlay */
.hero-btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25727a;
    z-index: -1;
    transition: top 0.35s ease;
}

.hero-btn:hover::before {
    top: 0;
}

.hero-btn:hover::after {
    transform: translateX(5px);
}


/* Willkommen */
.WillkommenmitBild{
    padding:0;
    margin: 0;
}


/* Container für Text neben Bild */
.WillkommenContainer{
    display:flex;
    align-items:flex-start;
    flex-wrap:nowrap;
    flex-direction: row; 
    color: #25727a;
}

.container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0px; 
    background-color: #f1efe7;  
}

.text{
    font-size: 30px;
    text-align: center;
    opacity: 0;
    transform: translateX(-35px);
}

.text.animate {
    animation: slideInLeft 0.9s ease forwards;
}

.text h1.animate {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.15s;
}

.text p.animate {
    animation: slideInLeft 1.1s ease forwards;
    animation-delay: 0.35s;
}

.image {
    opacity: 0;
    transform: translateX(35px);
}

.image.animate {
    animation: slideInRight 1s ease forwards;
    animation-delay: 0.2s;
}

.image img{
    width: 255px;
    margin-right: 50px;
    margin: 50px;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}









/* Info Kreise */
.Infokreise {
    padding: 80px;
    background-color: transparent;
}

.KreisContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.Kreis {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    cursor: pointer;
    perspective: 600px;
}

.Kreis-innen {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.Kreis.gedreht .Kreis-innen {
    transform: rotateY(180deg);
}

.Kreis-vorne,
.Kreis-hinten {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.772);
}
/* von webiste aus Internet code kopiert für Gradient*/
.Kreis-vorne {
    background: linear-gradient(to right, #fa709a 0%, #fee140 100%);
    color: white;
}

.Kreis-vorne p {
    margin: 0;
    font-weight: 400;
}

.Kreis-vorne span {
    font-size: 14px;
}

.Kreis-hinten {
    background: #25727a;
    transform: rotateY(180deg);
    overflow: hidden;
}

.Kreis-hinten img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Klassen Fotos */
.KlassenFotosBereich{
    padding:40px ;
    background: transparent;
}
/* Titel */
.KlassenFotosTitel{
    
    font-size:50px;
    color:#ff7f6e;
    text-align: center;
}

.FotosContainer{
     display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center; 
}

.FotoElement{
    text-align:center;
    flex:0 0 auto;
    width: 350px;
}
/* fotos */
.FotoElement img{
    width: 325px;
    height: 235px;       /* ← feste Höhe → erzwingt Querformat */
    object-fit: contain; /* ← Logo wird nicht abgeschnitten */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
     
}
/* Schulnamen */
.FotoElement a{
    display:block;
    margin-top:10px;
    text-decoration:none;
    color:#25727a;
    font-weight:600;
    transition:0.3s;
    font-size: 25px;
    text-align: center;
     text-decoration: underline;
}
/* Hover Effekt bei Petrinum und HLW */
.FotoElement a:hover{
    color:#ff7f6e;
}
/* Text unter den Fotos */
.KlassenFotosText{
    
    
    
    font-size:20px;
  text-align: center;
}


/* Orte*/

.ort-card {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.ort-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25727a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    border-radius: 8px;
    gap: 10px;
    box-sizing: border-box;
}

.ort-overlay p {
    margin: 0;
    width: 100%;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    
}

.ort-overlay .mehr-btn {
    display: inline-block;
    background-color: white;
    color: #25727a;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 999px;
    text-decoration: none;
    pointer-events: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.ort-card:hover .ort-overlay {
    opacity: 1;
}
  
.Alles{
    background-color: transparent;
}

.orte-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
   
}

.ort-card {
    display: flex;
    flex-direction: column;
    width: 270px;
    text-decoration: none;
    color: #ffffff;
    background: #25727a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}


.ort-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.ort-card .ort-name {
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: #ff7f6e;
}

.ort-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Überschrift über den Orten */
.orte h2 {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

/* Linien links und rechts für Orte-Überschrift */
.orte h2::before,
.orte h2::after {
    content: "";
    display: inline-block;
    width: 30%;
    height: 2px;
    background-color: #ff7f6e;
    vertical-align: middle;
    margin: 0 15px;
}



/* Grundlegendes */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: #2f2f2f;
}


/* Hero Bereich mit Hintergrundbild */
.hero {
    position: relative;
    height: 70vh;
      background:url('images/schilder.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .overlay {
    background: rgba(0,0,0,0.4); /* dunkler Overlay für bessere Lesbarkeit */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    text-align: center;
    letter-spacing: 2px;
}

/* Lieblingsorte Bereich */
.orte {
    padding: 60px 10%;
    text-align: center;
}

.orte-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
      
}

.ort-link {
    display: inline-block;
    padding: 20px 30px;
    background-color: #7a8450;
    color: white;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.ort-link:hover {
    background-color: #3d4a2c;
    transform: scale(1.05);
}
.flip-card-back video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}






/* Familie und Freunde */

/* ── HERO ────────────────────────────────────────────── */
.hero-familie {
    height: 60vh;
    background: linear-gradient(to right, #25727a, #ff7f6e);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-familie h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
}

/* ── ZITATE ──────────────────────────────────────────── */
.zitat {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: #25727a;
    text-align: center;
    max-width: 700px;
    margin: 60px auto;
    padding: 30px 40px;
    border-left: 4px solid #25727a;
    border-right: 4px solid #25727a;
    position: relative;
    line-height: 1.7;
}

.zitat::before {
    content: '❝';
    font-size: 60px;
    color: #25727a;
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 16px;
    line-height: 1;
}

/* ── TITEL ───────────────────────────────────────────── */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin: 70px 0 40px 0;
}

/* ── KARTEN (Familie & Freunde teilen dieselbe Klasse) ─ */
.freund {
    background: #25727a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 300px;
}

.freund img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.freund p {
    padding: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* ── FAMILIE LAYOUT ──────────────────────────────────── */
.familie-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 10%;
}

/* ── FREUNDE GRID ────────────────────────────────────── */
.freunde-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 12% 80px 12%;
}

/* ── HERO SHIMMER ─────────────────────────────────── */
.hero-familie {
    position: relative;
    overflow: hidden;
}

.hero-familie::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to { left: 160%; }
}

/* ── FAMILIE – OVERLAY ────────────────────────────── */
.familie-container .freund {
    position: relative;
    overflow: hidden;
}

.familie-container .freund img {
    transition: transform 0.4s ease;
}

.familie-container .freund:hover img {
    transform: scale(1.08);
}

.familie-container .freund p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(37, 114, 122, 0.88);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.familie-container .freund:hover p {
    transform: translateY(0);
}

/* ── FREUNDE – GRAUSTUFEN → FARBE ────────────────── */
.freunde-container .freund img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.freunde-container .freund:hover img {
    filter: grayscale(0%);
}

/* ── GALERIE ─────────────────────────────────────────── */
.gallery {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* Überschrift überspannt alle Spalten */
.galerie-titel {
    grid-column: 1 / -1;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 20px 0 10px 0;
    position: relative;
    letter-spacing: 2px;
}

/* Dekorative Linie unter dem Titel */
.galerie-titel::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #25727a, #ff7f6e);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* Trennlinie zwischen Galerien */
 .gallery {
    padding: 40px 0;  /* nur oben/unten, links/rechts = 0 */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 50px;
}


.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Verlinkung – Tippfehler behoben (war .Verlinkungbayern) */
.Verlinkung img,
.Verlinkung.bayern img {
    border-bottom: 3px solid #ff7f6e;
    padding-bottom: 5px;
}
/* ── HERO ────────────────────────────────────────────── */
.Hintergrund {
    height: 80vh;
    background: linear-gradient(135deg, #25727a 0%, #ff7f6e 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.Hintergrund::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.Hintergrund h1 {
    font-family: 'Crimson Text', serif;
    font-size: 70px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 2px;
}

.Hintergrund .overlay {
    position: relative;
    z-index: 2;
}

/* ── KARTEN CONTAINER ────────────────────────────────── */
.hobbys-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 80px 30px;
    background-color: #f1efe7;
}

/* ── MODERNE HOBBY KARTEN ────────────────────────────── */
.flip-card {
    background-color: transparent;
    width: 320px;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* ── VORDER- & RÜCKSEITE ─────────────────────────────── */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.flip-card-front {
    background: linear-gradient(135deg, #25727a 0%, #ff7f6e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-front {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: translateZ(10px);
}

.flip-card-front img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
}

.flip-card-front p {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 15px 0 0 0;
    font-family: 'Crimson Text', serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-back {
    background: linear-gradient(135deg, #f1efe7 0%, #e8dcc8 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 .bildnachweis-tabelle {
    width: calc(100% - 400px); /* links und rechts 200px Abstand */
    margin: 0 auto 60px auto;   /* zentriert + Abstand unten */
    border-collapse: collapse;  /* keine doppelten Linien */
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
 
.bildnachweis-tabelle th,
.bildnachweis-tabelle td {
    padding: 12px 20px;
    text-align: left;
}
 
.bildnachweis-tabelle th {
    background-color: #e66b5e;
    font-weight: 600;
}
 
.bildnachweis-tabelle tbody tr:nth-child(even) {
    background-color: #ffb3aa;
}
 
.bildnachweis-tabelle tbody tr:hover {
    background-color: #25727a;
    transition: background-color 0.3s ease;
}
 
.bildnachweis-tabelle td {
    border: none; /* keine Spaltenlinien */
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.content {
  position: relative;
  color: white;
  text-align: center;
  margin-top: 20%;
  font-size: 2rem;
}
/* ── HERO ────────────────────────────────────────────── */
.hero-projekte {
    height: 80vh;
    background: url('images/malerei.png');
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-projekte .overlay {
    background: #25717a53;
    padding: 25px 40px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgb(255, 255, 255);
}
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.content {
  position: relative;
  color: white;
  text-align: center;
  margin-top: 20%;
  font-size: 2rem;
}

.hero-projekte h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
    padding: 20px 40px;
    border-radius: 10px;
}

/* ── PROJEKT GRUPPE ──────────────────────────────────── */
.projekt-gruppe {
    margin-bottom: 80px;
    padding: 0 80px;
    color: #000000;
}

.projekt-gruppe h2 {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.projekt-gruppe h2::before,
.projekt-gruppe h2::after {
    content: "";
    display: inline-block;
    width: 25%;
    height: 2px;
    background-color: #ff7f6e;
    vertical-align: middle;
    margin: 0 15px;
}

/* ── PROJEKT KARTEN ──────────────────────────────────── */
.projekte-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.projekt-card {
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.936);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.projekt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.943);
}

.projekt-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projekt-card img:hover {
    transform: scale(1.05);
}

.projekt-card h3 {
    padding: 15px 0 5px 0;
    font-size: 20px;
    color: #000000;
}

.projekt-card p {
    padding: 0 20px 10px 20px;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

/* Timeline Schullaufbahn */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ff7f6e, #ffb3aa);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background-color: #ff7f6e;
  border: 3px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px #ff7f6e;
  z-index: 1;
}

.timeline-jahr {
  text-align: center;
  font-size: 0.85em;
  font-weight: 700;
  color: #ff7f6e;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.timeline-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(255, 127, 110, 0.25);
}

.timeline-card img {
  width: 130px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
}

.timeline-info {
  padding: 15px 20px 15px 0;
}

.timeline-info h3 {
  font-size: 1.2em;
  color: #ff7f6e;
  margin: 0 0 8px 0;
}

.timeline-info p {
  font-size: 0.95em;
  color: #555;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

/* Klassenfoto Button */
.klassenfoto-btn {
  background-color: #ff7f6e;
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.klassenfoto-btn:hover {
  background-color: #e06050;
  transform: scale(1.05);
}

/* Overlay */
.klassenfoto-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.klassenfoto-overlay.aktiv {
  display: flex;
}

/* Modal */
.klassenfoto-modal {
  background: white;
  border-radius: 16px;
  padding: 25px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.klassenfoto-modal h3 {
  color: #ff7f6e;
  margin: 0 0 15px 0;
  font-size: 1.4em;
}

.klassenfoto-modal img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Schließen Button */
.klassenfoto-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: #ff7f6e;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.klassenfoto-close:hover {
  background-color: #e06050;
}



/* ── SCHULLAUFBAHN TIMELINE ──────────────────────────── */
.schule-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 60px 0;
    display: block;
}

/* Mittellinie */
.schule-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ff7f6e;
    transform: translateX(-50%);
}

/* Alle Items: halbe Breite */
.schule-item {
    width: 44%;
    margin: 0 0 60px 0;
    position: relative;
}

/* Ungerade → links */
.schule-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
    padding-right: 40px;
}

/* Gerade → rechts */
.schule-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    padding-left: 40px;
}

/* Punkt auf der Mittellinie */
.schule-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 14px;
    height: 14px;
    background: #25727a;
    border: 3px solid #ff7f6e;
    border-radius: 50%;
}

.schule-item:nth-child(odd)::after {
    right: -7px;
}

.schule-item:nth-child(even)::after {
    left: -7px;
}

.schule-text {
    font-size: 18px;
    color: #ffffff;
    margin-top: 12px;
    text-align: center;
    
}

/* Quadratische Karte */
.schule-item .flip-card {
    width: 400px;
    height: 280px;
    display: inline-block;
}

/* Foto füllt die Karte perfekt */
.schule-item .flip-card-front img,
.schule-item .flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Label innerhalb der Vorderseite */
.schule-item .flip-card-front {
    flex-direction: column;
}

.schule-item .flip-card-front img {
    height: 78%;
    flex-shrink: 0;
}

.schule-item:nth-child(odd) .flip-card {
    margin-left: auto;
}

/* Icons für Footer-Links */
.footer a[href*="impressum"]::before {
    content: "\f129";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
}
 
.footer a[href*="datenschutz"]::before {
    content: "\f3ed";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
}
 
.footer a[href*="kontakt"]::before {
    content: "\f0e0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
}
 

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/* Wrapper */
.back-to-top-wrapper {
  position: fixed;
  bottom: 40px;
  right: 40px;
  cursor: pointer;
  z-index: 999;
}

/* Kreis größer */
.back-circle {
  position: relative;
  width: 140px;
  height: 140px;
}

/* SVG */
.circle-svg {
  width: 100%;
  height: 100%;
  animation: rotate 12s linear infinite;
}

/* Text im Kreis größer */
.circle-text {
  font-size: 20px;
  fill: #25727a;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Mitte Button größer */
.center-button {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 70px;
  height: 70px;

  background: #25727a;
  color: white;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);

  transition: transform 0.3s ease;
}

/* Hover */
.back-circle:hover .center-button {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Rotation */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
    
}

/* Blauer Kreis – zentriert in der Mitte */
.kreis1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: #004e7a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    transition: box-shadow 0.4s ease;
}

.kreis-container:hover .kreis1 {
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.pfeil {
    font-size: 42px;
    color: #ffffff;
    line-height: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

@keyframes rotateText {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.back-to-top-circle i {
    color: white;
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.back-to-top-circle:hover {
    background-color: #25727a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}



/* Galerie */
.gallery-header {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
 
.gallery-container {
    background-color: #f7f6f1;
    padding: 80px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
 
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
}
 
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
 
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.35);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.gallery-overlay span {
    background: rgba(0, 0, 0, 0.55);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}
 
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}
 
.gallery-item.medium .gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}
 
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.content {
  position: relative;
  color: white;
  text-align: center;
  margin-top: 20%;
  font-size: 2rem;
}
 
 .galerie-link-container {
    display: flex;
    justify-content: center;
    margin-top: 120px;  /* schiebt ihn nach unten */
    margin-bottom: 40px; /* Abstand zum Footer */
}


/* ───────────────────────── */
/* HERO */
/* ───────────────────────── */

.Hintergrund{
    height:75vh;

    background:
    linear-gradient(rgba(0,0,0,0.42), rgba(0,0,0,0.42)),
    url('images/tennisplatz.jpg');

    background-size:cover;
    background-position:center center;

    display:flex;
    justify-content:center;
    align-items:center;
    position: relative;

    overflow:hidden;
}

.Hintergrund::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
}

.Hintergrund h1{
    position: relative;
    z-index: 2;
    font-family:'Playfair Display', serif;

    font-size:clamp(3rem, 7vw, 6rem);

    color:white;

    letter-spacing:2px;

    text-shadow:0 12px 35px rgba(0,0,0,0.45);
    text-align: center;
    max-width: 90%;
    padding: 0 18px;
}

/* ───────────────────────── */
/* HOBBYS */
/* ───────────────────────── */

.hobbys{
    padding:100px 30px;
}

.hobbys-container{
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));

    gap:40px;
}

/* ───────────────────────── */
/* CARD */
/* ───────────────────────── */

.flip-card{
    height:430px;
    perspective:1400px;
}

.flip-card-inner{
    position:relative;

    width:100%;
    height:100%;

    transition:transform 0.8s cubic-bezier(.4,.2,.2,1);

    transform-style:preserve-3d;
}

.flip-card:hover .flip-card-inner{
    transform:rotateY(180deg);
}

.flip-card-front,
.flip-card-back{
    position:absolute;

    width:100%;
    height:100%;

    border-radius:28px;

    overflow:hidden;

    backface-visibility:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

/* Vorderseite */

.flip-card-front{
    background:white;

    display:flex;
    flex-direction:column;
}

.flip-card-front img{
    width:100%;
    height:78%;
    object-fit:cover;

    transition:0.5s ease;
}

.flip-card:hover .flip-card-front img{
    transform:scale(1.08);
}

.flip-card-front p{
    flex:1;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:1.5rem;
    font-weight:600;

    color:#25727a;
}

/* Rückseite */

.flip-card-back{
    transform:rotateY(180deg);

    background:#111;
}

.flip-card-back video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ───────────────────────── */
/* FOOTER */
/* ───────────────────────── */

.footer{
    margin-top:40px;

    background:#ff7f6e;

    padding:30px;

    display:flex;
    justify-content:center;
    gap:30px;
}

.footer a{
    color:white;
    text-decoration:none;

    font-weight:500;

    transition:0.3s;
}

.footer a:hover{
    opacity:0.7;
}


/* ───────────────────────── */
/* RESPONSIVE DESIGN */
/* ───────────────────────── */

/* Tablet */
@media (max-width: 1024px) {

    .pageHeader {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    #nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }

    .title {
        font-size: clamp(3rem, 6vw, 5rem);
    }

    .WillkommenContainer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image img {
        width: 220px;
        margin: 20px 0;
    }

    .KreisContainer {
        justify-content: center;
    }

    .freunde-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .projekte-container {
        grid-template-columns: 1fr;
    }

    .schule-item,
    .schule-item:nth-child(odd),
    .schule-item:nth-child(even) {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .schule-container::before {
        left: 20px;
    }

    .schule-item::after {
        left: 12px !important;
    }

    .schule-item .flip-card {
        width: 100%;
        max-width: 400px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-card {
        flex-direction: column;
        text-align: center;
    }

    .timeline-card img {
        width: 100%;
        height: 220px;
    }

    .timeline-info {
        padding: 20px;
    }
}

/* Handy */
@media (max-width: 768px) {

    .nav-toggle-label {
        display: flex;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ff7f6e;
        padding: 20px 0;
        text-align: center;
        height: auto;
    }

    .nav-toggle:checked + .nav-toggle-label + #nav-menu {
        display: flex;
    }

    .logo img {
        height: 110px;
    }

    .title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .willkommen-btn {
        left: 50%;
        transform: translateX(-110%);
    }

    .galerie-btn {
        left: 50%;
        transform: translateX(10%);
    }

    .text {
        font-size: 22px;
        padding: 20px;
    }

    .Kreis {
        width: 180px;
        height: 180px;
    }

    .FotoElement {
        width: 100%;
    }

    .FotoElement img {
        width: 100%;
        height: auto;
    }

    .freunde-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero h1,
    .hero-familie h1,
    .hero-projekte h1,
    .Hintergrund h1 {
        font-size: 2.5rem;
        padding: 10px;
    }

    .projekt-gruppe {
        padding: 0 20px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .bildnachweis-tabelle {
        width: 95%;
        font-size: 14px;
    }

    .bildnachweis-tabelle th,
    .bildnachweis-tabelle td {
        padding: 10px;
    }

    .back-to-top-wrapper {
        bottom: 20px;
        right: 20px;
        transform: scale(0.8);
    }
}

/* Sehr kleine Geräte */
@media (max-width: 480px) {

    .title {
        font-size: 2rem;
    }

    .hero-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .film-card {
        flex-direction: column;
        text-align: center;
    }

    .film-card img {
        width: 90px;
        height: 130px;
    }

    .film-info h3 {
        font-size: 1.2rem;
    }

    .film-info p {
        font-size: 0.9rem;
    }

    .Kreis {
        width: 150px;
        height: 150px;
    }

    .KlassenFotosTitel,
    .section-title,
    .orte h2 {
        font-size: 2rem;
    }

    .zitat {
        font-size: 18px;
        padding: 20px;
    }
}/* X Button ganz nach rechts oben */
.film-close,
.klassenfoto-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Falls du auch beim Impressum ein Popup/Modal hast */
.impressum-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;

    background: #ff7f6e;
    color: white;
    border: none;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    cursor: pointer;

    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.impressum-close:hover {
    background-color: #e06050;
}