/* =================== Basis-Stil für Desktop ab 1281px aufwärts =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben*/
--primary-color: #E951B7;
--secondary-color: #FFFFFF;
--background-color: #FFF7FA;
--text-color:#000000;

    /*Fonts und Überschriften*/
--font-primary: 'Nunito';
--font-secondary: 'Playfair Display';
}

h1 { /*Überschriften*/
    display: block;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

h2 { /*Überschriften*/
    display: block;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

h3 { /*Polaroids*/
    display: block;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;

}

h4 { /*Impressum*/
    display: block;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 10px;
}

p { /*Text*/
    display: block;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin: 10px 0;
    padding: 10px 0;
    unicode-bidi: isolate;
}

body {
    background-color: var(--background-color);
}

/* ====================================== HEADER ============================================== */

header {
display: block;
position: relative;
background: none;
height: 100px;
border-bottom: var(--primary-color) solid 3px;
padding: 10px;
margin-bottom: 40px;
}

header img.logo {
    display: flex;
    position: absolute;
    object-fit: contain;
    height: 130px;
    width: 100px;
    rotate: 42deg;
    transform: scaleX(-1);
    top: -10px;
    left: 20px;
}

header section nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: flex-end;
    gap: 70px;
    margin-right: 30px;
    margin-top: 13px;
    padding: 10px;

}

header section nav ul a {
    font: var(--font-secondary);
    font-weight: 550;
    color: var(--primary-color);
    list-style: none;
    text-decoration: none;
    font-size: 1.9rem;
}

nav a.active {
       color: #db0192;
}

/* ====================================== FOOTER ============================================== */

footer {
    background: transparent;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer h4 {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 525;
}

/* ==================================== LANDING PAGE ============================================== */

.eiskaffeeTeaser {
display: flow-root;
margin-left: 80px;
margin-right: 80px;
margin-bottom: 30px;
}

.eiskaffeeTeaser h1 {
    padding: 10px;
    margin-top: 10px;
}

.eiskaffeeTeaser p {
    padding: 10px;
    margin-top: 10px;
}

.polaroidTeaserContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.polaroidTeaser {
    flex: 0 1 47%;
    margin: 10px;
}

 .teaserPolaroids img {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

a.rezepte {
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-secondary); 
    font-size: 2rem;
    font-weight: 800;
    width: 350px;
    height: 100px;
    padding: 25px 60px;
    border: none;
    border-radius: 100px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.buttonWrapper {
    flex: 1 0 100%; /* nimmt eine ganze Flex-Zeile ein */
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

a.rezepte:hover {
    background-color:#db0192;
    text-decoration: none;
}
    
.facts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.kaffeeFacts h2 {
    padding: 10px;
    margin: 20px 0;
}

.fact-card {
    flex: 0 1 300px;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.fact-divider {
    border: none;
    border-top: 2px solid var(--primary-color);
    margin: 15px auto;
    width: 60px;
}

.fact-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fact-card p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-color);
}


/* ========================================= PAGE ABOUT ME ===========================================*/

.aboutMe {
display: flow-root;
margin-left: 80px;
margin-right: 80px;
margin-bottom: 30px;
}

.aboutMe h1 {
    padding: 10px;
    margin-top: 10px;
}

.aboutMe img {
max-height: 35%;
max-width: 88%;
border-radius: 15px;
display: block;
margin: 0 auto;
margin-bottom: 40px;
}

.aboutMe p {
    padding: 10px;
    margin-top: 10px;
}

.mySwiper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    justify-content: center;
    border-radius: 15px;
}

.swiper-pagination-bullet {
  background-color: gray !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background-color: hotpink !important;
}

/* =================================== PAGE OVERVIEW COFFEES =========================================*/
.overview {
    display: flow-root;
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 30px;
}

.overview h1 {
    padding: 10px;
    margin-top: 10px;
}

.overviewContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.overviewPolaroid {
    flex: 0 1 47%;
    padding: 10px;
    box-sizing: border-box;
}

.overviewPolaroid img {
    width: 100%;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ================================== COFFEE DETAILS ========================================*/

.coffeePage {
    display: flow-root;
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 30px;
}

.originCoffee h1 {
    padding: 10px;
    margin-top: 10px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 98%;
   margin-bottom: 40px;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.originCoffee p {
    padding: 10px;
    margin-top: 10px;
}

.coffeeReceipe {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  margin-left: 80px;
  margin-right: 80px;
  margin-bottom: 30px;
}


.coffeeReceipe ol {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.coffeeReceipe ul {
  list-style: none;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.coffeeReceipe li {
  margin-bottom: 0.75rem;
}


/* ========================= IMPRESSUM ========================= */

.impressumPage {
  display: flow-root;
  margin-left: 80px;
  margin-right: 80px;
  margin-bottom: 30px;
}

.impressumPage h1 {
  padding: 10px;
margin-top: 10px;
}

.impressumPage p {
  padding: 10px;
  margin-top: 10px;
}

.impressumPage a {
  color: var(--primary-color);
  text-decoration: none;
}

.impressumPage a:hover {
  text-decoration: underline;
}

/* ====================================== MEDIA QUERIES ============================================== */

@media (max-width: 1280px) { 
    
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.5rem;
    }

/*Header*/
    header img.logo {
        height: 120px;
        width: 100px;
        top: -5px;
        left: 20px;
    }

    header section nav ul {
        gap: 50px;
        margin-right: 25px;
        margin-top: 10px;
    }

    header section nav ul a {
        font-size: 2rem;
    }

    /*About Me */
    .aboutMe {
        margin-left: 60px;
        margin-right: 60px;
        margin-bottom: 30px;
    }

    .aboutMe img {
        max-height: 40%;
        max-width: 90%;
        margin-bottom: 30px;
    }

    /*Footer*/
    footer {
        padding: 10px 0;
        margin-bottom: 5px;
        text-align: center;
    }

    footer h4 {
     font-size: 1.25rem;
    
    }

    /*Landing Page*/
    .eiskaffeeTeaser{
        margin-left: 60px;
        margin-right: 60px;
        margin-bottom: 30px;
    }

    .teaserPolaroids img{
        width: 100%;
    }

    a.rezepte {
        width: 320px;
        height: 90px;
        padding: 20px 50px;
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .buttonWrapper {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .facts-container {
        padding: 10px;
        gap: 20px;
    }

    .fact-card {
        padding: 15px;
        max-width: 30%;
    }

    .fact-icon {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .fact-card h3 {
        font-size: 1.4rem;
    }

    .fact-card p {
        font-size: 1rem;
    }

    .fact-divider {
        margin: 10px auto;
        width: 60px;
    }

    /*Overview*/
    .overview {
        margin-left: 60px;
        margin-right: 0px;
        margin-bottom: 30px;
    }

    .coffeePage{
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 20px;
    }

    .coffeeReceipe {
        margin-left: 60px;
        margin-right: 60px;
        padding: 35px;
     }

  .coffeeReceipe ul,
  .coffeeReceipe ol {
        font-size: 1.35rem;
        line-height: 1.6;
        margin-left: 1.4rem;
    }

  .coffeeReceipe li {
        margin-bottom: 0.7rem;
    }

  .videoWrapper {
        margin-left: 10px;
        margin-right: 100px;
    }

    .impressumPage {
    margin-left: 60px;
    margin-right: 60px;
    }

    .impressumPage h1 {
    font-size: 2.75rem;
    }

    .impressumPage p {
    font-size: 1.35rem;
    }
}


@media (max-width: 1024px) { 

     h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.25rem;
        margin-bottom:30x;
    }

    p {
        font-size: 1.35rem;
    }
   
    header {
        margin-bottom: 15px;
    }
    
    header img.logo {
        height: 120px;
        width: 110px;
        top: -5px;
        left: 15px;
    }

    header section nav ul {
        gap: 45px;
        margin-right: 25px;
        margin-top: 10px;
    }

    header section nav ul a {
        font-size: 1.9rem;
    }

    .aboutMe {
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 20px;
    }

    .aboutMe img {
        max-height: 50%;
        max-width: 95%;
        margin-bottom: 30px;
    }

    footer {
        padding: 8px 0;
        margin-bottom: 13px;
        text-align: center;
    }

    footer h4 {
     font-size: 1.2rem;
    }

    .eiskaffeeTeaser {
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 20px;
    }

    .polaroidTeaserContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    }

    .polaroidTeaser {
    flex: 0 1 47%;
    margin: 5px;
    }

    a.rezepte {
     width: 280px;
     height: 76px;
     padding: 15px 40px;
     font-size: 1.8rem;
     margin-bottom: 10px;
    }

    .facts-container {
        gap: 25px;
        padding: 15px;
    }

    .fact-card {
        flex: 0 1 45%;        /* zwei Karten pro Reihe */
        padding: 20px;
        border-radius: 18px;
        min-height: 300px;
        background-color: #ffffff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease;
    }

    .fact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    .fact-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .fact-card h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        min-height: 3.5rem; /* für gleich hohe Titel */
    }

    .fact-card p {
        font-size: 1.1rem;
        line-height: 1.5;
    }   

     /*Overview*/
     .overview {
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 20px;
     }

     .overviewContainer {
        gap: 10px;
     }

    .overviewPolaroid {
        padding: 5px;
    }

    .coffeePage{
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 20px;
  }

    .coffeeReceipe {
    margin-left: 5px;
    margin-right: 5px;
    padding: 30px;
  }

  .coffeeReceipe ul,
  .coffeeReceipe ol {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-left: 1.3rem;
  }

  .coffeeReceipe li {
    margin-bottom: 0.65rem;
  }

  .videoWrapper {
    margin-left: 15px;
    margin-right: 15px;
  }

  .impressumPage {
    margin-left: 50px;
    margin-right: 50px;
  }

  .impressumPage h1 {
    font-size: 2.5rem;
  }

  .impressumPage p {
    font-size: 1.25rem;
  }
}


@media (max-width: 768px) { /*Smartphones: bis 768px*/
     h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;;
    }

    p {
        font-size: 1.15rem;
    }
    
    header {
        height: 80px;
        margin-bottom: 10px;
    }

    header img.logo {
        height: 100px;
        width: 90px;
        top: -5px;
        left: 3px;
    }

    header section nav ul {
        gap: 20px;
        margin-right: 1px;
        margin-top: 6px;
    }

    header section nav ul a {
        font-size: 1.5rem;
    }

    .aboutMe {
        margin-left: 35px;
        margin-right: 35px;
        margin-bottom: 10px;
    }
 
    .aboutMe img {
        max-height: 60%;
        max-width: 97%;
        margin-bottom: 30px;
    }

    .mySwiper {
    margin: 25px auto 0;
    } 

    footer {
        margin-bottom: 10px;
        padding: 5px 0;
        text-align: center;
    }

    footer h4 {
     font-size: 1rem;
    }

    .eiskaffeeTeaser {
        margin-left: 35px;
        margin-right: 35px;
        margin-bottom: 10px;
    }

    .polaroidTeaserContainer {
        flex-direction: column;
        align-items: center;
    }   

    .polaroidTeaser {
        flex: 0 1 80%;
        margin: 10px 0;
    }

    a.rezepte {
     width: 250px;
     height: 60px;
     padding: 10px 25px;
     font-size: 1.5rem;
     margin-bottom: 10px;
    }

    .facts-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .fact-card {
        flex: 0 1 100%;
        max-width: 90%;
        padding: 18px;
    }

    /*Overview*/
    .overview {
        margin-left: 35px;
        margin-right: 35px;
        margin-bottom: 10px;
    }

    .overviewContainer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .coffeePage{
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 20px;
  }

  .coffeeReceipe {
    margin-left: 2px;
    margin-right: 2px;
    padding: 20px;
  }

  .coffeeReceipe ul,
  .coffeeReceipe ol {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-left: 1.2rem;
  }

  .coffeeReceipe li {
    margin-bottom: 0.6rem;
  }

  .videoWrapper {
    margin-left: 10px;
    margin-right: 10px;
  }

  .impressumPage {
    margin-left: 35px;
    margin-right: 35px;
  }

  .impressumPage h1 {
    font-size: 2rem;
  }

  .impressumPage p {
    font-size: 1.15rem;
  }
}



