@charset "UTF-8";
/* CSS Document */

:root {
  --primary-width: 1450px;
}

html, body {
  height: 100%;
  margin: 0;
}

/* Grundlegendes Layout */

body {
  font-family: 'Figtree', sans-serif;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
h1, h2, h3, h4 {
    font-weight: 600;
	padding:0;
	margin:0;
}

p, a, li {
  font-weight: 400;
  font-size: 0.8rem;
  padding:0;
  margin:0;
  color:inherit;

}
a:link, a:hover, a:visited, a:active, a:focus{
	color:inherit;
	}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* Kopfbereich */
header {
	position: sticky;
	top: 0;
  	background-color: #fff;
  	z-index: 1000;
	padding:2rem;
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: space-between;
  	align-items:flex-end;
  	gap: 1rem;

}

header a {
  display: flex;
  align-items: center;
}
.logo {
  height: 25px;
  max-width: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

nav a, .download a{
  position: relative;
  text-decoration: none;
  color: black;
  font-size: 0.95rem;
  padding-bottom: 2px;
}

nav a::after, .download a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0%;
  background-color: black;
  transition: width 0.4s ease;
}

nav a:hover::after, .download a:hover::after {
  width: 100%;
}
/********************************/
.container {
  flex: 1; /* Nimmt den verfügbaren Platz zwischen header und footer ein */
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  align-items: center;  /*new*/
}



/* Ausstellungen mit Grid */
.main-block {
	margin-top:5rem;
	width:100%;
	display: flex;
	flex-direction: column;
	text-align: center;
}

	
.primary{
	width:100%;
	max-width: var(--primary-width);
	padding:0 20px;
}



.main-block a{
width: fit-content;
margin: 0 auto;
	opacity:1;
	transition: opacity 0.3s ease;
}


.main-block h1{
padding-top: 10rem;
padding-bottom: 2rem;
font-size: 1.2rem;
font-weight: 600;
}

.main-block h2{
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 100;
  transition: color 0.3s ease;
}

.main-block a:hover h2{ color:#aaa;}

.main-block a:hover img{ opacity: 0.8;}

.main-block p{
  font-size: 1rem;
  margin: 0;
}
.main-block p.download a{
  font-size: 0.8rem;
 
}

.primary img
{
	width: 100%;
}


*.arrow-link {
  display: inline-flex;
	margin-top: 1rem;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: black;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

*.arrow-icon {
  transition: transform 0.3s ease;
}

*.arrow-link:hover .arrow-icon {
  transform: translateX(8px); /* Pfeil bewegt sich nach rechts */
}

.exhibition img {
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: 100%;
 max-height: 80vh;
}

.main-block .datum {
	padding:0.75rem 0 2rem 0;
}

p.gap{
    margin-bottom: 30px;
	font-size:1.3rem;
	font-weight: 200;
	text-align: center;
}

.text-box{
text-align: left;
  max-width: 700px;
  padding: 3rem 1rem;
	display:inline-block;
margin:0 auto;	
}
/*     Works           */

.exhibition-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-items: center;    									/* zentriert Items innerhalb der Zellen */
  gap: 1rem;
	width: 100%; /*new*/
	max-width: var(--primary-width);/*new*/
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
padding-bottom: 30px;
}

.product img {
  height: auto;
  width: 100%;
  max-height:none;
  max-width: 690px;
  min-width: 400px;
  object-fit: cover;

}

.work-info{ width: 90%;}
.work-info p{
  margin: 0;
  font-size: 0.95rem;
  color: #333;
	text-align: left;
	padding-left:1rem;
	
}
.work-info p:first-child, .work-info span{
	font-weight: 600;
}

.work-info p:first-child{
	margin: 1rem 0;
}
button.enquire-btn {
display: block;
}

.work-info span.arrow-link{
display: block;
padding-left: 1rem;
margin-top: 1rem;
}

/* Newsletter-Formular */

.subscribe {
  text-align: left;
  max-width: 410px;
  margin: 5rem auto 0 auto;
}

.subscribe h3 {
  font-size: 1.1rem;
  font-weight: 200;
  margin-bottom: 1rem;
}

.subscribe form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: none;
  max-width: 100%;
}

.subscribe input[type="email"] {
  flex: 1;
  padding: 1rem;
	margin:0;
  border: 1px solid #eee;
  font-size: 1rem;
  outline: none;
}

.subscribe form button {
  padding: 0.5rem 1.5rem;
  background-color: #000!important;
	transition: background-color 0.3s ease;
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  border: 1px solid #000;
  cursor: pointer;
border-radius: 0!important;
}
.subscribe form button:hover {
background-color: #555!important;	
}
.subscribe p {
  font-size: 0.85rem;
  color: #444;
  margin-top: 1rem;
  line-height: 1.5;
}


/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #555;
  margin-top: 4rem;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-right {
  flex-shrink: 0;
}

.instagram-icon {
  height: 30px;/* new */
  width: auto;/* new */
  opacity: 1;
  transition: opacity 0.3s ease;
}

.instagram-icon:hover {
  opacity: 0.7;
}

/* =============================
   iPhone & Mobile Optimierung direkt in Haupt-CSS
   ============================= */
@media screen and (max-width: 480px) {
  html {
    font-size: 18px; /* Wichtig: Basisgröße erhöhen */
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  
  }

  h2 {
    font-size: 1.5rem;
  }

  p, a, li {
    font-size: 1rem;
  }
p.gap{
    margin-bottom: 30px;
}

header {
	
	padding: 1rem 2rem;
}

  .logo {
    height: 27px; /* Deutlich größer */
  }
 nav {
    gap: 1rem;
  }
  nav a {
    font-size: 1rem;
  }

  .arrow-link {
    font-size: 1rem;
  }

  .main-block {
    margin-top:3rem;
  }

.main-block[name='about'] {
    margin-top: 0;
padding:0;
  }
  .main-block h1 {
    font-size: 1.5rem;
padding: 0rem;
margin:0;
  }

  .main-block h2 {
    font-size: 1.3rem;
  }



  .main-block p.download a {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.9rem;
  }

  .subscribe input[type="email"],
  .subscribe form button {
    font-size: 1rem;
  }

  .text-box {
    padding: 2rem 1rem;
  }

  .product img {
    min-width: auto;
    max-width: 100%;
  }

  .exhibition-works {
    grid-template-columns: 1fr;
  }

}
