/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
    --bg-color: #d8d8d8;
    --text-primary: #6f6f6e;
    --text-secondary: #8d8c8c;
    --accent-color: #2c2c2c;
    --button-bg: #75ad40;
    --button-hover: #6f6f6e;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
	--font-size: 15px;
	}

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

body {
	font-family: "Fira Sans", "Myriad", sans-serif;    
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}


/* VIDEO HINTERGRUND — verhält sich wie background-image */
.video-bg {
  position: fixed;   /* bleibt beim Scrollen stehen           */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;        /* ganz unten — alles andere liegt drüber */
  overflow: hidden;
}

.video-bg video {
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: 100%;
  object-fit: cover;          /* wie background-size: cover  */
  object-position: center;    /* wie background-position: center */
  background: #d8d8d8;
}






/* Fonts auf logo.mind webserver - Fira Sans */

a:link 		{ color: rgb(96, 172, 70); text-decoration: none; outline: 0; }
a:visited 	{ color: rgb(96, 172, 70); text-decoration: none; outline: 0; }
a:active 	{ color: rgb(255, 255, 255); text-decoration: none; outline: 0; }
a:hover 	{ color: #fff; text-decoration: none; outline: 0; }
a:focus { text-decoration: none; outline:none; } 
a img {border:none;}

.gruen { color:#60ac46;}
.grau { color:#535a5f; }
.hell {color: #fff;}

.abstandoben { margin-top:2em;}
.abstandunten { margin-bottom:0.5em;}
.clearall { clear: both; }


/* Fonts */

/* fira-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/fira-sans-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/fira-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/fira-sans-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/fira-sans-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/fira-sans-v18-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ===========================
   Navigation
   =========================== */

.navigation {
  position: fixed;
  top: 30px;
  right: 30px;
  display: flex;
  gap: 30px;
  z-index: 100;
  background: rgba(210, 210, 210, 0.87);
  padding: 8px 12px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.10);
}

.navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-smooth);
}

.navigation a:hover {
    color: #fff;
}

.navigation a:hover::after {
    width: 100%;
}

/* ===========================
   Logo Container
   =========================== */

.logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 100px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    width: 25vw;
    max-width: 420px;
    height: auto;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

/* ===========================
  Text Animation
   =========================== */

.animation {
    font-family: var(--font-family);
    font-size: 45px;
    color: #8d8c8c;
    display: flex;
    letter-spacing: 1.6em;
    justify-content: center;
    padding-top: 65px;
    padding-bottom: 0px;
  }
  
 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(0);
    filter: blur(12px);

    animation:
      flyIn 1.6s cubic-bezier(0.22, 0.8, 0.25, 1) forwards,
      wiggle 0.5s ease-in-out forwards;
  }

  @keyframes flyIn {
    0% {
      opacity: 0;
      transform: translateX(var(--startX)) scale(0.85);
      filter: blur(14px);
    }

    60% {
      opacity: 1;
      transform: translateX(8px) scale(1.03);
      filter: blur(4px);
    }

    80% {
      transform: translateX(-4px) scale(0.99);
      filter: blur(1px);
    }

    100% {
      opacity: 0.2;
      transform: translateX(0) scale(1);
      filter: blur(0);
      letter-spacing: var(--letter-spacing-final);
    }
  }

  @keyframes wiggle {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(-2px); }
    60%  { transform: translateX(2px); }
    100% { transform: translateX(0); }
  }
  
  
/* ===========================
   fonts und container
   =========================== */

