 :root {
     --font-fam: 'Inter', sans-serif;


      --background-main: #1a202c;
     --background-light: #2d3748;
     --background-mid: #4fd1c5;
     --background-dark: #f8fafc;
     --font-h: #f8fafc;
     --font-light: #a0aec0;
     --font-main: #e2e8f0;
     --background-header:  #0d0f15;
     --accent: #2dd4bf;

 }

 [data-theme="light"] {
     --background-main: #f8fafc;
     --background-light: #d1f5f0;
     --background-mid: #38b2ac;
     --background-dark: #1a202c;
     --font-h: #0f172a;
     --font-light: #718096;
     --font-main: #2d3748;
     --background-header: #ffffff;
     --accent: #2dd4bf;
 }


 body {
     font-family: var(--font-fam);
     background-color: var(--background-main);
     color: var(--font-main);
     display: flex;
     flex-direction: column;
     margin: 0px;
     min-height: 100vh;

 }

 header {
     background-color: var(--background-header);
     display: flex;
     justify-content: space-between;
     align-items: flex-end;
     height: 8vh;
     z-index: 30;
     border-bottom: 1px solid var(--font-h);
     box-shadow: 0 1px 4px var(--font-light);
     padding: 5px 15px 5px 20px;
     gap: 30px;

 }

 .myname {
     width: 22%;
     line-height: 1;
     text-decoration: none;

 }


 .myname h2 {
     color: var(--font-h);
     font-size: clamp(16px, 3vw, 24px);
     transition: 0.3s ease-in-out
 }

 .myname h2:hover {
     color: var(--font-main);
     transform: scale(1.1) translateY(-1px) translatex(4%);

 }

 .myname span {
     color: var(--font-light);
     font-size: clamp(10px, 1vw, 16px)
 }

 nav {
     display: flex;
     flex-wrap: wrap;
     justify-content: flex-end;
     margin-right: 0.5vw;
     padding-right: 10px;
     padding-top: 15px;
     gap: 5px 30px;
     width: 72%;

 }

 nav a {
     color: var(--font-light);
     text-decoration: none;
     font-size: clamp(12px, 1vw, 18px);
     transition: 0.3s ease-in-out;

 }

 nav a:hover {
     text-decoration-line: underline;
     color: var(--font-main);
     transform: translateY(-3px);


 }

 .active {
     color: var(--font-main);
     transform: translateY(-3px);
     text-decoration-line: underline;

 }

 .page-content {
     display: flex;
     flex: 1;
     align-items: stretch;


 }

 .sidebar-front {

     background-color: var(--background-light);
     width: 25%;
     padding: 20px;
     color: var(--font-light);


 }

 .sidebar {

     background-color: var(--background-light);
     width: 25%;
     padding: 20px;
     color: var(--font-light);
 }

 .fotocontainer {
     min-height: 15%;
     max-height: 40%;
     aspect-ratio: 1/1;
     border: 2px solid black;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     left: 25%;
     transform: translateX(20%);
     z-index: 20;
     overflow: hidden;


 }


 img:hover {
     transform: scale(1.2);
 }

 img {
     object-fit: cover;
     width: 100%;
     height: 100%;
     border-radius: 50%;
     z-index: 10;
     transition: transform 0.5s ease;

 }

 .werte {
     position: fixed;
     height: 45%;
     width: 20%;
     opacity: 0.5;
     z-index: 5;
     top: 45vh;

 }

 .wert {
     font-size: clamp(12px, 1.5vw, 35px);
     opacity: 0;
     transition: opacity 2s ease-in-out;
     display: inline-block;
     margin: 5px;
 }

 .wert.visible {
     opacity: 1;
 }



 main {
     background-color: var(--background-main);
     width: 75%;
     display: flex;
     flex-direction: column;
     padding: 5% 5% 5% 10%;

 }

 .maintext h1 {
     font-size: clamp(20px, 3vw, 36px);
     color: var(--font-h);
     line-height: 2;

 }

 .maintext h3 {
     font-size: clamp(18px, 2vw, 23px);
     color: var(--font-h);
     line-height: 1.1;
 }

 .maintext h4 {
     font-size: clamp(14px, 1vw, 18px);
     color: var(--font-light);
     line-height: 1;
 }

 .maintext p {
     font-size: clamp(14px, 1vw, 18px);
     line-height: 1.5;
     color: var(--font-main);
 }

 .maintext a {
     color: var(--font-light);
     text-decoration: none;
     font-size: clamp(12px, 1vw, 18px);
     transition: 0.2s ease-in-out;

 }

 .maintext a:hover {
     color: var(--accent);
 }


 article {
     margin-bottom: 50px;
     border-bottom: 1px solid var(--background-mid);
 }

 ul {
     list-style-type: circle;
     line-height: 1.5;
 }

 ul a {
     text-decoration: none;
     color: var(--font-p);
 }

 .Zert-Link {
     color: var(--font-light);
     transition: color 0.3s ease
 }

 .Zert-Link:hover {
     color: var(--accent);


 }

 .formcontainer {
     border: 2px solid var(--font-main);
     max-width: 900px;
     padding: 20px;
     border-radius: 20px 5px;
     box-shadow: 2px 4px 6px var(--font-light);


 }


 input {
     border: 1px solid var(--background-dark);
     border-radius: 4px;
     background-color: var(--background-light);
     padding: 10px;
     box-sizing: border-box;
     margin: 5px;



 }

 input:focus {
     border: 2px solid var(--font-h);
     outline: none;
     box-shadow: 0 0 5px var(--accent);
 }

 .form-row {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
     justify-content: flex-start;
     align-items: flex-start;
     margin-bottom: 20px;
 }

 .form-group {
     display: flex;
     flex-direction: column;
     flex: 1;
     gap: 2px;
     margin-top: 15px;

 }

 textarea {
     width: 100%;
     height: 150px;
     padding: 10px;
     box-sizing: border-box;
     border: 1px solid var(--background-dark);
     border-radius: 4px;
     background-color: var(--background-light);
 }

 textarea:focus {
     border: 2px solid var(--font-h);
     outline: none;
     box-shadow: 0 0 5px var(--accent);
 }

 input[type=submit] {
     font-weight: bold;
 }

