@charset "UTF-8";


html,
body {
  margin: 0;
  min-height: 100%;
  background: rgb(0, 0, 0);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../bilder/compass-free.png") center top no-repeat;
  background-position: center 100px;
  background-size: clamp(1200px, 120%, 2000px);
  z-index: 0;
  pointer-events: none;
}

header,
body,
main,
footer {
  position: relative;
}

main {
  z-index: 2;
}

footer {
  margin-top: 50px;
  padding-bottom: 60px;
}


.top-picture {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  aspect-ratio: 4/1;
  position: relative;
  overflow: hidden;
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ersetzt background-size: cover */
  display: block;
}


.logo-urbangrafix {
  position: absolute;
  top: 20px;
  right: -40px;
  width: clamp(100px, 20vw, 30%);
}

.logo-urbangrafix img {
  width: 80%;
  height: auto;
  display: block;
}

h1 {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: -50px;
  margin-bottom: 15px;
  font-weight: lighter;
  font-size: 100px;
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 8rem);
  line-height: clamp(2.5rem, 5vw, 8rem);

  color: rgb(59, 176, 100);
}

h2 {
  margin-left: 5px;
  font-weight: lighter;
  color: rgb(255, 255, 255);
  text-align: flex-start;
  font-size: clamp(1.1rem, 2.3vw, 3.5rem);
}

h3 {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 40px;
  font-weight: lighter;
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 3.5rem);
}

h4 {
  margin-left: 40px;
  margin-right: 40px;
  color: rgb(255, 254, 254);
  padding-right: 50px;
  font-weight: lighter;
    text-align: center;

  font-size: clamp(1.0rem, 1.5vw, 2.3rem);
  line-height: clamp(1.2rem, 2.2vw, 4.3rem);
}

p {
  margin-left: 5px;
  margin-right: 70px;
  color: rgb(255, 254, 254);
  padding-right: 50px;
  font-weight: lighter;
  font-size: clamp(1.0rem, 1.3vw, 2.0rem);
  line-height: clamp(1.3rem, 1.9vw, 3.9rem);
}


/* Burger-Menu */
.menu-checkbox {
  display: none;
}

/* Toggle (3 Striche / X) */
.menu-toggle {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
}

/* Striche */
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 2px;
}

/* Striche normal */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* X Animation */
/* X beim Öffnen */
.menu-checkbox:checked+.menu-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(2) {
  opacity: 0;
}