.welcome-section {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 10px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.welcome-section p {
font-size: 16px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 10px auto 40px;
  font-weight: 300;
  line-height: 1.6;
}

.content {
    position: relative;
    z-index: 10;
    text-align: left;
  	padding: 0 10%;
    animation: fadeInUp 1.2s ease-out;
	max-width: 950px;
	margin: 50px auto;
}
   	
.contentkontakt-simpel {
   	display: none;
   	}
   	
.contentkontakt-doppel {
   	display: flex;
   	max-width: 1000px;
  	margin: auto;
}
   	
.content50 {
	display: flex;
  	gap: 30px; /* Abstand zwischen den Boxen */
  	flex-wrap: wrap; /* Boxen umbrechen, wenn kein Platz mehr */
	position: relative;
    z-index: 10;
  	margin: 10px 40px 10px 60px;
  	padding-top: 50px;
    animation: fadeInUp 1.2s ease-out;
}

.content60 {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    float: left;
    width: 50%;
    position: relative;
    z-index: 10;
    padding-top: 50px;
    padding-bottom: 100px;
    animation: fadeInUp 1.2s ease-out;
}

.content40 {
  	display: flex;
    flex-direction: column;   /* Blöcke untereinander statt nebeneinander */
    align-items: center;      /* jetzt horizontal zentriert */
    justify-content: center;  /* vertikal zentriert im Container */
    text-align: center;       /* Text innerhalb der <p> auch zentriert */
    box-sizing: border-box;
    float: left;
    width: calc(50% - 30px);
    margin-left: 30px;
    position: relative;
    z-index: 10;
    padding-top: 60px;
    padding-right: 15%;
    animation: fadeInUp 1.2s ease-out;
}

.content60 img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 450px;
  	margin: 0 auto;
  	padding-left:15%;
}

.contentfull {
    position: relative;
    z-index: 10;
    text-align: center;
  	padding: 10% 20%;
    animation: fadeInUp 1.2s ease-out;
	max-width: 100%;
	margin-top: 50px;	
	background-color: rgba(0, 0, 0, 0.70);
}

.contentfull-hell {
    position: relative;
    z-index: 10;
    text-align: center;
  	padding: 5% 20%;
    animation: fadeInUp 1.2s ease-out;
	max-width: 100%;
	margin-top: 0px;	
	background-color: rgba(0, 0, 0, 0.00);
}


.footer {
    position: relative;
    z-index: 10;
}
 
.footer p {
	text-align: center;
	padding: 10px 20px;
}



.box {
  flex: 1;
  min-width: 200px; /* unter 300px → untereinander */
}

.box1 {
  flex: 1;
  min-width: 150px; /* unter 300px → untereinander */
}

.box2 {
  flex: 1;
  min-width: 300px; /* unter 300px → untereinander */
}

.kontaktbild {
	max-width: 60%;
}

.contentkontakt-doppel {
   	display: true;
}
   	
h1 {
font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 5px;
  color: var(--text-primary);
}

h2 {
 font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.1px;
  margin: 10px auto;
  color: #75ad40;
}

h3 {
 font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.1px;
  margin: 10px auto;
  color: var(--text-primary);
  padding-top: 15px;
}

.big { font-size: 18px; }

p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 10px auto;
  font-weight: 300;
  line-height: 1.6;
}

.center { text-align: center; }

p .center {
  margin: 10px 80px;
}


/* ===========================
   Contact Button
   =========================== */

.contact-button {
      margin-top: 1rem;
      padding: 0.85rem 2.5rem;
      border: 1px solid var(--text-primary);	 /*rgba(255,255,255,0.4)*/
      background: rgba(255,255,255,0.08);
      color: var(--text-primary);	 /*#f0ede8*/
      font-size: 0.95rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: background 0.25s;
      z-index: 50;
    }
.contact-button:hover {
      background: rgba(130, 175, 89, 0.2);
    }
.contact-button:link { color:var(--text-primary); }


/* ===========================
   Portfolio Section
   =========================== */

.portfolio-section {
    position: relative;
    z-index: 10;
    margin-top: 70px;
    padding: 0 10%;
    padding-bottom: 20px;
    animation: fadeIn 1.5s ease-out;
    max-width: 1600px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: 8%;*/
    row-gap: 30px;    /* Abstand zwischen den Zeilen */
  	column-gap: 30px; /* Abstand zwischen den Spalten */
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: var(--transition-smooth);
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.portfolio-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.portfolio-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 30px 12px 12px 12px;
    color: #6f6f6e;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
    border-radius: 0 0 8px 8px;
}

.portfolio-text h1 {
	font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0px;
}

.portfolio-text h2 {
	font-size: 1.1em;
    font-weight: normal;
}


/* ===========================
   Lightbox
   =========================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;    
    width: 90%;
    max-height: 90vh;      /* statt height: 90% */
    overflow-y: auto;      /* falls Bild höher als Bildschirm ist */
    display: flex;
    align-items: top;
    justify-content: center;
    max-width: 1200px; 
}

