html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* Header */
.site-header {
    background: #000000;
    padding: 26px 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-logo img {
    width: 180px;
    max-width: 100%;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 18px;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: #A7CDAB;
}

/* Hero */
.hero {
    background: #000000;
    padding: 40px 0 50px;
}

.hero-inner h1 {
    margin: 0 0 50px;
    text-align: center;
    font-size: clamp(32px, 4.3vw, 56px);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
	padding: 60px 0px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 560px;
}

.hero-text ul {
    margin: 0;
    padding-left: 24px;
}

.hero-text li {
    font-size: clamp(18px, 2vw, 28px);
    margin-bottom: 10px;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.scroll-arrow span {
    width: 28px;
    height: 28px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
    transition: border-color 0.25s ease;
}

.scroll-arrow:hover span {
    border-color: #A7CDAB;
}

/* Notice */
.notice {
    background: #ffffff;
    color: #000000;
    padding: 70px 0;
    text-align: center;
}

.notice p {
    margin: 0;
    font-size: clamp(20px, 2vw, 30px);
}

/* Musterhaus */
.sample-house {
    background: #A7CDAB;
    color: #000000;
    padding: 130px 0;
}

.sample-house-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.sample-left h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.18;
}

.sample-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-icon {
    width: 110px;
    /*height: 74px;*/
    position: relative;
}

.location-icon .pin {
    display: block;
    width: 74px;
    height: 74px;
    border: 4px solid #000000;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
	background: #000;
}

.location-icon .pin::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border: 4px solid #000000;
    border-radius: 50%;
    top: 18px;
    left: 17px;
	background: #A7CDAB;
}



.sample-right p {
    margin: 0 0 18px;
    font-size: clamp(19px, 1.8vw, 29px);
    line-height: 1.4;
}

.sample-right p:last-child {
    margin-bottom: 0;
}

/* Contact */
.contact-section {
    background: #fff;
    color: #000000;
    padding: 80px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-title h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 54px);
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label,
.form-checkbox label {
    font-size: 17px;
}

.form-group label{
    display: none;
}
.form-checkbox label{
	display: inline !important;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    padding: 14px 16px;
    font-size: 17px;
    font-family: Arial, sans-serif;
    transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A7CDAB;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.form-checkbox input {
    margin-top: 4px;
    accent-color: #A7CDAB;
}

.form-checkbox a {
    text-decoration: underline;
}

.btn-submit {
    align-self: flex-end;
    margin-top: 10px;
    padding: 14px 34px;
    border: 2px solid #000000;
    background: #000000;
    color: #ffffff;
    font-size: 17px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-submit:hover {
    background: #A7CDAB;
    color: #000000;
}

/* Footer */
.site-footer {
    background: #000000;
    color: #ffffff;
    padding: 70px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-address {
    justify-self: start;
}

.footer-address p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.footer-logo {
    justify-self: center;
}

.footer-logo img {
    width: 220px;
}

.footer-links {
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-links a {
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #A7CDAB;
}

/* Popup */
.popup {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 360px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.popup--success {
    background: #A7CDAB;
    color: #000000;
}

.popup--error {
    background: #1f1f1f;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.popup.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid,
    .contact-inner,
    .sample-house-inner,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 35px;
    }

    .sample-house-inner,
    .contact-inner,
    .footer-inner {
        gap: 30px;
    }

    .sample-center,
    .footer-logo,
    .footer-links,
    .footer-address {
        justify-self: start;
    }

    .footer-links {
        text-align: left;
    }

    .hero-text li,
    .sample-right p {
        font-size: 22px;
    }
}

@media (max-width: 700px) {

    .container {
        width: calc(100% - 32px);
    }

    /* HEADER */
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-logo img {
        margin: 0 auto;
    }

    .main-nav ul {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 20px;
	}

    /* HERO */
    .hero-inner h1 {
        text-align: center;
    }

    .hero-grid {
        text-align: center;
    }

    .hero-text ul {
		padding-left: 20px;
		list-style: disc;
		text-align: left;
		display: inline-block;
	}

    /* MUSTERHAUS */
    .sample-house-inner {
        text-align: center;
    }

    .sample-left,
    .sample-center,
    .sample-right {
        justify-self: center;
        text-align: center;
    }
	
	.location-icon{
		width: auto;
	}

    /* KONTAKT */
    .contact-inner {
        text-align: center;
    }

    .contact-title {
        display: block;
        text-align: center;
    }

    .contact-form {
        align-items: center;
    }

    .form-group {
        width: 100%;
        max-width: 400px;
    }

    .form-checkbox {
        justify-content: center;
        text-align: left;
        max-width: 400px;
    }

    .btn-submit {
        margin: 20px auto 0;
    }

    /* FOOTER */
    .footer-inner {
        text-align: center;
    }

    .footer-address,
    .footer-logo,
    .footer-links {
        justify-self: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}


.legal-page {
    background: #ffffff;
    color: #000000;
    padding: 80px 0;
}

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 26px;
    margin-top: 40px;
}

.legal-page h3 {
    font-size: 20px;
    margin-top: 30px;
}

.legal-page p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.legal-page a {
    color: #000000;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .legal-page {
        padding: 50px 20px;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-page h2 {
        font-size: 22px;
    }

    .legal-page h3 {
        font-size: 18px;
    }

    .legal-page p {
        font-size: 16px;
    }
}