html/* General Reset */
*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TYPOGRAPHY SYSTEM */
:root {
  --oscar-color: #6A3423;
  --oscar-color-light: #946758;
  --oscar-color-grey: #A7A9AC;
  --oscar-color-dark: #6c322149;
  --bg-grey-color: #f7f7f7;
}

@font-face {
  font-family: 'Eurostile';
  src: url('../fonts/EurostileRegular.woff2') format('woff2'),
      url('../fonts/EurostileRegular.woff') format('woff'),
      url('../fonts/EurostileRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Smallest screens (unchanged) */
.typo-tiny        { font-size: 0.57rem; }
.typo-small       { font-size: 0.76rem; }
.typo-medium      { font-size: 1.01rem; }
.typo-mediumlarge { font-size: 1.35rem; }
.typo-large       { font-size: 1.8rem; }
.typo-extralarge  { font-size: 2.4rem; }

/* ===== ≥45em ===== */
@media screen and (min-width: 720px) {
  .typo-tiny        { font-size: 0.63rem; }
  .typo-small       { font-size: 0.84rem; }
  .typo-medium      { font-size: 1.11rem; }
  .typo-mediumlarge { font-size: 1.48rem; }
  .typo-large       { font-size: 1.97rem; }
  .typo-extralarge  { font-size: 2.63rem; }
}

/* ===== ≥60em ===== */
@media screen and (min-width: 1120px) {
  .typo-tiny        { font-size: 0.69rem; }
  .typo-small       { font-size: 0.92rem; }
  .typo-medium      { font-size: 1.23rem; }
  .typo-mediumlarge { font-size: 1.64rem; }
  .typo-large       { font-size: 2.17rem; }
  .typo-extralarge  { font-size: 2.9rem; }
}

/* ===== ≥75em ===== */
@media screen and (min-width: 1200px) {
  .typo-tiny        { font-size: 0.72rem; }
  .typo-small       { font-size: 0.96rem; }
  .typo-medium      { font-size: 1.28rem; }
  .typo-mediumlarge { font-size: 1.7rem; }
  .typo-large       { font-size: 2.26rem; }
  .typo-extralarge  { font-size: 3.02rem; }
}

/* ===== ≥90em (reference point) ===== */
@media screen and (min-width: 1440px) {
  .typo-tiny        { font-size: 0.75rem; }
  .typo-small       { font-size: 1rem; }
  .typo-medium      { font-size: 1.33rem; }
  .typo-mediumlarge { font-size: 1.77rem; }
  .typo-large       { font-size: 2.36rem; }
  .typo-extralarge  { font-size: 3.15rem; }
}

/* ===== ≥100em ===== */
@media screen and (min-width: 1600px) {
  .typo-tiny        { font-size: 0.85rem; }
  .typo-small       { font-size: 1.14rem; }
  .typo-medium      { font-size: 1.52rem; }
  .typo-mediumlarge { font-size: 2.03rem; }
  .typo-large       { font-size: 2.7rem; }
  .typo-extralarge  { font-size: 3.6rem; }
}

/* ===== ≥110em ===== */
@media screen and (min-width: 1760px) {
  .typo-tiny        { font-size: 1.2rem; }
  .typo-small       { font-size: 1.53rem; }
  .typo-medium      { font-size: 1.95rem; }
  .typo-mediumlarge { font-size: 2.52rem; }
  .typo-large       { font-size: 3.28rem; }
  .typo-extralarge  { font-size: 4.29rem; }
}

.line-height-dense {
  line-height: 1em !important;
}

.line-height-normal {
  line-height: 1.4em !important;
}

.line-height-medium {
  line-height: 1.6em !important;
}

.line-height-large {
  line-height: 1.9em !important;
}

.line-height-extralarge {
  line-height: 2.3em !important;
}

/*external */
.glightbox-open {
  height: auto;
}

.glightbox-container img {
  max-width: 100% !important;
  max-height: 90vh !important;
}

.gslide-description {
  height: auto;
  text-align: center;
  background-color: transparent !important;
  max-height: 5vh;
}

.gslide-title {
  color: white !important;
}

/* Typography and Layout */
html {
  box-sizing: border-box;
  font-family: 'Eurostile', sans-serif;
  font-optical-sizing: auto;
  font-size: 75%;
  color: var(--oscar-color);
  height: 100%;
}

@media (resolution >= 2dppx) {
  html {
    font-size:  90%; 
  }
}

.eurostile-font {
  font-family: 'Eurostile', sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 5rem 0 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

strong {
  font-weight: 700;
}

a {
  color: currentColor;
  text-decoration: none;
}

/* Header and Navbar */
.header {
  width: 100%; 
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 1); 
  padding: 1rem 2rem;
  transition: all 0.2s ease-in-out;
}

/* Logo Style */
.logo {
  height: 4rem; 
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
  margin: 0.5rem 0;
}

.header.shrunk {
  padding: 0.5rem 2rem; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.header.shrunk .logo {
  height: 4rem; 
    margin:  0;
}

.logo svg {
  height: 100%; 
  width: auto;  
}

/* Menu Styles */
.menu-container {
  position: relative;
  z-index: 1000; 
}

.menu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: rgb(255, 255, 255);
  /* Initially hidden: no pointer events so that clicks pass through */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding-right: 2em;
}

.menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

}

.menu-toggle {
  display: block;
}
.menu-toggle.show {
  display: none;
}
.menu-close {
  display: none; 
}

.menu-close.show {
  display: block;
  z-index: 1001;
}

.menu-toggle, .menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color:  var(--oscar-color);
  padding-bottom: .5em;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.menu-list a {
  display: inline-block;
  background-color: white; 
  width: 100%;
  border: 1px solid  var(--oscar-color);
  border-radius: 0; 
  padding: 0.5em 1em; 
  color:  var(--oscar-color);
  text-decoration: none; 
  cursor: pointer;
  text-align: center; 
  transition: background-color 0.3s ease, color 0.3s ease; 
  margin-bottom: 3em;
}
  
.menu-item {
  position: relative; 
}

.submenu-arrow {
  display: none;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.submenu-arrow::after {
  display: none;
}


.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -2rem;
  background: rgba(255, 255, 255, 0.95); 
  list-style: none;
  padding: 1rem 2rem 0.5rem;
  box-shadow: 0 5px 8px rgba(108, 51, 33, 0.1);
  clip-path: inset(0px -10px -10px -10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.1s ease-out;
}

.sub-menu li {
  padding: 0.5rem 0;
}

.sub-menu a {
  display: block;
  text-align: left;
  white-space: nowrap;
  width: 100%;
  padding: 0;
  margin: 0;
}


.menu-item:hover > .sub-menu,
.menu-item:hover > .submenu-arrow + .sub-menu {
  display: none;
}

.menu-item:hover > .submenu-arrow::after,
.submenu-arrow:hover::after,
.sub-menu:hover + .submenu-arrow::after,
.sub-menu:hover ~ .submenu-arrow::after {
  transform: rotate(-180deg); 
}

.main {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  flex-grow: 1;
}

.main-text {
  width: 100%;
  max-width: 100%;
}

.main:nth-of-type(odd){
  background-color: var(--bg-grey-color);
}

#Intro-Section {
  background-color: transparent;
}

.grid-section {
  display: grid;
  width: 100%;
  max-width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 3rem 2rem;
  box-sizing: border-box;
}

.grid-section .button {
  display: inline-block; 
  background-color: white; 
  border: 1px solid  var(--oscar-color);
  border-radius: 0; 
  padding: 0.5rem 1rem; 
  color:  var(--oscar-color);
  text-decoration: none; 
  cursor: pointer;
  text-align: center; 
  transition: background-color 0.3s ease, color 0.3s ease; 
  margin-bottom: 3rem;
}

.grid-section .button:hover {
  background-color: var(--oscar-color-light);
  color: white; 
}

.section-content h1 {
  font-family: 'Eurostile', sans-serif;
  font-weight: normal;
  margin: 4rem 0 2rem; 
}

.section-content h2 {
  font-family: 'Eurostile', sans-serif;
  font-weight: normal;
  margin-bottom: 0.5rem; 
}

.section-content  p {
  margin-bottom: 3rem; 
}

.section-content  a{
  text-decoration: none;
}

.section-content  p.bold {
  font-weight: 700;
}

/* Quotes */
.grid-section blockquote {
  position: relative;
  text-align: center;
  padding: 1.5em 2em; /* Reduced top/bottom padding */
  margin: 0;
  overflow: hidden;
}

blockquote::before,
blockquote::after {
  position: absolute;
  color: var(--oscar-color-dark);
  font-size: 2em;   /* Reduced font size for tighter fit */
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  opacity: 0.8;
  z-index: 1;
  line-height: 1;
}

/* Adjust the top/left to bring the opening mark closer to the first line */
blockquote::before {
  content: '“';
  left: 0.2em;
  top: 0.3em;
}

/* Adjust the bottom/right to bring the closing mark closer to the last line */
blockquote::after {
  content: '”';
  right: 0.2em;
  bottom: 0.1em;
}


.grid-section cite {
  font-style: normal;
  text-align: center;
  margin-top: var(--font-body);
  opacity: 0.5;
}

#intro {
  padding-top: 0;
  position: relative;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr;          
  grid-template-areas:
    "image"
    "quote";
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 2rem 0;
}