.lightbox-content img {
  	width: 100%;
    height: auto;
    margin: auto;          /* zentriert horizontal UND vertikal */
    display: block;
    animation: zoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	transition:opacity .2s ease;
}

.lightbox-close {
    position: absolute;
    top: 80px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(130, 175, 89, 1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 95, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    line-height: 1;
    padding: 0;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(130, 175, 89, 1);
    border-color: rgba(255, 255, 255);
    transform: translateY(-50%) scale(1.1);
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    background: rgba(130, 175, 89, 0.8);
    padding: 0px 10px 5px 10px;
    border-radius: 6px;
}
#lightbox-title {
    font-size: 16px;
    margin: 0 0 4px 0;
    color: #fff;
}
#lightbox-tags {
    font-size: 13px;
    margin: 0;
    color: #fff;
}

#lightbox-dots {
    display: none;
}

#lightbox-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

#lightbox-link:hover {
    background: rgba(255,255,255,0.2);
}

#lightbox h3 { padding-top: 5px; }

.lightbox-loader{

    position:absolute;
    top:50%;
    left:50%;

    width:46px;
    height:46px;

    margin-left:-23px;
    margin-top:-23px;

    border:4px solid rgba(255,255,255,.25);
    border-top-color:#fff;

    border-radius:50%;

    animation:lightboxSpin .8s linear infinite;

    display:none;

    z-index:5000;
}

.lightbox-loader.active{
    display:block;
}

#lightbox-img{
    transition:opacity .2s ease;
}

@keyframes lightboxSpin{

    to{
        transform:rotate(360deg);
    }

}

/* SCROLL Button unten */

#scroll-top-btn {
  position: fixed;       /* immer sichtbar, unabhängig vom Scrollen */
  bottom: 2rem;
  right: 2rem;
  z-index: 50;           /* über Inhalt, unter Lightbox (z-index: 100) */

  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  /* Einblenden-Animation */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

#scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===========================
   Social Media Icons
   =========================== */


  .social-links {
	position: relative;   /* wichtig: hebt den Block über den fixed Video-Hintergrund */
  	z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0px auto;
    padding: 32px;
    border-top: 1px solid #e2e2e2; /* dezente Trennlinie wie im übrigen Layout */
    max-width: 800px;
  }

  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #b9b9b9; /* hellgrau, Grundzustand */
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .social-links a:hover,
  .social-links a:focus-visible {
    color: #60ac46; /* soft green rollover */
    transform: translateY(-2px);
  }

  .social-links svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
  }
  
  
  
  

/* ===========================
   RESPONSIVE DESIGN - TABLET
   =========================== */

@media screen and (max-width: 1024px) {
    /* Navigation */
    .navigation {
        top: 20px;
        right: 20px;
        gap: 20px;
        padding: 12px 24px;
    }

    .navigation a {
        font-size: 13px;
    }

    /* Logo */
    .logo-container {
        padding-top: 150px;
    }

    .logo {
        width: 40vw;
        max-width: 380px;
    }

    .animation-wrapper {
        width: 40vw;
        max-width: 380px;
        padding-top: 150px;
    }

    .pixel-overlay {
        top: 150px;
        height: calc(100% - 150px);
    }

    /* Welcome Section */
    .welcome-section {
        margin-top: 20px;
    }

    .welcome-section h1 {
        font-size: clamp(28px, 4.5vw, 48px);
    }

    .welcome-section p {
        font-size: clamp(15px, 1.8vw, 18px);
    }

    /* Contact Button */
    .contact-button {
        padding: 14px 40px;
        font-size: 15px;
    }

    /* Portfolio */
    .portfolio-section {
        margin-top: 100px;
        padding: 0 8%;
        padding-bottom: 80px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6%;
    }

    /* Lightbox */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }
}

/* ===========================
   RESPONSIVE DESIGN - SMARTPHONE
   =========================== */

