body {
  box-sizing: border-box;
  margin: 0;
  overflow-x: hidden;
  word-wrap: break-word;	
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
  /* display: block; */
}

a {text-decoration: none;}

h2 {
	text-align: center;
	font-size: 42px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: underline solid #e67e22;
	line-height: 1;
}
#contact {
	background-color: rgba(236,102,8,0.2);	
}
#location {
	background-color: #efefef;	
}
#services {
	background-image: url("img/office_sketch_bg_1.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;	
}

#gallery {
  width: 100%;
  background: #efefef;
  padding: 10px 0;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb();
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
 /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
  z-index: 1000;
}
.logo {
  font-size: 1.5em;
  max-width: 70%;
  margin-top: -20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.burger {
  font-size: 1.8em;
  cursor: pointer;
  z-index: 2001;
  position: relative;
  margin-right: 5px;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2em;
  cursor: pointer;
  color: white;
}
.close-btn:hover {
  color: rgb(236, 102, 8);
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  position: absolute;
  top: 0;
  width: 100%;
  box-sizing: border-box;
}
.nav-icon {
  height: 100px;
  width: auto;
  margin-right: 10px;
  padding-left: 25px;

}
.nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #333;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 130px;
  transition: right 0.3s ease;
  z-index: 2000;
}
.nav.active {
  right: 0;
}
.nav a {
  color: white;
  padding: 15px 15px 15px 35px;
  text-decoration: none;
}
.nav a:hover {
  color: rgb(236, 102, 8);
}
.hero {
  height: 45vh;
  background: url('img/desk_hero.png') center/cover no-repeat;
/* background: #cf5600;
  background: linear-gradient(180deg,rgba(236, 102, 8, 1) 25%, rgba(255, 255, 255, 1) 100%); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero p {
  color: #222;
  font-weight: 600;
  font-size: small;
  background-color: #e67e22;
  border-radius: 7px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.hero p:hover {
	color: #707070;
	background-color: #efefef;
}

/* Liste arrow */
li.arrow {
	list-style: none;
	list-style-image: url("img/arrow.svg");
	padding: 0px 0px 40px 30px;
	background-repeat: no-repeat;
    background-position: left top;
	font-family: sans-serif;
	font-size: 20px;
	font-weight: 500;
  }

.section {
  padding: 25px 40px;
  scroll-margin-top: 0px; /* Abstand Anker zu Header */
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.wide-img {
  position: relative;
  height: 500px;
  background: url('img/IMG_5246.jpg') center/cover no-repeat;
  color: #fff;
}
.wide-img p {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.6em;
}
.block {
  flex: 1 1 300px; /* Mindestbreite, dann umbrechen */
  margin: 10px;
 /* background: #f4f4f4; */
  padding: 20px;
  box-sizing: border-box;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
}

.scroll-container img {
  height: 466px; /* feste Höhe, passt sich proportional an */
  flex-shrink: 0; /* verhindert, dass Bilder zusammengequetscht werden */
  border-radius: 5px;
  object-fit: cover;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: white;
  text-align: center;
  padding: 40px 20px;
}
.footer-links a {
  color: #e67e22;
  margin: 0 10px;
  text-decoration: none;
}
.impress {
  padding: 150px;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .section {
    padding: 60px 20px;	
}
  iframe {
    width: 270px;
    height: 270px;
  }
}

@media (max-width: 768px) {
  .scroll-container {
    gap: 5px;
  }
  .scroll-container img {
    height: 220px;
   
  }
}

/*  COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ccc;
  padding: 20px;
  border-top: 1px solid #ddd;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  z-index: 9999;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0 0 12px 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hauptbutton */
.btn-primary {
  background-color: #ec6608;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #c55200;
}

/* Zweitbutton */
.btn-secondary {
  background-color: #f2f2f2;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #e6e6e6;
}

/* Maps Placeholder */
.maps-placeholder {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1; 
  background: #eaeaea;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.maps-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,0.03) 25%, transparent 25%);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Overlay mit Button */
.maps-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
}

.maps-overlay p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

/* Kleiner Button */
.maps-overlay button {
  background-color: #ec6608;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
}

.maps-overlay button:hover {
  background-color: #c55200;
}