/* image block */
.category-image-container {
  grid-area: image;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#category-image {
  width: 90%;            
  height: auto;
  max-height: 40vh;       
  object-fit: contain;
  transition: opacity .3s ease-in-out, visibility 1s ease-in-out;
}

/* quote block */
.quote-container {
  grid-area: quote;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 2rem 0rem 4rem;
  margin: 0 auto;
}


/* fade-in utility (kept from your original rules) */
#quote-text,
#quote-author,
#category-image {
  opacity: 0;
  visibility: hidden;
}
#quote-author {
  width: 70%;
}

#quote-text.active,
#quote-author.active,
#category-image.active {
  opacity: 1;
  visibility: visible;
}

#quote-author.active {
  opacity: 0.5;
  visibility: visible;
}


/* Galerie */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
  margin: 0;
  list-style: none;
}

.img-container {
  position: relative;
  overflow: hidden;
}

.img-container img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
  will-change: transform;
}

@media (min-width: 1200px) {
  .projects .img-container:hover img {
    opacity: .5;
    transform: scale(1.05);
  }
}

.projects a {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 0;
}

.projects figure {
  margin: 0;
}

/* Filter */
.filter {
  display: flex;
  justify-content: flex-start; /* Aligns items to the start */
  flex-wrap: wrap;
  gap: 0.5em; 
  padding: 4em 1rem 1rem;
  margin: 0 0 6rem;
  flex-direction: row;
  position: sticky;       
  top: 3rem; /* distance from viewport top = header   */
  z-index: 900;
  background-color: var(--bg-grey-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0); /* transparent initially */
  transition: box-shadow 0.3s ease-in-out;
}

