body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f4efe6;
  color: #222;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

header .logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #f3e0b5; /* warmes Papier-Gelb */
}

header .logo a {
  color: #f3e0b5;
  text-decoration: none;
}

header .logo a:hover {
  color: #f3e0b5;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  color: #f3e0b5;
  text-decoration: none;
  margin-left: 1.2em;
}

header nav a:hover {
  color: #9ed8f3; /* hellblauer Akzent */
}

header nav a img {
  height: 18px;
  width: auto;
  vertical-align: middle;
  opacity: 0.85;
  transition: opacity 0.2s;
}

header nav a:hover img {
  opacity: 1;
}

nav a.active {
  color: #9ed8f3;
  font-weight: bold;
  border-bottom: 2px solid #9ed8f3;
}

nav a.active::after {
  width: 100%;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #9ed8f3;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

main {
  max-width: 1200px;
  margin: 2em auto;
  padding: 2em;
  background-color: #fff;
  color: #222;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hidden{
display:none;
}

section{
scroll-margin-top:120px;
}

html{
scroll-behavior:smooth;
}

.sidebar a{
text-decoration:none;
color:#666;
transition:0.2s;
}

.sidebar a.active{
color:#000;
font-weight:bold;
border-left:3px solid #000;
padding-left:8px;
}

.layout{
display:flex;
gap:40px;
}

.sidebar{
width:120px;
position:sticky;
top:120px; /* Abstand vom oberen Rand */
height:fit-content;
}

.sidebar ul{
list-style:none;
padding:0;
}

.sidebar li{
margin-bottom:10px;
}

.sidebar a{
text-decoration:none;
color:#333;
}

.sidebar a:hover{
text-decoration:underline;
}

a {
  color: #0077cc;      
  text-decoration: none; 
  transition: color 0.3s;
}

main a:hover {
  color: #d4b76f;      
  text-decoration: underline; 
}

.content{
flex:1;
}

.hero {
  text-align: center;
  margin-bottom: 2em;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.works {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.work {
  background-color: #f3e0b5;
  padding: 1.5em;
  border-radius: 6px;
  margin-bottom: 2em;
}

.work-header {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin-bottom: 1em;
}

.work-header img {
  max-width: 150px;
  height: auto;
}

.work-header h3 {
  margin: 0;
}

.work-top {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  flex-wrap: wrap;
}

.work-image {
  flex: 0 0 400px;   /* feste Breite fürs Bild */
}

.work-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.work-meta {
  flex: 1;
}

.work-meta strong {
  color: #333;
}

.work-meta h2 {
  margin-top: 0;
  margin-bottom: 1em;
}

.work-meta p {
  margin: 0.3em 0;
}

.work-description {
  margin-top: 1.5em;
  width: 100%;
}

.contact-page {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
  font-size: 1.1em;
  line-height: 1.6;
}

.contact-info p {
  margin: 0.8em 0;
}

.shop-links {
  display: flex;
  gap: 1em;          
  flex-wrap: wrap;  
  align-items: center;
  margin-top: 0;
}

.shop-links a img {
  width: 120px;     
  object-fit: contain;
  transition: transform 0.3s;
}

.shop-links a:hover img {
  transform: scale(1.1); 
}

footer {
  text-align: center;
  padding: 1em;
  background-color: #f4efe6;
  color: #222;
}

footer .social span {
  margin: 0 0.5em;
  cursor: pointer;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
  }
  header nav {
    margin-top: 0.5em;
  }
  .work {
    width: 100%;
  }
}
