@font-face {
    font-family: Exo2-Thin;
    src: url(Schriftart/Exo2-Thin.ttf);
}
@font-face {
    font-family: Exo2-ExtraLight;
    src: url(Schriftart/Exo2-ExtraLight.ttf);
}
@font-face {
    font-family: Exo2-Regular;
    src: url(Schriftart/Exo2-Regular.ttf);
}
html {
  scroll-behavior: smooth;
}
#Oben {
    height: 600px;
}
/* ==== Media */
@media (max-width: 360px){
  .LeistungMenu a{ font-size: 16px; }
  #Leistng h2{ max-width: 34ch; }
}

@media (max-width: 750px) {
     .Video {
         width: 100%;
         height: 320px;
    }
}
@media (min-width: 751px) {
     .Video {
         width: 100%;
         height: 600px;
         position: relative;
    }
}
@media (max-width: 999px) {
     .box {
        text-align: center;
        width: 50%;
        height: 50% ;                 
    }
}
@media (min-width: 1000px) {
     .box {
        text-align: center;
        width: 33.3%;
        height: 33.3%;         
    }
}
@media (max-width: 530px) {
     .box {
        text-align: center;
        width: 100%;
        height: 100% ;       
    }
}

/* ===== HERO (фото слева, текст справа на десктопе) ===== */
.hero {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
    margin-top: 30px;
}

.hero_L_box{
  flex: 0 0 40%;
  min-height: 380px;                          /* гарантирует высоту */
  background: url("Foto/Ich4.webp") center/cover no-repeat;
}

.hero_R_box{
  flex: 1 1 60%;
  padding: 0 2rem;
}

/* ===== МОБИЛЬНЫЕ: фото сверху, текст ниже ===== */
@media (max-width: 899px){
  .hero{
    flex-direction: column;
    gap: 0;
  }
  .hero_L_box{
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16/9;                        /* даёт высоту от ширины */
    min-height: auto;
  }
  .hero_R_box{
    width: 100%;
    padding: 0 1rem;
  }
}

/* Текстовый блок */
#ubermich{
  max-width: 100%;
  text-align: left;
  font-size: 1.05em;
  line-height: 1.6;
}

/* 1) Мобильная ширина сайта — контент на всю ширину экрана */
@media (max-width: 900px){
  body{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 14px;           /* небольшой внутренний отступ по краям */
  }
  .hero_R_box{ padding: 0 12px; }
}

/* 2) Заголовки в футере не переносятся и немного уменьшаются при очень узком экране */
.footer_ohne_logo h4{ white-space: nowrap; }
@media (max-width: 380px){
  .footer_ohne_logo h4{ font-size: 18px; }
}

/* 3) Длинная почта не вываливается за экран */
#ubermich a[href^="mailto"]{
  overflow-wrap: anywhere;     /* разрешаем переносить длинные e-mail */
  word-break: break-word;
}

/* 4) Колонки футера всегда по 1/2 ширины и не жмутся,
      заголовок Social Media + иконки по центру колонки */
.footer_ohne_logo{
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  column-gap: 1.2rem;
}
.social-media{
  align-items: center;
  gap: 1rem;
}


/* ===== HTML Basieselemente */
* {
	margin: 0;
	padding: 0;
}
body {
	background-color: #14191f;
	color: white;
    width: 70%;         /* ширина сайта */
  max-width: 1400px;  /* ограничение на больших экранах */
  margin: 0 auto;     /* центрирование */
  background-color: #14191f; /* если нужно цвет */
}
h1 {
    font-family: Exo2-Regular;
    padding-top: 0px;
    padding-bottom: 10px;
    font-size: 35px;
    color: #ffffff;
}
h2 {
    font-family: Exo2-Regular;
    font-size: 18px;
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
}
h3 {
    font-family: Exo2-Thin;
    font-size: 20px;
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
}
h4 {
    font-family: Exo2-ExtraLight;
    color: #ffffff;
    font-size: 20px;
    padding-top: 10px;
    font-weight: lighter;   
}
a {
   
    font-family: Exo2-ExtraLight;
	color: #ffffff;
    font-size: 20px; 
    text-decoration: none;
    border: 0px solid white;
    
   
}
body .Link a {
    padding: 5px;
	margin-right: 5px;
	border-radius: 5px;
    padding: 5px;
    border-radius: 5%;
}

.Link a:hover {
	box-shadow: 0px 0px 50px #3d90da;
    color: rgb(61,144,218);
}
section {
	padding-bottom: 30px;
}

/* === Header, Footer */