.filter.sticky-active {
   box-shadow: 0 8px 10px -4px rgba(0, 0, 0, 0.1);
}


.filter a {
  display: inline-block; 
  background-color: transparent; 
  border: 1px solid var(--oscar-color);
  color: var(--oscar-color);
  border-radius: 0; 
  padding: 0.5em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text from wrapping inside the button */
  transition: background-color 0.3s ease, color 0.3s ease;

  width: auto;
  text-align: left;
}

@media (min-width: 1200px) {
  .filter a:hover {
    background-color:  var(--oscar-color-light);
    color: white; 
  }
}

/* Active Filter */
.filter a.active {
  background-color:  var(--oscar-color);
  border: 1px solid  var(--oscar-color);
  color: white; 
}

.category-heading {
  margin-bottom: 0 !important;
  padding-left: 0rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.category-heading.active {
  opacity: 1;
}

/* People Gallery */
.people {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.person {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(108, 51, 33, 0.2);
  margin: 0;
}

i svg {
  display: inline-block;
  vertical-align: middle; 
  height: 1em;
  width: 1em;
}

.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.img-container img {
  display: block;
  width: 100%;
    max-width: 100%;
  height: auto;
}

.info {
  display: grid;
  grid-template-rows: auto 1fr auto; /* Ensures task grows while contact and button stay at bottom */
  gap: 0.3rem;
  flex: 1;
  padding: 0.75rem;
  text-align: left;
  height: 100%;
}

.info p {
  color: var(--oscar-color);
  min-height: 2rem; 
  margin-bottom: 1rem !important; 
}

.contact {
  display: grid;
  grid-template-rows: auto auto; /* Ensure alignment */
  gap: 0.1rem;
  margin-top: auto; /* Pushes contact section to the bottom */
  padding: 0 0 0.5rem 0rem;
}

.contact p {
  margin: 0;
  display: flex;
  align-items: first baseline;
  gap: 0.5rem; 
  width: 100%;
}

.info i {
  color: var(--oscar-color);
  margin-right: 0.5rem;
  width: 5%
}


/* vCard download button styled and pushed to the bottom */
.vcard-download {
  display: inline-block;
  background-color: white;
  border: 1px solid  var(--oscar-color);
  border-radius: 0;
  padding: 0.5rem 0.5rem;
  color:  var(--oscar-color);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto;  
  margin-bottom: 0.1rem; 
}

.vcard-download i {
  transition: color 0.3s ease, color 0.3s ease;
}


@media (min-width: 1200px) {
  .vcard-download:hover {
    background-color:  var(--oscar-color-light);
    color: white;
  }

  .vcard-download:hover i {
    color: white;
  }


}


#slider-produktion {
  margin: 0 0 4rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}


#slider-produktion::before {
  content: "";
  display: block;
  padding-top: 50%; /* 2:1 aspect: height = 50% of width */
}