/* Menü selbst */
.burger-menu {
  position: absolute;
  top: 60px;
  left: 0;
  /* gleiche X-Position */
  width: 185px;
  background: rgba(18, 19, 19, 0.5);
  display: flex;
  flex-direction: column;
  padding: 0px 0;
  border-radius: 0 0 5px 5px;
  z-index: 1050;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Links */
.burger-menu a {
  margin-left: 20px;
  padding: 10px;
  margin-bottom: 2px;
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
}

/* Aufklappen */
.menu-checkbox:checked~.burger-menu {
  max-height: 550px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-buttons {
    display: none;
  }
}




.portfolio-box-zero-zero,
.portfolio-box-zero,
.portfolio-box-one,
.portfolio-box-two,
.portfolio-box-three,
.portfolio-box-five {
  margin-top: 80px;
  margin-left: 40px;
  margin-right: 40px;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  padding-top: 0px;
  /* border: 2px solid rgb(10, 145, 190); */
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}


.ayinger,
.wiedemann,
.tolino,
.pfleiderer,
.food-pilots,
.schick {
  margin-top: 0px;
  margin-bottom: 35px;
  position: relative;
  border: 2px solid transparent;
  border-radius: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;

  border-image: linear-gradient(to bottom,
      rgb(10, 145, 190),
      black);
  border-image-slice: 1;
}

.weltbild,
.orbisana,
.westfalia,
.poetschke,
.reiter,
.brotmacher,
.logo,
.verschiedene {
  margin-top: 0px;
  margin-bottom: 35px;
  position: relative;
  border: 2px solid transparent;
  border-radius: 10px;
  flex: 0 0 calc(50% - 25px);
  display: flex;
  flex-direction: column;

  border-image: linear-gradient(to bottom,
      rgb(10, 145, 190),
      black);
  border-image-slice: 1;
}


.ayinger img,
.tolino img,
.wiedemann img,
.pfleiderer img,
.food-pilots img,
.weltbild img,
.orbisana img,
.westfalia img,
.poetschke img, 
.schick img,
.reiter img,
.logo img,
.verschiedene img,
.brotmacher img {
  width: 100%;
}


/* =========================
   TICKER
========================= */
.newsticker-subline {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin: 10px auto;
  margin-bottom: 80px;
  color: white;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
}

/* =========================
   SUBLINE-TICKER
========================= */

.ticker-sub {
  animation: ticker-loop-sub 180s linear infinite;
  /* kürzere Dauer = schneller */
}

.ticker-sub span {
  margin-top: 10px;
  color: rgb(198, 192, 192);
  font-size: clamp(1.5rem, 3vw, 6rem);
  font-weight: 300;
  margin-right: 50px;
  opacity: 0.85;
}

@keyframes ticker-loop-sub {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}






.info-btn {
  width: 95px;
  position: absolute;
  bottom: -20px;
  right: -10px;

  padding: 6px 14px;
  font-size: 0.9rem;

  background-color: rgb(116, 160, 132);
  color: white;
  border-radius: 5px;
  border: 2px solid rgb(3, 92, 17);
  z-index: 1001;
}

.info-btn:hover {
  background-color: #3bb064 !important;
  /* gleiche Farbe */
  border-color: rgb(3, 92, 17) !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.info-btn-menue a {
  display: block;
  padding-top: -20px;
  color: white;
  text-decoration: none;
}

.info-text {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 5px;
}

.close-btn {
  display: block;
  margin-top: 10px;
}

.close-btn {
  display: inline-block;
}

/* BUTTONS */
.button,
.contact-form button {
  display: flex;
  align-self: center;
  padding: 10px 10px;
  font-size: 18px;
  background: #3bb064;
  color: white;
  border: 2px solid rgb(3, 92, 17);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 200px;
  align-self: flex-start;
}

.button:hover,
.contact-form button:hover,
.footer-button:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

/* FOOTER */
footer {
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;

  flex: 1;
  min-width: 130px;
  max-width: 140px;
  background: #3bb064;
  color: white;
  border: 2px solid rgb(3, 92, 17);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-btn.btn-primary {
  background-color: #3bb064 !important;
  border-color: rgb(3, 92, 17) !important;
  color: white !important;
}

.info-btn.btn-secondary {
  background-color: #3bb064 !important;
  border-color: rgb(3, 92, 17) !important;
  color: white !important;
}

.footer-buttons {
  display: flex;
  gap: 20px;
  width: min(300px, 90%);
  margin: 0 auto;
  justify-content: center;
}

.footer-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}







/* =========================
   MODALS / LIGHTBOX
========================= */




/* Bild / Inhalt innerhalb Modal */
.lightbox-full {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

/* Open-Button standardmäßig sichtbar */
.btn-open {
  display: inline-block;
  cursor: pointer;
}

/* Modal Close Button (X) */
.modal .btn-close {
  position: absolute;
  top: 15px;
  right: 30px;
  /* weiter nach links */
  transform: scale(1.8);
  /* macht das X größer */
  z-index: 3000;
  filter: inonenvert(1);
}

/* X Button Hover */
.modal .btn-close:hover {
  color: #3bb064;
  transform: scale(1.1);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Optional: Collapse Buttons */
.collapse.show .btn-close {
  display: inline-block;
  /* sichtbar innerhalb Collapse */
}

/* Open-Button ausblenden, wenn Collapse geöffnet */
.btn-open[aria-expanded="true"] {
  display: none;
}

.modal-backdrop.show {
  background-color: rgb(246, 241, 241);
  opacity: 1;
}

/* Hintergrund hinter dem Modal */
.modal-backdrop.show {
  background-color: rgb(17, 17, 17);
  opacity: 1;
}

/* Modal selbst */
.modal {
  background-color: white;
}

/* Modal-Inhalt */
.modal-content {
  background-color: transparent;
  border: none;
  box-shadow: none;
}




/* =========================
   MEDIA QUERIES KOMPLETT
========================= */

/* DESKTOP LARGE (ab 1400px) */
@media (min-width: 1400px) {

  header,
  main,
  footer {
    margin: 0 auto;
    max-width: 2000px;
  }
}

/* DESKTOP / TABLET LARGE (bis 1200px) */
@media (max-width: 1200px) {
  body {
    background-size: clamp(800px, 140%, 1400px) auto;
  }

  .logo-urbangrafix {
    width: clamp(80px, 18%, 200px);
    top: 6%;
    right: 1%;
  }

  .card {
    width: clamp(140px, 30vw, 220px);
    height: clamp(140px, 30vw, 220px);
  }
}

/* TABLET / SMALL (bis 992px) */
@media (max-width: 992px) {

  .cards {
    justify-content: center;
  }

  .card {
    width: clamp(160px, 40vw, 250px);
    height: clamp(160px, 40vw, 250px);
  }

  .info-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .portfolio-box-start,
  .portfolio-box,
  .portfolio-box-zero,
  .portfolio-box-two,
  .portfolio-box-three,
  .portfolio-box-five {
    margin-top: 10px;
    border-width: 1px;
  }

  p {
    margin-right: 10px;
  }

  .button-menue {
    width: 120px;
    height: 32px;
    font-size: 0.7rem;
    padding: 2px 5px;
    background-color: #3bb064;
    /* grün */
    margin-top: -20px;
  }

  .newsticker-subline {
    margin-bottom: 20px;
  }

  .top-picture {
    background-size: contain;
    background-position: center;
  }
}

/* =========================
   MOBILE FIX FÜR DREIERGRUPPEN
========================= */
@media (max-width: 768px) {

  /* Obere Dreiergruppe: pfleiderer, wiedemann, tolino */
  .portfolio-box-zero-zero .pfleiderer,
  .portfolio-box-zero-zero .wiedemann,
  .portfolio-box-zero-zero .tolino {
    flex: 1 1 calc(100% - 20px);
    /* kleine Korrektur für gap */
    min-width: 0;
    /* verhindert Overflow */
  }

  .portfolio-box-zero-zero>div,
  .portfolio-box-zero>div {
    flex: 1 1 calc(100% - 20px);
    /* kleine Korrektur für gap */
  }


  /* Dreiergruppe: schick + 2x ayinger */
  .portfolio-box-zero .schick,
  .portfolio-box-zero .ayinger {
    flex: 1 1 100%;
    /* volle Breite mobil */
    min-width: 0;
  }

  /* Optional: andere Gruppen mit drei Kindern */
  .portfolio-box-one .weltbild,
  .portfolio-box-one .orbisana,
  .portfolio-box-one .westfalia,
  .portfolio-box-one .poetschke,
  .portfolio-box-two .brotmacher,
  .portfolio-box-two .reiter,
  .portfolio-box-three .logo,
  .portfolio-box-three .verschiedene {
    flex: 1 1 100%;
    min-width: 0;
  }

 

}




/* RESPONSIVE GRID (ab 600px) */
@media (min-width: 600px) {
  .angebot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* RESPONSIVE GRID (ab 1200px) */
@media (min-width: 1200px) {
  .angebot-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Mobile-Anpassung: keine Vergrößerung */
@media (max-width: 600px) {

  .footer-button,
  .contact-form button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .footer-button {
    min-width: 105px;
    max-width: 140px;
  }


  .footer-buttons {
    min-width: 0px;
    gap: 8px;
  }

  h4 {
    padding-left: 30px;
    padding-right: 30px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Große Bildschirme über 2000px */
@media (min-width: 1200px) {

  header,
  main,
  footer {
    max-width: 1400px;
    margin: 0 auto;
  }
}

@media (min-width: 1600px) {

  header,
  main,
  footer {
    max-width: 2000px;
  }
}