.header { 
	padding: 20px;
	display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
}
.footer {
    font-family: Exo2-ExtraLight;
	background-color: #14191f;
	color: white;
	padding-top: 100px;
	padding-bottom: 100px;
	text-align: center;
}
.footer_dop:hover {
    color: #3d90da;
}

/* ==== Kopf */

#Logo {
    margin-left: 30px;
    display: block;
    float: left;
    border-radius: 15%;    
}
.header .Link {
    padding-right: 70px;
    padding-top: 0px;
    float: right;
}
.header .Link a {
    margin-left: 10px;
}
header div img {   /*Logo*/
    border: 0px solid #ffffff;
    border-radius: 20%;
    margin-left: 70px;
    text-align: left;
}
#ubermich {
    font-family: Exo2-ExtraLight;
    color: #ffffff;
    font-size: 20px;
    padding-top: 10px;
    font-weight: lighter;
}
      
}
.text_1 {
    padding-right: 70px;
    padding-top: 50px;
    padding-left: 50px;
}
.hero img { /*Foto Portfolio*/
    height: 100%;
    width: 100%;
	float: left;
    border-radius: 0%;
    padding-right: 20px;
    padding-bottom: 20px;
}
    
#ubermich {
    max-width: 100%;
    text-align: left;
    font-size: 1.05em;        /* чуть крупнее для читаемости */
    line-height: 1.6;
  }
}
/* ==== Portfolio Webseite*/


.PortfolioFooter a { /* Unten */
    margin-left: 20px;
    margin-right: 20px;
    padding: 5px;
    border-radius: 5%;
}
.PortfolioFooter a:hover { /* Unten */
    box-shadow: 0px 0px 50px #3c90da;
    color: rgb(61,144,218);
    }
.PortfolioLogoGross {  /* Logo */
    background-repeat: no-repeat;
    background-position: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-image: url(Foto/Logo1_Black.webp);
    background-size: 100%;
    height: 350px;
    animation: slide 20s infinite;
}
@keyframes slide {
    25% {
         background-image: url(Foto/Logo1.webp);
         background-size: 100%;
    }
    50% {
         background-image: url(Foto/Logo1_Black.webp);
         background-size: 100%;
    }
    75% {
        background-image: url(Foto/Logo1.webp);
         background-size: 100%;
    }
    100% {
        background-image: url(Foto/Logo1_Black.webp);
         background-size: 100%;
    }
}
.PortfolioMenu {
    display: flex;
  justify-content: center;    /* по центру по горизонтали */
  align-items: center;        /* по центру по вертикали */
  gap: clamp(12px, 4vw, 40px);/* расстояние между пунктами */
  flex-wrap: wrap;            /* если не влезает — перенос, но по центру */
  margin: 12px auto 24px;
  width: 100%;
  text-align: center;
}
.PortfolioMenu a {
    display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;        /* держать в одну строку, когда помещается */
  margin: 0;                  /* убираем старые margin-left/right */
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.2;
}
.PortfolioMenu a:hover {
   color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
}

.PortfolioProjektsBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
}
.box {
    display: block;
    aspect-ratio: 16/9;     
    background-repeat: no-repeat;
    color: white;
	background-size: 100%;
	transition: all 0.9s;
    background-position: center;   
    
}
.boxhilfe {
    color: transparent;
}

.box a {
    display: block;
    aspect-ratio: 16/9; 
    font-size: 2rem;
    color: transparent;
    transition: all 1.9s;     
    
}

.box:hover {
    box-shadow: 0px 0px 50px rgb(61,144,218);
	background-size: 120%;
	transition: all 0.9s;
    z-index: 1;
    
}
.box a:hover  {
    color: white;  
    background-color: rgba(20, 25, 31, 0.7); 
}
.Im_Portfolio {
    font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
    max-width: 1100px;
    text-align: center;
    margin-left: auto;
	margin-right: auto;
    padding-top: 20px;
	padding-bottom: 00px;
    
}
.Im_Portfolio :hover {
color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
}

.Im_Portfolio_Menu {
    padding: 5px;
    font-family: Exo2-Thin;
    
}
.Im_Portfolio_Menu:hover {
    box-shadow: 0px 0px 50px rgb(61,144,218);
    color: rgb(61,144,218);
    
}
/* ==== Kontakt Webseite*/

.Kontakt {
    text-align: center;
    margin-left: auto;
	margin-right: auto;
    padding-top: 200px;
	padding-bottom: 100px;
}
.Kontakt img {
    padding: 10px;
}
.Kontakt img:hover {
    box-shadow: 0px 0px 50px rgb(61,144,218);
    border: 0px solid;
    border-radius: 50px;
    color: rgb(61,144,218);
}

