/*  ==========================================
    Einstieg in HTML und CSS  
    Stylesheet für die Übungswebsite 

    navi-responsiv.css  
    - wird in style.css per @import eingebunden
    
    Stylesheet zur Gestaltung der Site-Navigation

    Die Navigation basiert auf dem Prinzip des *Progressive Enhancement*: 
    Ohne JavaScript funktioniert alles, mit ist es besser. 

    1. Vertikale Navigation für schmale Viewports
    2. Menübutton und Navigationsliste 
    3. Horizontale Navigation in Viewports > 600px

    ======================================= */

 @media screen and (min-width: 1200px) {

 .logo-nav-desk  {
     display: flex;
      }
 .native-mobile-nav  {
     display: none;
      }
 }

 @media screen and (max-width: 1199px) {

 .logo-nav-desk  {
     display: none;
      }
 .native-mobile-nav  {
     display: flex;
      }
 }

 .hr_nav {
  border: none;
  border-top: 1px dashed grey;
 }

    .mobile-nav-site {
     margin: 1rem;
         }

     .logo-nav-desk {
        position: sticky;
        height: 70px;
        top: 0px;
        background-color: var(--basisfarbe);
        /* display: flex; */
        justify-content: space-between;
        }

     .logo-nav-mob {
        position: sticky;
        top: 0;
        background-color: var(--basisfarbe);
       /* display: flex;  */
        align-items: flex-start;
        justify-content: space-between;
        }

     .menuburger {
         width: 1.5rem;
         margin-top: 0.3rem;
         margin-right: 1.5rem;
     }



     .logo-top-desk {
        background-color: var(--basisfarbe);
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        margin-top: 0.7rem;
        margin-left: 1rem;
        margin-right: 1rem;

                }

     .logo-top-mob {
        background-color: var(--basisfarbe);
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        margin-top: 0.6rem;
        margin-left: 1rem;
        margin-right: 1rem;

                }
    .mobile-nav-site ul {
        position: static;
        display: flex;
        flex-flow: column;
        list-style: none;
        padding: 0;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        }


    .mobile-nav-site  .lang-link li:last-child {
        margin-left: auto;
}


    .mobile-nav-site h1 {
        font-size: 1.5rem;
        color: #00000095;
            }

    .mobile-nav-site a {
        font-size: 1.2rem;
        display: block;
        text-decoration: none;
        background: var(--basisfarbe);
        color: var(--linkfarbe-dunkel);
        padding: 0.5rem 0.5rem;
    }

    .site-nav {

    }

    .site-nav ul {
        position: static;
        display: flex;
        flex-flow: row;
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 0.6rem;
    }

    .site-nav a {
        font-size: 0.95rem;
        display: block;
        text-decoration: none;
        background: var(--basisfarbe);
        color: var(--kontrastfarbe);
        padding: 0.5rem 0.5rem;
    }

     .site-nav li {
            flex: 1;
            max-width: 7rem;
            text-align: center;
             }
    /* der Menüpunkt Open Gallery etwas breiter  */
    /* .site-nav li:first-child {
            min-width: 9rem;
                 }
       */

   .h1header {
      font-size: 1.3rem;
      color: #00000095;
      letter-spacing: 2px;
  }

   .ah1header {
      font-size: 1.3rem;
      color: #00000095;
      letter-spacing: 2px;
      text-decoration: none;
  }

  .ah1headerred {
      font-size: 1.3rem;
      color: #96000099;
      letter-spacing: 2px;
      text-decoration: none;
  }

  .h3headerred {
      color: #96000099   ;
      }


  @media (min-width: 600px) and (max-width: 899px) {
  /* Stile für Viewports zwischen 600px und 899px */
     /* H1 im Header */
  .h1header {
      font-size: 1.5rem;
      color: #00000095;
      letter-spacing: 6px;
  }


   .ah1header {
      font-size: 1.5rem;
      color: #00000095;
      letter-spacing: 6px;
      text-decoration: none;
  }

  .ah1headerred {
      font-size: 1.5rem;
      color: #96000099;
      letter-spacing: 6px;
      text-decoration: none;
  }
}

  /* 900, damit im IPad (768px) der Logo-Schriftzug nicht umbricht */
   @media screen and (min-width: 900px) {

      /* H1 im Header */
  .h1header {
      font-size: 1.7rem;
      color: #00000095;
      letter-spacing: 6px;
  }


   .ah1header {
      font-size: 1.7rem;
      color: #00000095;
      letter-spacing: 6px;
      text-decoration: none;
  }

  .ah1headerred {
      font-size: 1.7rem;
      color: #96000099;
      letter-spacing: 6px;
      text-decoration: none;
  }

  }

  /*natvies nav */
  .native-mobile-nav {
  width: 100%;
}

  .site-header,
        .popover-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background: #ffffff;
            width: 100%;

        }

        .brand-logo {
            text-decoration: none;
            font-size: 1.25rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            display: inline-flex;
            gap: 0.4em;
        }

        .brand-dark {
            color: #555555;
            font-weight: 400;
        }

        .brand-accent {
            color: #b05c63;
            font-weight: 400;
        }

        .icon-btn {
            background: transparent;
            border: none;
            padding: 6px;
            cursor: pointer;
            color: #111111;
            display: inline-flex;
            flex-direction: column; /* Stapelt Icon und Text übereinander */
            align-items: center;
            justify-content: center;
            gap: 2px; /* Feiner Abstand zwischen Linien und Wort */
        }

        .btn-label {
             font-size: 0.65rem; /* Ca. 10–11 px – entspricht exakt der Breite der 24px-Linien */
             letter-spacing: 0.06em;
             text-transform: uppercase;
             line-height: 1;
             font-weight: 500;
        }

        #gallery-nav {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100dvh;
            margin: 0;
            padding: 0;
            border: none;
            background: #ffffff;
            color: #11112b;
            overflow-y: auto;
            opacity: 1;
            transition: opacity 0.2s ease, display 0.2s allow-discrete;
        }

        @starting-style {
            #gallery-nav:popover-open {
                opacity: 0;
            }
        }

        .lang-switch {
            display: flex;
            justify-content: flex-end;
            padding: 12px 28px 24px;
        }

        .lang-switch a {
            text-decoration: none;
            font-size: 1.4rem;
            line-height: 1;
        }

        .gallery-nav-list {
            list-style: none;
            margin: 0;
            padding: 0 28px;
        }

        .gallery-nav-list li {
            border-bottom: 1px dashed #c4c4c4;
        }

        .gallery-nav-list li:last-child {
            border-bottom: none;
        }

        .gallery-nav-list a {
            display: block;
            padding: 16px 8px;
            font-size: 1.15rem;
            color: #0b0b2b;
            text-decoration: none;
            letter-spacing: 0.02em;
        }

        .gallery-nav-list a[aria-current="page"] {
            color: #b05c63;
        }

    /* Ende navi-responsiv.css */