#slider-produktion > .image-carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Carousel Container */
/* 
#slider-produktion .image-carousel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
} */

#slider-produktion .image-carousel li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /* Initially hidden */
  transition: opacity 2s ease-in-out;
}

#slider-produktion .image-carousel li:first-child {
  opacity: 1;
}

#slider-produktion .image-carousel img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  margin: auto;
}

#slider-produktion .dots {
  display: none;
}


/* Kontakt */
#Kontakt {
  position: relative;
  flex-direction: column;
  margin-bottom: 0;
}

#Kontakt .column-container{
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem; 
}

#Kontakt .main-text {
  flex: 1; 
}

#Kontakt .main-text a {
 text-decoration: none;
}

#Kontakt .main-text .button{
  display: inline-block;
  margin-top: 2rem;
}

#Kontakt .main-text .button i{
  margin-right: 0.5rem;
}

@media (min-width: 1200px) {
  #Kontakt .main-text a:hover {
    background: none;
    color: var(--oscar-color);
  }
}

@media (min-width: 1200px) {
  #Kontakt .main-text .button:hover {
    background: var(--oscar-color-light);
    color: white;
  }
}

#Kontakt p {
  margin-bottom: 0; 
}

#Kontakt a {
  text-decoration: underline;
}

@media (min-width: 1200px) {
  #Kontakt a:hover {
    background-color: var(--oscar-color);
    color: white; 
  }
 }

 
 .contact-column {
  flex: 1; /* Takes up available space */
  width:100%;
  display: flex;
  flex-direction: column;
  gap: 2rem; 
}

.flex-container {
  display: flex;
  align-items: center; 
  gap: 1rem; 
}

.highlight-icon-container{
  width: 5rem; 
  height: 5rem; 
  align-items: center;
  justify-content: center;
  margin: 0 2rem;
  display: none;
}

.highlight-icon-container svg {
  width: auto; 
  height: 100%; 

}

.highlight-icon-container svg .cls-1 {
  fill: var(--oscar-color-grey); 
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#Kontakt .grid-section .section-content .text-content {
  margin-bottom: 0;
}

.background-container {
  position: absolute;
  overflow: hidden;
  right: 0; 
  top: 80%;
  transform: translateY(-20%);
  width: 50%; 
  height: 50%;
  z-index: -1;
  pointer-events: none; 

}

