/* START OF FILE style.css */

/* --- Global Styles & Variables --- */
:root {
    /* Core Colors (Adjust as needed) */
    --primary-color: #F1B24B; /* Honigbart Gold */
    --secondary-color: #AD504E; /* Honigbart Red */
    --accent-color: #F59E0B; /* Lighter Gold/Orange */
    --dark-color: #222; /* Dark Text / Elements */
    --medium-color: #555; /* Medium Text */
    --light-color: #f9f9f9; /* Light Backgrounds */
    --white-color: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-strong: rgba(0, 0, 0, 0.4);

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Sarala', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --gutter: 1rem; /* 16px */
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* --- Font Imports --- */
@font-face {
    font-family: 'Sarala';
    src: url('fonts/Sarala-Regular.ttf') format('truetype');
    font-weight: normal; /* 400 */
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal; /* 400 */
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: bold; /* 700 */
    font-style: normal;
}

/* Add other weights/styles of Poppins if needed */

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%; /* 16px */
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on final sticky header height */
}

body {
    font-family: var(--font-secondary); /* Default to Sarala */
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.no-scroll {
    overflow-y: hidden;
}

main {
    flex: 1; /* Ensure footer sticks to bottom */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary); /* Headings use Poppins */
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.0rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
    /* text-decoration: underline; */ /* Optional */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--gutter) * 1.5);
    padding-right: calc(var(--gutter) * 1.5);
    width: 100%;
}

/* --- Site Header (Standard) --- */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px var(--shadow-light);
    z-index: 1000;
    transition: background 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: normal;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.site-header .logo a {
    display: flex; /* Make logo clickable */
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.site-header .logo img {
    height: 4.5rem; /* Adjusted size */
    padding: 0.5rem 0;
}

.site-header .logo p {
    margin-bottom: 0; /* Reset p margin */
    margin-left: 0.5rem;
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-primary);
    font-weight: normal;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* --- Index Page: Hero Section --- */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden; /* Verhindert Scrollbalken durch das rotierende Logo */
    background-color: var(--white-color);
    /* Flexbox-Zentrierung als Standard (gut für Mobile) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem; /* Fügt etwas Abstand zu den Rändern hinzu, wichtig für Mobile */
}

#center-logo-container { /* Renamed for clarity */
    position: absolute;
    max-width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%; /* Large container for spinning logo */
    text-align: center;
}

#the-center-logo {
    filter: drop-shadow(0 0px 18px rgba(209, 142, 35, 0.1)); /* Adjusted shadow */
    transform-origin: center center;
    height: auto;
    opacity: 1;
    position: relative;
    transition: opacity 0.5s ease, transform 1s cubic-bezier(0.15, 0.3, 0.3, 1);
    animation: spin 120s linear infinite;
    animation-timing-function: ease-in-out;
    will-change: transform;
    z-index: 0; /* Behind overlay */
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hero-overlay-content {
    /* Standard-Positionierung (relative oder static) */
    position: relative; /* Wichtig, damit z-index funktioniert */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Zentriert Inhalt innerhalb des Overlays */
    color: var(--dark-color);
    z-index: 10; /* Über dem rotierenden Logo */
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(1, 0, 1, 1);
    width: 95%; /* Etwas breiter auf Mobile */
    max-width: 700px; /* Maximalbreite für Desktop */
    text-align: center;
    padding: 1rem 0; /* Vertikaler Abstand innen */
}

.hero-overlay-content.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-overlay-content h1 {
    font-size: clamp(2rem, 6vw, 3rem); /* Responsive */
    color: var(--dark-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 1rem;
    letter-spacing: 0.2rem;
    line-height: 1.2;
}

.hero-overlay-content .sub-headline { /* Added class */
    color: var(--dark-color);
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin: 0;
    padding-top: 1em;
    font-family: var(--font-primary);
}

#small-logo {
    width: clamp(80px, 20vw, 150px); /* Responsive */
    margin-bottom: 1rem;
}

.hero-button-container { /* Renamed */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5em 0;
    gap: 1em;
}

/* Honeycomb Button (Simplified) */
.honeycomb-button {
    display: inline-block;
    min-width: 160px; /* Ensure minimum size */
    padding: 0 1.5em; /* Use padding instead of fixed width */
    height: 60px; /* Adjusted height */
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
    line-height: 60px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 6px 2px var(--shadow-light);
    border-radius: var(--border-radius);
    z-index: 5;
}

.honeycomb-button a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    font-family: var(--font-primary);
    font-weight: 500; /* Medium weight */
}

.honeycomb-button:hover {
    background: rgba(255, 195, 113, 0.5); /* Using accent color */
    box-shadow: 0 6px 10px var(--shadow-medium);
    transform: translateY(-2px);
}

