:root {
    --HERZweiss: #F3EBD7;
    --HERZrot: #C1504B;
    --HERZblau: #0B2046;
    --HERZgrau: #323D4A;
	--HERZschwarz: #03070D;

	/* Spacing-Skala */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;

	/* Radien & Schatten */
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 24px;
	--radius-pill: 999px;
	--shadow-sm: 0 2px 8px rgba(3, 7, 13, 0.08);
	--shadow-md: 0 12px 32px rgba(3, 7, 13, 0.16);

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--container: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--HERZgrau);
	background: var(--HERZgrau);
    line-height: 1.6;
	max-width: 100vw;
    overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3 {
	line-height: 1.15;
	text-wrap: balance;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--HERZrot);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--space-5);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    background: var(--HERZweiss);
}

header .logo img {
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

		header a {
			text-decoration: none;
		}

header nav ul li a {
    text-decoration: none;
    color: var(--HERZgrau);
    font-weight: bold;
}

.cta-buttons a {
    margin-left: 10px;
    padding: 10px 20px;
    background: var(--HERZrot);
    color: var(--HERZweiss);
    text-decoration: none;
    border-radius: 5px;
	cursor: pointer;
}


.hero {
    position: relative;
    background: url('img/Bild-10.jpeg') no-repeat center center/cover; /* img/foto-pylonbruecke.jpg flyer-hochhaus.png*/
	background-color: var(--HERZweiss);
    min-height: min(80vh, 720px);
    color: var(--HERZweiss);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-8) var(--space-5);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 13, 0.55) 0%, rgba(3, 7, 13, 0.35) 45%, rgba(3, 7, 13, 0.72) 100%);
}

.hero-content {
    position: relative;
    max-width: 46rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.hero h1 {
    font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    max-width: 42rem;
    color: rgba(243, 235, 215, 0.92);
}
		.hero a {
    color: var(--HERZweiss);
		font-weight: bold;

}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.85em 1.6em;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.hero-actions .btn-primary {
    background: var(--HERZrot);
    color: var(--HERZweiss);
    box-shadow: var(--shadow-sm);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-actions .btn-secondary {
    background: rgba(243, 235, 215, 0.1);
    color: var(--HERZweiss);
    border: 1px solid rgba(243, 235, 215, 0.55);
    backdrop-filter: blur(6px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(243, 235, 215, 0.18);
    transform: translateY(-2px);
}

.hero-note {
    font-size: 0.95rem;
    color: rgba(243, 235, 215, 0.75);
}

.impressum {
    color: #f9f9f9;
    margin: 70px;
}

.why-herzblut {
    padding: 50px;
    background: #f9f9f9;
    text-align: center;
}

.why-herzblut .features {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.projects {
    padding: 50px;
    text-align: center;
}

.projects .project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

footer {
    background: var(--HERZschwarz);
    color: white;
    padding: var(--space-8) var(--space-5) var(--space-6);
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.newsletter {
    max-width: 30rem;
    margin: var(--space-5) auto 0;
}

.newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-3);
}

.newsletter form {
    display: flex;
    gap: var(--space-2);
    background: rgba(243, 235, 215, 0.06);
    border: 1px solid rgba(243, 235, 215, 0.18);
    border-radius: var(--radius-pill);
    padding: var(--space-1);
}

.newsletter input {
    flex: 1;
    padding: 0.7em 1.1em;
    margin-right: 0;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--HERZweiss);
    font-family: inherit;
}

.newsletter input::placeholder {
    color: rgba(243, 235, 215, 0.6);
}

.newsletter input:focus-visible {
    outline: none;
}

		.herzb {
			color: var(--HERZblau);
		}
		.lu {
			color: var(--HERZrot);
		}
		.gemein {
			color: var(--HERZrot);
		}

.newsletter button {
    padding: 0.7em 1.4em;
    background: var(--HERZrot);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s var(--ease);
    white-space: nowrap;
}

.newsletter button:hover {
    transform: translateY(-1px);
}

/* ----------- About Page Styles ----------- */

.about-hero {
    background-color: var(--HERZweiss);
    color: var(--HERZgrau);
    padding: 80px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--HERZblau);
    font-weight: 700;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-main {
    background-color: var(--HERZweiss);
    color: var(--HERZgrau);
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--HERZrot);
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--HERZgrau);
}

/* Optional: Links im Content */
.about-section a {
    color: var(--HERZblau);
    font-weight: bold;
    text-decoration: none;
}

.about-section a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-section h2 {
        font-size: 1.6rem;
    }

	.why-herzblut .features {
        flex-direction: column;  
        align-items: center;     
    }

    .why-herzblut .features .feature {
        margin-bottom: 20px;  
    }
	
    header nav ul {
        flex-direction: column; 
        align-items: center;    
    }

    header nav ul li {
        margin-left: 0;         
        margin-bottom: 10px;   
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;  
        margin-top: 10px;
    }

    .cta-buttons a {
        margin-left: 0;        
        margin-bottom: 10px;   
        width: 100%;          
        text-align: center;     
    }
}

.steckbrief-container {
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.steckbrief-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.steckbrief-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    text-shadow: 0 0 5px black;
}

.steckbrief-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.steckbrief-overlay .zitat {
    font-size: 1.2rem;
    font-style: italic;
}

.steckbrief-info-kachel {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.steckbrief-antworten {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.antwort-kachel {
    flex: 1 1 45%;
    background: #ffe5e5;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
}

.antwort-kachel.left-icon .antwort-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.antwort-kachel.right-icon .antwort-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.antwort-icon {
    height: 40px;
    width: 40px;
    background: white;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid #ff6b6b;
}

.steckbrief-footer-call {
    background: #ffefef;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 4rem 0;
}

.btn-call {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .steckbrief-antworten {
        flex-direction: column;
    }

    .antwort-kachel {
        flex: 1 1 100%;
    }
}

.formular-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff7f7;
    border-radius: 20px;
}

.formular-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.formular-container label {
    display: block;
    margin-bottom: 1rem;
}

.formular-container input,
.formular-container textarea,
.formular-container select {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 0.25rem;
}

.success-message {
    background: #d4edda;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}


@media (max-width: 768px) {
    .antwort-icon {
        height: 30px;
        width: 30px;
    }
}


@media (max-width: 768px) {
    .antwort-kachel.left-icon,
    .antwort-kachel.right-icon {
        padding-left: 60px;
        padding-right: 60px;
    }

    .antwort-icon {
        height: 30px;
        width: 30px;
        top: 1rem;
        transform: none;
    }

    .antwort-kachel {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