.background-container svg {
  width: 100%;
  height: auto;
}


.intro-background-container {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 50%; 
  max-height: 100%;
  transform: translateY(50%);
  z-index: -1;
  pointer-events: none;
}

.intro-background-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover; 
  overflow: hidden;
}

.background-container svg .cls-1 {
  fill: var(--bg-grey-color); 
}

/* Career List Styling */
.list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
}

.list li {
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid  var(--oscar-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 2px 2px 10px var(--oscar-color-dark);
}

.list a {
  border-bottom: 1px solid  var(--oscar-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 2px 2px 10px var(--oscar-color-dark);
}


@media (min-width: 1200px) {
  .list a:hover {
    background-color: var(--oscar-color-light);
    color: white; 
  }
}

.list dl {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-weight: 300;
}

.list dt {
  order: 2; 
  font-weight: 700;
}

.list dd {
  order: 1; 
  margin-bottom: 0.5rem;

}

.list li p {
  display: block;
  margin-top: 0.5rem;
  text-decoration: underline;
}

#Karriere h2 {
  margin-bottom: 2rem;
}

.no-positions {
  text-align: left;
  opacity: 0.8;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem;
  background-color: var(--bg-grey-color);
  width: 100%;
  margin: 0;
  flex-wrap: wrap;
}

.footer span {
  margin-bottom: 1rem;
  flex-shrink: 0; 
  width: 50px; 
  height: auto;
  display: inline-block;
}

.footer span img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin-left: 0;
  padding-top: 2rem;
}

/* Footer Links */
.footer a {
  text-decoration: none;
  color: var(--oscar-color);
  transition: color 0.3s ease;
}

/* Impressum */
.impressum-container {
  display: grid;
  grid-template-columns: 1fr;
  gap:  1rem;
  max-width: 80%;
  margin: 0 auto;
}

.impressum-column {
  padding: 10px;
}

.impressum-column  h3 {
  font-weight: 300;
  padding: 1rem 0;
}

.agbs-container h3, .agbs-container h4 {
  font-weight: 300;
  padding: 0.5rem 0;
}

.sublist {
margin-left: 1rem;
}


@media screen and (min-width: 480px) {


  .filter a {
    text-align: center;
    width: auto;
  }

  .grid-section .section-content {
    grid-column: 1fr; 

  }

  .person {
    margin: 0 4rem;
  }

  .logo {
    height: 6rem; 
  }

  .header.shrunk .logo {
    height: 4rem; 
  }
}

@media screen and (min-width: 720px) {
  
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-heading {
    padding-left: 2rem;
  }

  .pagination-wrapper {
    gap: 0.5rem; 
  }

  .pagination button {
    padding: 0;
  }

  .people {
    grid-template-columns: repeat(2, 1fr);
  }

  .person {
    margin: 0;
  }

  #Intro-section {
    margin-top: 4rem;
  }




  #Leistungen .main-text {
    width: 50%;
  }

  #Produktion .main-text {
    width: 50%;
  }

  .impressum-container {
    grid-template-columns: 1fr 1fr;
  }

  .list dl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    
  }
  
  .list dt {
    font-weight: 300;
    order: 1;
  }

  .list dd {
    font-weight: 300;
    order: 2;
  }

  .quote-wrapper {
    grid-template-columns: 1fr 1fr;  
    grid-template-areas: "quote image";
    align-items: center;             
    gap: 4rem;
    min-height: 60vh;  
    padding: 2rem;               
  }

  .quote-container {
    padding: 2rem 2rem 4rem;
  }

  .quote-container,
  .category-image-container {
    flex: 1 0 50%;                   
    width: 100%;
  }

  #category-image {
    max-height: 50vh;     
    object-fit: cover;
  }

}

@media screen and (min-width: 960px) {

  .grid-section {
    padding: 3rem 5rem;
  }

  .header
  {
    padding: 1rem 2rem; 
  }

  .main {
    padding: 0 0 5rem 0;
    margin: 0 0 3rem 0;
  }
  
  .highlight-icon-container{
    display: flex;
  }

  #Impressum, #AGBs, #Datenschutz, #Downloads, #Karriere, #Error {
    margin-top: 6rem;
  }


}

