/*  <uniquifier>: Use a unique and descriptive class name
    <weight>: Use a value from 100 to 900 */

html {
	scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   font-family: "Raleway", sans-serif;
    line-height: 1.3;
    color: #333;
	
}

header {    
    color: white;   
    text-align: center;
	background-color: #058bb5;
	height: 80px;
	position: fixed;
	width: 100%;
	z-index: 1000000;
	vertical-align: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;	
}

nav {
	vertical-align: center;
	padding-top: 30px;
}
	

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;	
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;	
}

nav ul li a:hover {   
    text-decoration: underline;    
}

.sub_heading {
	font-size: 20px;
}

h2.subheader {
	display:inline-block;
	letter-spacing: 3px;
	border: 2px dashed #fa744a;
	color: #fa744a;
	padding: 12px 25px;
	margin-bottom: 50px;
}


h2.subheader.units {
	background-color: white;
	margin-bottom: 0px;
}

.hero {
    background-size: cover;
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.btn-highlight {
	border: solid white 1px;
	margin-top: 35px;
	background-color: #fa744a;
	padding: 13px;
	color: white;
	text-decoration: none;
	font-weight: bold;	
	font-size: 1.2rem;
}

.btn-highlight:hover {	
	background-color: #058bb5;	
}

.hero h1 {
    font-size: 48px;
}

.header_info {
	margin-top: -550px;
	width: 100%;
	padding: 8%;	
	background: white !important;
	opacity: 0.85;	
	color: #058bb5;
}

.image_header {
	width: 100%;	
} 

.image_header .header-image {
	width: 100%;
	object-fit: cover;
	height: 700px; 
}

.header-image {
	margin-top: 80px;
}

.lageplan_image {
	width: 100%;
	object-fit: contain;
}

.location {
	text-align: center;
	margin-bottom: 50px;
	padding: 0;
	width: 100%; 
}

.project-details, .contact {
    padding: 50px;
    text-align: center;
}

.intro {
	width: 100%;
	text-align: justify;	
	font-size: 1.4em;
	padding: 80px 25% 30px 25%;	
}

footer {
    background-color: #058bb5;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.contact {
	font-size: 1.2rem;
}

a.anfrage {
	display:inline-block;
	background-color: #fa744a;
	color: white;
	padding: 10px;
	text-decoration: none;
	text-align: center;
	font-size: 1.2rem;
}

a.anfrage:hover {
	background-color: #058bb5;
}

a.anfrage.unit {	
	padding: 6px;	
	padding: 6px;	
	font-size: 1.0rem;
}

img.stempel {
	max-width: 100px;
	margin-bottom: 15px;	
}

img.logo {
	max-width: 60px;
	margin-top: -20px;
}





.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.highlight-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 15px;
    width: calc(33.333% - 40px); /* 3 Boxen pro Reihe mit Abstand */
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.highlight-box:hover {
    transform: scale(1.05);
}

.container .icon {   
    margin-bottom: 10px;
	color: #058bb5;
}

.container h3 {
    font-size: 1.3rem;
	font-weight: 500;
    margin-top: 10px;	
}

.container p {
    font-size: 0.5rem;
    color: #666;
}

 .contact {   
    text-align: center;
	margin-bottom: 50px;
}



/* TABLE UNITS ***************************************************/

.units-section {
	width: 100%;
	text-align: center;
	background-color: #ADD8E6;
	padding: 50px 0 50px 0;
}

.table-container {
    width: 100%;
    max-width: 1350px;
    margin: 20px auto;
    overflow-x: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
	border: none;
	border-style: none;
	
}

thead {
    background-color: #f0f0f0;
}

th, td {
    padding: 12px 15px;
   
}

.table-container th {
	text-align: center;
}

th {
   background-color: #058bb5;
    font-weight: bold;
	color: white
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

a.link_plan {
	color: #fa744a;
	text-decoration: none;
}

a.link_plan:hover {
	color:  #058bb5;	
}

td {
    font-size: 1rem;
}

td:nth-child(12) {
    font-weight: bold;
}

td:[data-content="free"] {
    font-color: green !important;
}

td:contains("Reserviert") {
    color: orange;
}

td:contains("Verkauft") {
    color: red;
}


/* GALLERIE ************************************************* */

.gallery {
	margin: 70px 0 50px 0;
	width: 100%;
	text-align: center;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    max-width: 1750px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1 1 calc(49% - 20px);
    max-width: calc(49% - 20px);
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

a.footer {
	text-decoration: none;
	color: white;
}

a.footer:hover {
	color: #fa744a;
}


	









/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .highlight-box {
        width: calc(50% - 40px); /* 2 Boxen pro Reihe */
    }
	
	.table-container {  		
		width: 98%;
		border-radius: 0px;  
	}	
	
	 .gallery-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .highlight-box {
        width: 100%; /* 1 Box pro Reihe */
    }
	
	.container {		
		padding: 5px;
	}		
	
	img.logo {
		max-width: 55px;
		margin-top: -20px;
	}
	
	.project-details, .contact {
		padding: 15px;		
	}
	
	.intro {		
		padding: 80px 8% 65px 8%;	
		font-size: 1.2em;
	}
}

@media (max-width: 500px) {    
		
	a.anfrage.mail, a.anfrage.homepage, a.anfrage.call {
		display:block;		
	}
	
	a.anfrage.mail, a.anfrage.call {		
		margin-top: 20px;	
	}
	
	a.anfrage.homepage {		
		margin-bottom: -50px;	
	}
	
	nav ul li a {	
		font-size: 16px;	
	}
	
	nav ul li {
		margin: 0 7px;
	}
}