.honeycomb-button:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px var(--shadow-medium);
}

.hero-keywords {
    word-spacing: 1rem;
    font-size: 2rem;
    text-transform: uppercase;
}

/* Fullscreen Hero (Index) */
.fullscreen-hero {
    position: fixed; /* Fixed position */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover; /* Cover the screen */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1001; /* Above header */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(1, 0, 1, 1);
    /* cursor: grab; */ /* Removed drag functionality */
}

.fullscreen-hero.show {
    opacity: 1;
    pointer-events: auto;
}

#close-fullscreen {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
    position: absolute;
    top: 30px; /* Position from top */
    left: 30px; /* Position from left */
    border: none;
    width: 40px; /* Smaller size */
    height: 40px;
    background: var(--white-color) url('icons/home.svg') no-repeat center center;
    background-size: 60%;
    cursor: pointer;
    border-radius: 50%;
    transition: filter 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1002; /* Above fullscreen image */
}

#close-fullscreen:hover {
    filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.5));
    transform: scale(1.1);
    background-color: var(--light-color);
}

/* Logo Zoom Animations */
#the-center-logo.zooming {
    animation: zoom-spin 0.6s forwards cubic-bezier(1, 0, 1, 1);
}

#the-center-logo.zooming-out {
    /* Needs adjustment if zoom-out is kept */
    transition: opacity 0.5s ease, transform 1.5s cubic-bezier(0.15, 0.3, 0.3, 1);
    transform: scale(1) rotate(-360deg); /* Return to normal */
}

@keyframes zoom-spin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.05;
    }
    100% {
        transform: rotate(180deg) scale(5);
        opacity: 0;
    }
    /* Fade out while zooming */
}


/* Scroll Indicator */
#scroll-indicator-container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 80px; /* Position from bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999; /* Below header, above content */
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(1, 0, 1, 1);
}

#scroll-indicator-container.hidden {
    opacity: 0;
    pointer-events: none;
}

#scroll-indicator {
    width: 45px;
    height: 45px;
    background-image: url('icons/down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s ease, background-image 0.3s ease;
    filter: drop-shadow(0px 2px 4px var(--shadow-medium));
}

#scroll-indicator:hover {
    transform: scale(1.1);
}

/* --- Index Page: Portfolio Section --- */
#portfolio {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-grid { /* Changed to grid */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    display: block; /* Make the link a block */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
    aspect-ratio: 1 / 1; /* Maintain square shape */
}

.portfolio-item:hover {
    box-shadow: 0 8px 20px var(--shadow-medium);
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--white-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* --- About Short Section --- */
.about-short-section {
    padding: 4rem 0; /* Vertikaler Abstand */
    background-color: var(--white-color); /* Oder var(--light-color) für Kontrast */
    /* background-color: #fdfaf5; */ /* Alternativ: Ein sehr leichter Creme-Ton */
    text-align: center; /* Zentriert den Textblock */
}

.about-short-section .container {
    max-width: 800px; /* Begrenzt die Breite für bessere Lesbarkeit */
    margin-left: auto;
    margin-right: auto;
}

.about-short-section h3 {
    font-size: clamp(1.6rem, 4vw, 2.1rem); /* Passende Größe zur Sektion */
    margin-bottom: 1.5rem;
    color: var(--dark-color); /* Oder var(--primary-color) */
}

.about-short-section p {
    font-size: 1.05rem;
    color: var(--medium-color);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Styling für den optionalen Link */
.about-cta-link-wrapper {
    margin-top: 2rem;
}

.about-cta-link-wrapper a {
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0; /* Etwas Klickfläche */
    position: relative;
    transition: color 0.3s ease;
}

.about-cta-link-wrapper a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.about-cta-link-wrapper a:hover {
    color: var(--secondary-color);
}

.about-cta-link-wrapper a:hover::after {
    width: 100%; /* Unterstrich-Animation bei Hover */
}

/* --- Index Page: Contact Section --- */
#contact {
    padding: 4rem 0;
    background-color: var(--light-color); /* Light background */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
    }
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--medium-color);
}

.contact-info p strong {
    color: var(--dark-color);
    display: block; /* Put info on new line */
    margin-bottom: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1rem;
    transition: color 0.2s ease;
    font-weight: bold;
}

.social-links li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-map img {
    width: 100%;
    height: 100%; /* Fill container */
    max-height: 350px; /* Limit height */
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px var(--shadow-light);
}