/* ==== Leistung Webseite*/

#SectionLeistung {
    padding: 16px;
    background-color: white;
    
}
#Leistng {
    background-color: #14191f;
    max-width: 100%;
    margin: 0;
	position: relative;
    background-color: rgba(20, 25, 32, 50%);
    color: white;
    padding: 16px;
}
#Leistng h1{
    text-align: center;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.25;
    margin-bottom: 10px;
}
#Leistng h2{
    text-align: left;         /* можно center, если хочешь */
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.55;
    max-width: 38ch;          /* ограничиваем длину строки */
    margin: 0 auto 12px;      /* центрируем блок текста */
}
    
.LeistungMenu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.LeistungMenu a {
    font-size: 18px;
}
.LeistungMenu a:hover {
    color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
    
}
#Inhaltsverzeichnis_1 {
    text-align: left;
    
} /* 3D Modellierung */
#Inhaltsverzeichnis_2 {
    text-align: left;
    
} /* Texturierung */
#Inhaltsverzeichnis_3 {
    text-align: left;
    
} /* Animation */
#Zertifikat {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 6px;
}
  #Zertifikat_{
    width: min(46%, 220px);   /* вместо width="20%" в HTML */
    height: auto;
  }

/* ==== Im_Portfolio Webseite*/


/* --------- Footer --------------- */
.footer {
  font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
  background-color: #14191f;
  color: white;
  padding: 3em;
}

.footer_ohne_logo{
    max-width: 1100px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: auto auto;  /* ширина = содержимому */
    justify-content: center;           /* пара колонок по центру */
    align-items: start;
    column-gap: 2rem;                  /* расстояние между колонками */
}

.footer_ohne_logo > .navigation,
.footer_ohne_logo > .social-media{
  justify-self: center !important;   /* перезаписывает start/end */
}

/* внутренности колонок */
.navigation ul{ list-style: none; margin: 0; padding: 0; }
.navigation li{ margin: .4rem 0; }
.social-media a{ display: inline-flex; margin: .25rem 0; }
.navigation h4, .social-media h4{ margin: 0 0 .75rem; white-space: nowrap; }

.name-header{
  display: flex;
  flex-direction: column;   
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-top: 55px;
    margin-bottom:55px;
   padding-bottom: 60px;
 }

.footer_ohne_logo > .navigation {
  justify-self: start;
  text-align: left;
}

.footer_ohne_logo > .social-media {
  justify-self: end;
  text-align: center;   /* текст и иконки по центру */
  display: flex;
  flex-direction: column;
  align-items: center;  /* центрируем иконки */
}

.social-media h4 {
  margin-bottom: 0.75rem;
}

.social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: .25rem 0;
}



.name-header :hover {
  color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
  }
/* ==== includes*/

/*.sidebar {
  display: flex;
  align-items: flex-start; /* выравнивание по верхнему краю */
 /* gap: 3em;                /* расстояние между колонками */
/*} */

.navigation,
.social-media {
   font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
    width: auto;         /* ширина сайта */
    max-width: none;  /* ограничение на больших экранах */
    margin: 0;     /* центрирование */
    background-color: #14191f; /* если нужно цвет */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-items: center; 
    grid-auto-rows: var(--row-h); /* строки той же высоты */ 
    row-gap: 0em;
}

.navigation{ 
  text-align: left;
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
    grid-auto-rows: var(--row-h);
  row-gap: var(--row-gap);
    text-align: center;
}

.navigation li {
  margin: 0; 
      
}
.navigation li:hover {
    box-shadow: none;
    border: 0.0px solid;
    border-radius: 10px;
    color: rgb(61,144,218);
}
.navigation a {
   display: flex;                /* чтобы центрировать текст по высоте строки */
  align-items: center;
  height: 100%;                 /* = var(--row-h) через grid */
  padding: 0.25rem;
  color: #fff;
  text-decoration: none;
  position: relative;
    background: transparent;
    border: 0;
    margin: 0.1em 0;
}

.navigation a:hover {
  color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
}