@media screen and (min-width: 1200px) {

    body {
    padding: 9rem 0 0;
  }

  .menu-toggle {
    display: none; 
  }

  .submenu-arrow{
    display: inline-block;
    cursor: pointer;
  }

  .submenu-arrow::after {
    display: inline-block;
    content: "▾"; 
    display: inline-block;
    transition: transform 0.3s ease-in-out;
  }

  .menu-item:hover > .sub-menu,
  .menu-item:hover > .submenu-arrow + .sub-menu,
  .sub-menu:hover {
    display: inline-block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
    text-align: left;
  }

  .menu {
    opacity: 1;
    visibility: visible;
    background: none;
    position: static;
    pointer-events: all;
  }
  .menu-list {
    gap: 2rem;
    display: flex;
    flex-direction: row;
    text-align: left;
    padding: 0 1rem;
  }

  .menu-item {
    position: relative; 
  }
  
  .menu-list a {
    width: auto;
    display: inline-block;
    background: none; 
    border: none; 
    text-align: left;
    position: relative;
    margin: 0;
    padding: 0;
  }

  .menu-close {
    display: none; 
  }

  .menu-close.show {
    display: none; 
  }

  .grid-section {
    grid-template-columns: repeat(8, 1fr); 
    padding: 0;
  }

  .grid-section .section-content {
    grid-column: 2 / 8;
    padding: 1rem 2rem; 
  }

  .people {
    grid-template-columns: repeat(3, 1fr);
  }

  .vcard-download {
    display: none;
  }


  .logo {
    height: 6rem; 
  }


  .filter {
    margin-top: 0;
    gap: 1rem; 
  }

    
  .footer {
    flex-direction: row;
    justify-content: space-between; 
  }

  .footer nav {
    flex-direction: row;
    gap: 3rem;
  }

  .footer p {
    padding-top: 0;
  }

  #Leistungen .main-text {
    width: 40%;
    margin-top: 4rem;
  }

  #Leistungen .grid-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
  }
  #Produktion .main-text {
    width: 40%;
  }

  #Kontakt .main-text {
    width: 50%; 
  }
  .contact-column{
    max-width: 50%;
  }

  #Kontakt .column-container{
    flex-direction: row;
    align-items: center; 
    justify-content: center;
  }


  #Kontakt .main-text .button{
    display: none;
  }

  #Kontakt {
    position: relative;
    flex-direction: column;
    min-height: 70vh;
  }

  
  .background-container {
    transform: translateY(-50%);
    width: 50%; 
    height: 100%;
    top: 50%;
  }
  
  .background-container svg {
    width: 70%;
    height: auto;
  }
  
}

@media screen and (min-width: 1600px) {

  .filter {
    justify-content: left;
  }

  .grid-section .section-content {
    padding: 1rem 2rem; 
  }

  .projects {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 1rem;
  }

  .people {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .header .logo{
    height: 6rem; 
  }

  .header.shrunk .logo {
    height: 4rem; 
  }

 .quote-wrapper {
    min-height: 20vh;         
  }

    #intro {
    padding-top: 4rem;
  }


}

@media screen and (min-width: 1760px) {
  .header .logo{
    height: 8rem; 
  }

  .header.shrunk .logo {
    height: 6rem; 
  }


    #Kontakt {
    min-height: 60vh;
  }

  .grid-section {
    padding: 3rem 8rem; 
  }

  .grid-section blockquote {
    padding: 4rem 2rem;
    margin: 0; 
  }

  .quote-wrapper {
    margin-bottom: 4rem;
    padding: 4rem 0;
  }

  /* quote block */
  .quote-container {
    padding: 4rem 0rem 4rem;
    margin-bottom: 6rem;
  }

  .main {
    padding: 0 0 8rem 0;
    margin: 0 0 5rem 0;
  }

}

@media screen and (min-width: 2500px) {

  html {
      font-size: 120%; 
  } 
}