/* --- Project Detail Page Specific Styles --- */
/* Project Hero */
.project-hero {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Content at bottom */
    padding: 3rem var(--gutter);
    color: var(--white-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.project-hero::before { /* Gradient overlay */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.project-hero-content h1 {
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.project-hero-content .tagline {
    font-size: 1.3rem;
    margin-bottom: 0; /* Reset margin */
    font-family: var(--font-secondary);
}

.top-nav { /* Back Button */
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
}

.back-button {
    text-decoration: none;
    color: var(--white-color);
    font-family: var(--font-secondary);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.6em 1.2em;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex; /* Use flex for icon alignment if needed */
    align-items: center;
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white-color); /* Ensure color stays white */
}

/* Project Case Study Section */
.case-study {
    padding: 4rem 0;
}

.case-study .intro-text {
    max-width: 900px;
    margin: 0 auto 3rem auto; /* Center text */
    text-align: center;
}

.case-study .intro-text h2 {
    margin-bottom: 1rem;
}

.case-study .intro-text h3 {
    margin-bottom: 1rem;
}

.case-study .intro-text p {
    font-size: 1.1rem;
    color: var(--medium-color);
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px; /* Limit width */
    margin: 0 auto; /* Center columns */
}

.column {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 6px var(--shadow-light);
}

.column h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.column p {
    font-size: 1rem;
    color: var(--dark-color);
}

/* Project Media Gallery */
.media-gallery {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.media-gallery h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.media-gallery h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.images-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* Increased gap */
    margin-bottom: 3rem;
}

.thumbnail {
    width: clamp(200px, 30vw, 350px); /* Responsive */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

/* Project Image Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); /* Darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex; /* Use flex to center image */
    align-items: center;
    justify-content: center;
}

#modal-image {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 4px; /* Slight radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

#close-modal {
    position: absolute;
    top: 30px; /* Position relative to image/content */
    right: 30px;
    background: var(--white-color);
    border: none;
    font-size: 1.5rem; /* Adjusted size */
    font-weight: bold;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px var(--shadow-medium);
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-modal:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

/* Project Video Container */
.video-container {
    max-width: 900px; /* Limit video width */
    margin: 0 auto; /* Center video */
    text-align: center;
}

.video-container video {
    width: 100%; /* Make video responsive */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px var(--shadow-medium);
}

/* Project Testimonial */
.testimonial {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.testimonial-content { /* Added container */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial blockquote {
    font-style: italic;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--dark-color);
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0 2rem; /* Add padding for quotes */
    line-height: 1.7;
}

.testimonial blockquote::before,
.testimonial blockquote::after {
    font-size: 3.5rem;
    font-family: serif; /* Use a serif font for quotes */
    color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
}

.testimonial blockquote::before {
    content: "“";
    left: -10px;
    top: -15px;
}

.testimonial blockquote::after {
    content: "”";
    right: -10px;
    bottom: -25px;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--medium-color);
    font-style: normal; /* Reset italic */
}

/* Project CTA */
.cta {
    padding: 4rem 0;
    text-align: center;
}

.cta-content { /* Added container */
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--medium-color);
}

.contact-button {
    display: inline-block;
    text-decoration: none;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.9rem 2rem; /* Slightly larger */
    border-radius: 50px; /* Pill shape */
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: var(--font-primary);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(241, 178, 75, 0.4); /* Shadow using primary color */
}

.contact-button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(173, 80, 78, 0.5); /* Shadow using secondary color */
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-content {
    max-width: 900px; /* Consistent width */
    margin: 3rem auto; /* Add top/bottom margin */
    padding: 2rem clamp(1rem, 5vw, 3rem); /* Responsive padding */
    background: var(--white-color);
    box-shadow: 0 2px 10px var(--shadow-light);
    border-radius: var(--border-radius);
    line-height: 1.7;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--primary-color);
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: bold;
}

.legal-content p, .legal-content li {
    color: var(--medium-color);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content a {
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--secondary-color);
}

.back-to-home { /* Style for the "Zurück zur Startseite" link */
    display: inline-block;
    margin-top: 2rem;
    font-weight: bold;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: #ccc; /* Lighter gray for text */
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto; /* Push footer down */
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.site-footer p {
    margin-bottom: 0;
    color: #ccc;
}

.footer-nav a {
    color: #ccc;
    margin: 0 0.75rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease, color var(--transition-speed) ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--white-color);
    text-decoration: underline;
}

.contact-logo-container {
    text-align: center; /* Zentriert das Bild */
    margin-top: 4rem; /* Abstand nach oben zum Kontakt-Grid */
    margin-bottom: 2rem; /* Abstand nach unten (vor dem Section-Padding) */
    position: relative; /* Für evtl. Pseudo-Elemente später */
}

.contact-section-logo {
    max-width: 420px; /* Maximale Breite des Logos, anpassen nach Bedarf */
    height: auto; /* Höhe automatisch anpassen */
    opacity: 1; /* Etwas reduzierte Deckkraft für Dezente Wirkung */
    display: inline-block; /* Stellt sicher, dass text-align funktioniert */
    animation: subtleOpacityPulse 6s infinite alternate ease-in-out; /* Animation anwenden */
    transition: opacity 0.3s ease, filter 0.75s ease, transform 0.75s ease; /* Sanfter Übergang für Hover (optional) */
}

/* Optionale Hover-Animation (kann weggelassen werden, wenn Puls reicht) */
.contact-section-logo:hover {
    opacity: 1;
    filter: drop-shadow(0px 0px 2px var(--shadow-medium));
    animation-play-state: paused;
    transform: scale(1.3);
}


/* Keyframes für die subtile Puls-Animation (Deckkraft) */
@keyframes subtleOpacityPulse {
    from {
        opacity: 0.85;
    }
    to {
        opacity: 1; /* Nur leicht heller werden */
    }
}

/* Footer Responsive */
@media (min-width: 768px) {
    #hero {
        padding: 0; /* Kein Padding auf Desktop, da absolute Zentrierung */
    }

    #hero-overlay-content {
        /* Absolute Zentrierung NUR für Desktop */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%; /* Kann auf Desktop ggf. etwas schmaler sein */
        padding: 1rem; /* Padding kann auf Desktop anders sein */
    }

    /* Optional: Größere Abstände/Schriften auf Desktop wiederherstellen */
    #hero-overlay-content #small-logo {
        margin-bottom: 1rem;
    }

    #hero-overlay-content h1 {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-button-container {
        margin: 1.5em 0;
        gap: 1em;
    }

    #hero-overlay-content .sub-headline {
        padding-top: 1em;
    }

    .site-footer .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-nav {
        margin-left: auto; /* Push nav to the right */
    }

    .contact-section-logo {
        max-width: 420px;
    }

    .contact-logo-container {
        margin-top: 3rem;
    }
}