.navigation a:hover::before {
    opacity: 0;                 /* показываем свечение */
    content: none;
}
.navigation a::before {
  content: "";
  position: absolute;
  inset: 0;                   /* растянуть по размеру ссылки */
  border-radius: 10px;
  pointer-events: none;       /* не мешать ховеру */
  opacity: 0;                 /* скрыто по умолчанию */
  box-shadow: 0 0 18px 2px rgba(61,144,218,0.9);
  outline: 1px solid rgba(61,144,218,0.5); /* тонкий контур без заливки */
  transition: opacity .2s ease;
}
.social-media {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 0.8rem; 
}
.social-media a img {
  width: 1.2em;
  height: 1.2em;
  margin: 0;                 /* никаких внешних отступов у иконки */
  display: block;
   
}

.social-media a {
   display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: .25rem 0;
}
.social-media a:hover::before {
  opacity: 1;                 /* показываем свечение */
}
.social-media a::before {
  content: "";
  position: absolute;
  inset: 1;                   /* занимает всю кнопку */
  border-radius: inherit;
  pointer-events: none;       /* не мешает клику */
  pointer-events: none;       /* не мешает клику */
  opacity: 0;                 /* по умолчанию скрыт */
  box-shadow: 0 0 30px 20px rgba(61,144,218,1);
  outline: 0px solid rgba(61,144,218,1);
  transition: opacity 1.00s ease;
      
}

.social-media h4{
  margin-bottom: .75rem; 
}
.navigation h4{
  white-space: nowrap;
}

/* косметика */
.navigation h4, .social-media h4 { margin-bottom: .75rem; }
.navigation ul { list-style: none; padding: 0; margin: 0; }
.navigation li { margin: .4rem 0; }
.social-media a { display: inline-flex; margin: .25rem 0; }


/* --------- Header --------------- */

header{
    
    width: 70%;         /* ширина сайта */
  max-width: 1400px;  /* ограничение на больших экранах */
  margin: 0 auto;     /* центрирование */
  background-color: #14191f; /* если нужно цвет */
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center; /* Zentriert Elemente vertikal */
  padding: 0.5em 1em;
  background-color: #14191f;
  top: 0;
  z-index: 1000;
  height: auto;
  border-bottom: 3px solid #9dbca680;
    
}
.header img{
    height: 3.5em;
    margin-left: 1.25rem;
 }

header a{
    display: flex;                /* чтобы центрировать текст по высоте строки */
  align-items: center;
  height: 100%;                 /* = var(--row-h) через grid */
  padding: 0,25rem;
  color: #fff;
  text-decoration: none;
  position: relative;
    background: transparent;
    border: 0;
}
.header a:hover {
  color: rgb(61,144,218); /* можно подсветить текст */
    text-shadow:
    0 0 6px rgba(61,144,218,.9),
    0 0 14px rgba(61,144,218,.7),
    0 0 24px rgba(61,144,218,.5);
}
.nav{
  display: flex;
  gap: 2em;
  align-items: center;
  
}

.hamburger{
  display: none;
  border: none;
  background-color: #14191f;
    
}

@media (max-width: 992px) {
  header {
    padding: 1.25rem 4%;
  }
}

@media (max-width: 768px) {
  .hamburger{
      background-color: #14191f;
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
  }
  .hamburger::before {
    content: "☰"; /* Standard-Hamburger */
      
  }
    
.hamburger.open {
    
    background:#14191f;            /* фон кнопки при открытом меню (можно #fff) */
   
  }
  .hamburger.open::before {
  content: "✖"; /* X-Symbol */
      
  }
  .nav{
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    width: 100%;
    padding: .5rem 4%;
    background-color:  #101419;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  .nav.active {
    opacity: 1;
    pointer-events: auto;
    border-bottom: 3px solid #9dbca680;
  }
  .nav a{
    display: block;
    margin: 1.5rem 0;
    font-size: 1.2em;
    color: white;
    background: none;
    border: none;
    padding: 0;
  }
  .nav a.button-kontakt {
    all: unset;
    display: block;
    margin: 1.5rem 0;
    font-size: 1.2em;
    color: #31525b;
    font-weight: 500;
    cursor: pointer;
    font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
  }

  .nav a.button-kontakt:hover {
    text-decoration: underline;
    background: #14191f; 
    transform: none;
  }

  .nav a.button-kontakt:active {
    transform: none;
  }
}
    
/* --------- impressum --------------- */

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

.impressum-section { 
    max-width: 100vw;
    margin: 3em auto;
    padding: 2em;
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1.6;
}

.impressum-div{
    font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.impressum-section h2 {
    font-family: "Exo2-ExtraLight"; 
  * {
    font-family: inherit;
  }
  font-size: 2rem;
  margin-bottom: 1em;
}

.impressum-section li, strong {
  list-style: none;
  margin: 1em;
}


.impressum-section a:hover {
  text-decoration: underline;
} 