@media screen and (max-width: 768px) {
    /* Background Image */
    body::before {
        width: 100%;
        height: 30vh;
        top: auto;
        bottom: 0;
        opacity: 0.3;
    }
    
	.video-bg { display: none; }
	
    /* Navigation */
    .navigation {
        top: 15px;
        right: 15px;
        left: 15px;
        gap: 15px;
        padding: 10px 20px;
        justify-content: start;
        flex-wrap: wrap;
    }

    .navigation a {
        font-size: 12px;
    }

    /* Logo */
    .logo-container {
        padding-top: 120px;
    }

    .logo {
        width: 60vw;
        max-width: 300px;
    }

	.content {
	text-align: center;
  	padding: 0 4%;
  	}
   
   .contentkontakt-simpel {
        display: flex;
        flex-direction: column;   /* Bild über Text statt nebeneinander */
        align-items: center;      /* horizontal zentrieren */
        text-align: center;
    }

    .kontaktbild {
        max-width: 60%;
        margin: 0 auto 20px;      /* Abstand zum Text darunter */
        display: block;
    }
   	
  	.contentkontakt-doppel {
   	display: none;
	}
 	
 	.contentfull-hell {
  	padding: 5%
	}   
		
   	.contentfull { padding: 5%;}
   	
    .animation-wrapper {
        width: 60vw;
        max-width: 300px;
        padding-top: 120px;
    }

    .pixel-overlay {
        top: 120px;
        height: calc(100% - 120px);
    }

    /* Welcome Section */
    .welcome-section {
        margin-top: 10px;
        padding: 0 30px;
    }

    .welcome-section h1 {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 16px;
    }

    .welcome-section p {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 30px;
    }

    /* Contact Button */
    .contact-button {
        padding: 12px 36px;
        font-size: 14px;
    }

    /* Portfolio */
    .portfolio-section {
        margin-top: 40px;
        padding: 0 5%;
        padding-bottom: 60px;
    }

    .portfolio-grid {
        /*grid-template-columns: 1fr;*/
        gap: 10px;
    }

    .portfolio-item {
        max-width: 150px;
        margin: 0 auto;
    }

    .animation {
    font-size: 20px;
  	padding-top: 25px;
    padding-bottom: 10px;
  	}
  
  	h2 {
 	font-size: 20px;
	}

	h3 {
 	font-size: 16px;
 	}

	.big { font-size: 16px; }

	p {
  	font-size: 13px;
  	line-height: 1.4;
	}

  
}
 
 
 
 /* ===========================
   Lightbox – Smartphone Feinabstimmung
   =========================== */

@media screen and (max-width: 468px) {

    #lightbox-caption {
        bottom: 10px;
        max-width: 90%;
        padding: 8px 16px;
        background: rgba(173, 173, 173, 0.8);
    }
    
	#lightbox-title, #lightbox-tags {
    color: #4c4c4c;
	}

	#lightbox-dots {
    display: none;
	}
	
	.lightbox h3 { padding-top:2px;}
    
}

/* Handy Hochformat (<=460px) → Bild oben, volle Breite, Höhe auto, scrollbar */
@media screen and (max-width: 460px) and (orientation: portrait) {

    .lightbox {
        align-items: flex-start;   /* Inhalt nach oben statt vertikal zentriert */
        justify-content: flex-start;
        overflow-y: auto;
    }

	.portfolio-text h1 {display: none;} 
	
    .lightbox-content {
        top: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 100vh;   /* falls Bild + Caption höher als Viewport → scrollen */
        overflow-y: auto;
        margin: 0;
    }

    .lightbox-content img {
        width: 100%;
        height: auto;
    }

    #lightbox-img {
        display:block;
        width:100vw;
        max-width:100vw;
        height:auto;
        margin:0;
    }
    
    
}

/* Handy quer gehalten → Bild bekommt mehr Raum */
@media screen and (max-width: 900px) and (orientation: landscape) {

    #lightbox {width: 98%;}
    
	.portfolio-text h1 {display: none;} 
	
    #lightbox h3 { padding-top: 5px; }
    
    .lightbox-content {
        height: 92vh;
        width: 100%;
    }
    
    #lightbox-img {
        display:block;
       	width: auto;
    	max-width: 100vw;
    	height: auto;
    	max-height: 50vw;
        margin:0;
    }
        
    #lightbox-caption {
        bottom: 5px;
        padding: 5px 12px 2px 12px;
    }

    #lightbox-tags, #lightbox-dots {
        display: none;   /* spart Platz im Querformat */
    }

	#lightbox-title { margin: -10px 0px 10px 0; }

	#lightbox-link { margin: 0px 0px 10px 0px;}

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .lightbox-close { top: 8px; right: 8px; }
    .lightbox-prev  { left: 8px; }
    .lightbox-next  { right: 8px; }
}