/* --- General Responsiveness --- */
@media (max-width: 992px) {
    :root {
        /* Adjust container padding slightly if needed */
    }

    .site-header .logo img {
        height: 4rem;
    }

    .main-nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 95%; /* Slightly smaller base font */
    }

    .site-header .container {
        flex-direction: column;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .site-header .logo {
        margin-bottom: 0.5rem;
    }

    .main-nav ul {
        gap: 1.2rem;
        justify-content: center;
        flex-wrap: wrap; /* Allow nav items to wrap */
    }

    #portfolio {
        padding: 3rem 0;
    }

    #contact {
        padding: 3rem 0;
    }

    .case-study {
        padding: 3rem 0;
    }

    .media-gallery {
        padding: 3rem 0;
    }

    .testimonial {
        padding: 3rem 0;
    }

    .cta {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    #hero-overlay-content {
        padding-top: 2rem; /* Etwas mehr Platz oben auf sehr kleinen Screens */
        padding-bottom: 2rem;
    }

    .honeycomb-button {
        min-width: 130px;
        height: 50px;
        line-height: 50px;
    }

    .honeycomb-button a {
        font-size: 0.95em;
    }

    .hero-button-container {
        gap: 0.8em;
    }

    #hero-overlay-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem); /* Kleinere H1 auf Mobile */
    }

    #hero-overlay-content .sub-headline {
        font-size: clamp(0.9rem, 3vw, 1.1rem); /* Kleinere Subheadline */
    }

    html {
        font-size: 90%;
    }

    .container {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .honeycomb-button {
        min-width: 140px;
        height: 50px;
        line-height: 50px;
    }

    .honeycomb-button a {
        font-size: 1em;
    }

    .hero-overlay-content h1 {
        letter-spacing: 0.1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr; /* Stack items */
        gap: 1.5rem;
    }

    .contact-info, .contact-map {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .columns {
        grid-template-columns: 1fr; /* Stack columns */
    }

    .project-hero {
        min-height: 50vh;
    }

    .top-nav {
        top: 15px;
        left: 15px;
    }

    .back-button {
        padding: 0.5em 1em;
    }

    .images-row {
        gap: 1rem;
    }

    .thumbnail {
        width: clamp(150px, 45vw, 250px);
    }

    .legal-content {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .site-footer {
        padding: 1rem 0;
    }

    .footer-nav {
        display: flex;
        flex-direction: column; /* Stack footer links */
        gap: 0.5rem;
    }

    .contact-section-logo {
        max-width: 140px;
    }

    .contact-logo-container {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }
}

/* END OF FILE style.css */