* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  font-family: 'Quicksand', sans-serif;
  background-color: white;
  color: #333;
}
.impressum-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.6;
}

.welcome-text {
  font-size: 1.25em;
  line-height: 1.2;
}

h1, h2, h3 {
  font-family: 'Luckiest Guy', cursive;
  letter-spacing: 3px;
}
h1 {
  font-size: 4em;
}
h2 {
  font-size: 3em;
}
h3 {
  font-size: 1.5em;
}

a {
  text-decoration: none;
  color: inherit;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}
.logo {
  height: 50px;
}
.nav-container {
  flex: 1;
  text-align: center;
}
.nav-links, .header-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin: 0.5em 0;
}
.black-bar {
  background-color: black;
  height: 20px;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  display: block;
}
.hero-banner {
  background-image: url('header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0;
  border: none;
}
.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1em;
  border-radius: 10px;
  color: white;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}
.content-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-around;
  align-items: center;
  padding: 2em 0;
}
.content-section img {
  max-width: 400px;
}
.content-section .text {
  max-width: 300px;
}
.content-section .links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.blue-section {
  background-color: #002244;
  color: white;
  padding: 2em 1em;
  text-align: center;
}
.light-section {
  background-color: #fff;
  color: #222;
  padding: 2em 1em;
  text-align: center;
}
.displate-section .three-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}
.displate-section img {
  max-width: 300px;
}
.dual-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
  justify-content: center;
  padding: 2em 0;
}

.dual-section img {
  max-width: 600px;
  width: 100%;
  height: auto;
  flex-shrink: 0; /* verhindert, dass das Bild kleiner gemacht wird */
}

.dual-section > div {
  flex: 1 1 300px;
  max-width: 500px;
}
loring-grid-wrapper {
  padding: 2em 1em;
  text-align: center;
}
.coloring-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}
.coloring-card {
  background-color: white;
    color: #222;
  padding: 1em;
  border-radius: 10px;
  width: 250px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.coloring-card img {
  width: 100%;
  border-radius: 6px;
}
.video-grid-wrapper {
  padding: 2em 1em;
  text-align: center;
}
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  background-color: #001122;
  color: white;
  padding: 1em;
  border-radius: 10px;
  width: 250px;
  text-align: left;
}
.video-card img {
  width: 100%;
  border-radius: 6px;
}
footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 2em 1em;
}
.social-icons a {
  margin: 0 0.5em;
  color: white;
  text-decoration: none;
  font-size: 1.5em;
}

.link-box {
  background-color: #f0f4ff;
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1.1em;
  max-width: 300px;
}

.link-box h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.4em;
  margin-top: 1em;
  color: #002244;
    margin-bottom: 0.1em;
}

.link-box ul {
  padding-left: 1.2em;
  margin: 0;
    margin-top: 0;
}

.link-box li {
  margin: 0.3em 0;
  list-style: none;
}

.link-box a {
  color: #002288;
  font-weight: 600;
  text-decoration: none;
}

.link-box a:hover {
  text-decoration: underline;
}

.nav-links a {
  background-color: #002244;
  color: white;
  padding: 0.4em 1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-align: center;
}

.nav-links a:hover {
  background-color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-links {
  gap: 0.6em;
}

.button-blue {
  background-color: #002244;
  color: white;
  padding: 0.5em 1.2em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1em;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-blue:hover {
  background-color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.button-yellow {
  background-color: #FFA64D;
  color: white;
  padding: 0.5em 1.2em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1em;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.icon {
  height: 24px;
  width: 24px;
  vertical-align: middle;
  margin: 0 0.3em;
}

.other-projects .project-card {
  text-align: center;
  max-width: 320px;
}
.other-projects .project-card img {
  width: 100%;
  border-radius: 12px;
}


/* ------ Carousel core ------ */
.carousel{
  position: relative;
  max-width: 320px;      /* Breite der Karte            */
  width: 100%;           /* füllt die Spalte komplett   */
  text-align: center;
  overflow: hidden;      /* <<< blendet alles aus,
                             was rechts/links raussteht */
}
.carousel input {
  display: none;              /* hide radio buttons */
}
/* Ratio ändern: Breite : Höhe = 9 : 16  (ca. 0,5625) */
/* Bildstreifen */
.carousel .slides{
  display: flex;
  transition: transform .4s ease;
  aspect-ratio: 9 / 16;  /* oder 1 / 1 – wie du willst */
}
.carousel .slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}
/* shift slides */
#lm-slide1:checked ~ .slides { transform: translateX(0); }
#lm-slide2:checked ~ .slides { transform: translateX(-100%); }
#lm-slide3:checked ~ .slides { transform: translateX(-200%); }
#lm-slide4:checked ~ .slides { transform: translateX(-300%); } 


/* dots */
.carousel .dots {
  margin: .5rem 0 1rem;
}
.carousel .dots label {
  width: .8rem;
  height: .8rem;
  display: inline-block;
  border-radius: 50%;
  background:#fff7;
  cursor: pointer;
  margin: 0 .25rem;
}
#lm-slide1:checked ~ .dots label:nth-child(1),
#lm-slide2:checked ~ .dots label:nth-child(2),
#lm-slide3:checked ~ .dots label:nth-child(3),
#lm-slide4:checked ~ .dots label:nth-child(4){
  background:#fff;
}


/* i.choose.wtf – Shift */
#ic-slide1:checked ~ .slides { transform: translateX(0); }
#ic-slide2:checked ~ .slides { transform: translateX(-100%); }
#ic-slide3:checked ~ .slides { transform: translateX(-200%); }
#ic-slide4:checked ~ .slides { transform: translateX(-300%); }

/* i.choose.wtf – Dot-Highlight */
#ic-slide1:checked ~ .dots label:nth-child(1),
#ic-slide2:checked ~ .dots label:nth-child(2),
#ic-slide3:checked ~ .dots label:nth-child(3),
#ic-slide4:checked ~ .dots label:nth-child(4) {
  background: #fff;
}

/* ----- Collaborations card grid ----- */
.collaborations .collab-grid{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  justify-content:center;
  margin-top:2rem;
}

.collaborations .collab-card{
  flex:1 1 160px;            /* grows, but never smaller than 160 px */
  max-width:200px;
  background:rgba(255,255,255,0.12); /* translucent white */
  border-radius:16px;
  padding:1.2rem .9rem 1.4rem;
  text-align:center;
  backdrop-filter:blur(4px);
}

.collaborations .collab-card img{
  width:64px;
  height:64px;
  object-fit:contain;
  margin-bottom:.6rem;
}

.collaborations .collab-card a{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:.3rem;
  font-weight:700;
  color:#fff;
  text-decoration:none;
}

.collaborations .collab-card p{
  font-size:.85rem;
  line-height:1.3;
  margin-top:.7rem;
}