.submit a {
font-size: smaller;
}


 .bubble-nav {
     display: flex;
     flex-wrap: wrap;
     gap: 2vw;
     margin-top: 5vh;
     justify-content: flex-start;


 }

 .bubble-nav a {

     text-decoration: none;
     color: var(--font-main);
     background-color: var(--background-mid);
     border-radius: 50%;
     padding: 15px;
     width: 120px;
     aspect-ratio: 1 /1;
     font-weight: 450;
     text-align: center;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     max-width: 20%;
     font-size: clamp(10px, 1vw, 18px);
     text-wrap: normal;
     border: 1px solid var(--background-dark);
     box-shadow: 2px 2px 5px var(--font-h);
     transition: transform 0.3s ease-in-out;

 }

 .bubble-nav a:hover {
     background-color: var(--accent);
     transform: translateY(-4px) scale(1.05);
     color: var(--background-white);
 }

 .bubble-nav-left {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     position: sticky;
     top: 0;



 }

 .bubble-nav-left a {
     text-decoration: none;
     color: var(--font-light);
     font-size: clamp(10px, 1vw, 18px);
     border: 1px solid var(--background-dark);
     border-radius: 50%;
     width: 15vw;
     max-width: 35%;
     aspect-ratio: 1 /1;
     margin: 10px;
     padding: 13px;
     font-weight: 450;
     text-align: center;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     background-color: var(--background-main);
     box-shadow: 2px 2px 5px var(--font-h);
     transition: transform 0.3s ease-in-out;


 }

 .bubble-nav-left a:hover {
     background-color: var(--accent);
     transform: translateY(-4px) scale(1.05);
 }

 footer {
     display: flex;
     justify-content: space-between;
     align-items: center;
     height: 5vh;
     padding: 0px 35px;
     background-color: var(--background-header);
     border-top: 1px solid black;
     box-shadow: 0 2px 6px var(--font-light);
     text-align: end;
     padding-right: 20px;
     font-size: clamp(10px, 1vw, 16px);

     z-index: 20;


 }

 footer button {
     color: var(--font-h);
     background-color: var(--background-mid);
     border: 2px solid var(--background-dark);
     border-radius: 3px;
     box-shadow: 0 3px 6px var(--font-light);
     height: 3vh;
     transition: transform 0.3s ease-in-out;

 }

 footer button:hover {
     background-color: var(--accent);
     transform: translateY(-3px) scale(1.02);
     color: var(--background-white);
 }

 .cookie-popup {
  position: fixed;
  
  bottom: 150px;
  left: 20px;
  right: 20px;
  background-color: var(--background-light);
  padding: 15px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px var(--font-main);
  display: none;
  z-index: 30; 

    
 }

 .cookie-popup p {
    margin: 0;
    font-size: 14px;
 }

 .cookie-popup button {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: var(--background-mid);
    border: none;
    cursor: pointer;
 }


 @media (max-width: 768px) {


     .page-content {
         display: flex;
         flex-direction: column;
         flex: 1;


     }

     .sidebar-front {
         height: 5%;
         width: 100%;
         box-sizing: border-box;
         padding: 10px;


     }

     .sidebar {
         display: none;
     }


     .fotocontainer {
         max-height: 150px;
         aspect-ratio: 1/1;
         border: 2px solid black;
         border-radius: 50%;
         display: flex;
         align-items: center;
         justify-content: center;
         position: relative;
         left: 25%;
         transform: translateX(20%);
         z-index: 20;
         overflow: hidden;

     }

     .werte {
         position: fixed;
         height: 35%;
         width: 100%;
         opacity: 0.5;
         z-index: 5;
         top: 5vh;

     }


     main {

         width: 85%;
         padding: 5% 5% 5% 10%;
         z-index: 10;

     }

     header {
         position: sticky;
         top: 0;
         height: 10vh;
     }

     nav {
         display: flex;
         flex-wrap: wrap;
         margin-right: 0.3vw;
         padding-right: 10px;
         gap: 5px 15px;

     }

 }