html {
    min-height: 100%;
  }
  body { 
    margin:0; 
    background: #F4EFE6;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: -webkit-linear-gradient(top, #F4EFE6, #D9CEBA);
    background: -moz-linear-gradient(top, #F4EFE6, #D9CEBA);
    background: linear-gradient(to bottom, #F4EFE6, #D9CEBA);
    background-attachment: fixed;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
  }
  .footer {
    flex-shrink: 0;
  }
  ::selection {background: #66665c; color: #ffffff;}
  ::-moz-selection {background: #66665c; color: #ffffff;}
  
  ::-webkit-scrollbar {
     width: 10px;  
  }
   
  ::-webkit-scrollbar-thumb {   
    background: #b0a090;
    border-radius: 2px;}
   
  ::-webkit-scrollbar-track {     
    background-color: #ede8df;
  }      
  a:link {
    color: #2E4A3A;
    background-color: transparent;
    text-decoration: none;
  }
  a:visited {
    color: #2E4A3A;
    background-color: transparent;
    text-decoration: none;
  }
  /* Links im Inhaltsbereich (Lebenslauf, Portfolio, Index-Fließtext) */
  .box_article_box4 a,
  .box_article > p:not(.UeberschriftP) a {
    color: #7d5252;
  }
  .box_article_box4 a:visited,
  .box_article > p:not(.UeberschriftP) a:visited {
    color: #7d5252;
  }    
  table, th, td {
    border: 0px solid black;
    font-weight: normal;
  }
        
  #rahmendesktop {
    left: 0;
      right: 0;
    margin: auto;
    width: 900px;
  }
  .box_article {
    width: 100%;
    padding: 20px 30px 30px 30px;
    box-sizing: border-box;
    border-radius: 16px;
    font-size:17px; 
    line-height: 175%;
    text-align: left;
    background: rgba(255, 252, 245, 0.72);
    box-shadow: 0 4px 24px 0 rgba(40, 35, 25, 0.10);
    border: 1.5px solid rgba(255, 248, 235, 0.8);
    margin-bottom: 20px;
  }
  .box_article_box1 {
    width: 100%;
    height: 300px;
    padding: none;
    box-shadow: none;
    border-radius: 0px;
      box-shadow: none;
      border: none;
    margin-top: 50px;
  }
  .box_article_box2, .box_article_box3 {
    width: 48.65%;
    height: 275px;
    float: left;
    background: rgba(255, 252, 245, 0.65);
    border-radius: 13px;
    box-shadow: 0 2px 12px 0 rgba(40, 35, 25, 0.10);
    border: 1.5px solid rgba(255, 248, 235, 0.7);
    padding-top: 20px;
  }
  .box_article_box2 {
    margin-right: 1.1%;
  }
  .box_article_box2:hover, .box_article_box3:hover {
    background: rgba(255, 252, 245, 0.88);
    box-shadow: 0 4px 20px 0 rgba(40, 35, 25, 0.14);
    cursor: pointer;
  }
  .box_article_box4 {
    width: 100%;
    background: rgba(255, 252, 245, 0.65);
    border-radius: 13px;
    box-shadow: 0 2px 12px 0 rgba(40, 35, 25, 0.10);
    border: 1.5px solid rgba(255, 248, 235, 0.7); 
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
  }
  .box_pseudo_padding {
    margin-left: 20px;
    margin-top: 0;
    width: 85%;
    height: 100%;
  }
  .box_pseudo_padding p {
    font-weight: 400;
  }
  .box_article_button {
    width: 110px;
    height: 37px;
    background: rgba(255, 252, 245, 0.5);
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(40, 35, 25, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 248, 235, 0.6); 
    margin-top: 5px;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #2E4A3A;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
        
  .box_article_button:hover {
    background: rgba(255, 252, 245, 0.80);
    box-shadow: 0 2px 8px 0 rgba(40, 35, 25, 0.15);
  }
        
  .Ueberschrift {
    font-family: 'Lora', serif;
    font-size: 38px; 
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  #ATrenner {
    width: 100%;
    border: 0.1em solid #2E4A3A;
    background-color: #2E4A3A;
  }
  img#Profil {
    float: left; 
    margin-top: -100px; 
    border-radius: 14px; 
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    margin-right: 20px; 
    box-shadow: 0 2px 8px 0 rgba(40, 30, 20, 0.18), 0 8px 28px 0 rgba(40, 30, 20, 0.16);
  } 
  .portfolio_tablecell_1{
    width:110px; 
    padding: 20px;
  }
  .portfolio_tablecell_2{
    padding: 0px 25px 0px 0px;
    vertical-align: top;
  }
  /* Nav links: bold */
  abcdefg a {
    font-weight: 600 !important;
    font-size: 0.97rem;
    letter-spacing: 0.01em;
  }

  /* Card headings: Lora + green background bar */
  .box_pseudo_padding h2,
  .portfolio_tablecell_2 h2 {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: #1C1C1A;
    display: inline;
    background: linear-gradient(to bottom, transparent 45%, rgba(46,74,58,0.22) 45%);
    padding-bottom: 2px;
    line-height: 1.5;
    margin-top: 0;
  }

  .portfolio_logos_desktop {
    width: 100%; 
  }
  .portfolio_logos_mobile {
    display: none;
  }
  @media only screen and (max-width: 915px) {
  body {
    background-attachment: scroll;
  }
  #rahmendesktop {
    width: 96%;
  }
  .Ueberschrift {
    font-size:28px; 
    font-weight: 700;
  }
  .UeberschriftP {
    text-align: center;
    margin-top:-5px;
    margin-bottom:-30px;
  }
  img#Profil {
    float: none; 
    margin-top: -90px; 
    border-radius: 12px; 
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 2px 8px 0 rgba(40, 30, 20, 0.18), 0 8px 28px 0 rgba(40, 30, 20, 0.16);
    display: block;
    margin-left: auto;
    margin-right: auto;
  } 
  .portfolio_tablecell_1{
    width:85px; 
  }
  .portfolio_logos {
    margin: 10px 20px 30px 0px;
  }
  }
  @media only screen and (max-width: 790px) {
  .box_article_box1 {
    height: 330px;
  }
  .box_article_box2, .box_article_box3 {
    height: auto;
    padding-bottom: 30px;
  }
  .box_pseudo_padding {
    margin-left: 17px;
    margin-top: 0;
    width: 90%;
  }
  }
  @media only screen and (max-width: 630px) {
  .box_article {
    font-size:16px; 
  }
  .box_article_box1 {
    height: auto;
  }
  .box_article_box2, .box_article_box3 {
    float: none;
    width: 100%;
    margin-bottom: 22px;
  }
  }
  @media only screen and (max-width: 430px) {
  .box_article {
    padding: 20px 20px 30px 20px;
    font-size:15px; 
  }
  .portfolio_tablecell_1{
    display:none;
  }
  .portfolio_tablecell_2{
    padding-left:20px;
    padding-right:15px;
  }
  .portfolio_logos_mobile {
    display: block;
    width: 110px;
    margin: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  }
        
  @media print{
  #rahmendesktop {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .box_article, .box_article_box2, .box_article_box3 {
      border: 0.10em solid #2E4A3A;
    box-shadow: none;
  }
  }