/* Design-System SecondFloor */
:root {
    /* Die Hauptwandfarbe "Macadamia-weiß" */
    --color-macadamia: #FAF7F2; 
    
    /* Die warme Sand-Beige Hintergrundfarbe des Logo-Untersetzers */
    --color-logo-bg: #EDE7DE; 
    
    /* Ein weiches Kohleschwarz/Anthrazit statt reinem Schwarz für ruhiges Lesen */
    --color-charcoal: #2D2B2A; 
    
    /* Ein sanfter Sandton als eleganter Akzent */
    --color-sand: #D7C3B3;
    --color-sand-hover: #C2AD9C;
    
    /* Ein hellerer Cremeton für Inhaltsbereiche */
    --color-cream: #F5EFEB;
    
    /* Typografie */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lora', serif;
    --font-micro: 'Inter', sans-serif;
    
    /* Animationen */
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-macadamia);
    color: var(--color-charcoal);
    line-height: 1.75;
    font-size: 1.18rem; /* Make default body font size slightly larger for premium legibility */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typografie-Richtlinien: KEINE harten Druckbuchstaben (Kein text-transform: uppercase) */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600; /* Significantly stronger/bolder headings as requested */
    letter-spacing: -0.02em; /* Elegantly tighter letter spacing */
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 600; /* Bolder for high-end distinction */
    font-style: italic;
    font-size: 2.1rem; /* Significantly enlarged to act as a proper heading */
    color: var(--color-sand);
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

/* Glassmorphic Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0; /* Mehr Atemraum für ein größeres Logo */
    z-index: 100;
    transition: var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.9); /* Macadamia mit Transparenz */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 
   Firmenlogo Anpassung: Neues Wolken-Logo 
   Das Logo darf nicht mehr rund zugeschnitten werden, 
   da es eine rechteckige Form mit Wolke besitzt.
*/
.logo-img {
    height: auto !important;
    width: 320px !important; /* Sehr großes Logo für den Anfang */
    max-height: 130px !important;
    object-fit: contain !important;
    object-position: left center !important; /* Links bündig */
    display: block !important;
    transition: var(--transition-medium) !important;
}

.navbar.scrolled .logo-img {
    max-height: 80px !important;
    width: 200px !important; /* Etwas kleiner beim Scrollen, aber gut lesbar */
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-charcoal);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-sand);
}

/* Weiche Buttons ohne harte Konturen */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2.2rem;
    background-color: var(--color-charcoal);
    color: var(--color-macadamia);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    
    border-radius: 2rem;
    transition: var(--transition-medium);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 43, 42, 0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2.2rem;
    background-color: transparent;
    color: var(--color-charcoal);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    border: 1px solid rgba(45, 43, 42, 0.2);
    border-radius: 2rem;
    transition: var(--transition-medium);
}

.btn-secondary:hover {
    border-color: var(--color-charcoal);
    background-color: rgba(45, 43, 42, 0.02);
    transform: translateY(-2px);
}

/* Cozy Hero Section - Reverted to Right-Aligned Split Screen Layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 10rem 2.5rem 3rem 2.5rem;
    gap: 4rem;
}

.hero-content {
    flex: 1.1;
    max-width: 580px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.4s;
    text-align: left; /* Left alignment for split screen */
}

.hero-tag {
    font-family: var(--font-heading);
    font-weight: 600; /* Bolder for high-end distinction */
    font-style: italic;
    font-size: 2.5rem; /* Significantly enlarged to act as a proper heading */
    color: var(--color-sand);
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(3.2rem, 6.8vw, 5.8rem); /* Breathtakingly large and bold */
    line-height: 1.12;
    margin-bottom: 2rem;
    color: var(--color-charcoal);
}

.hero-subtitle {
    font-size: 1.35rem; /* Cozy larger description */
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start; /* Left-aligned buttons for split screen */
}

.hero-image-container {
    flex: 0.9;
    height: 72vh;
    border-radius: 12rem 12rem 0 0; /* Elegante hohe Bogenform */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(45, 43, 42, 0.05);
    background-color: var(--color-cream);
    opacity: 0;
    transform: scale(0.97);
    animation: scaleIn 1.2s forwards 0.2s;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.12) brightness(1.02) contrast(0.98) saturate(0.95); /* Organic warm wash filter for color harmony */
    transition: var(--transition-slow);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.04);
}

/* Space Section */
.space-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-macadamia) 0%, var(--color-cream) 100%);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.space-text {
    max-width: 600px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.4rem); /* Bolder and much larger */
    line-height: 1.18;
    margin-bottom: 1.8rem;
}

.section-desc {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.space-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.space-features li {
    font-size: 1.18rem;
    position: relative;
    padding-left: 2rem;
}

.space-features li::before {
    content: "·";
    position: absolute;
    left: 0.5rem;
    top: -0.2rem;
    font-size: 2.2rem;
    color: var(--color-sand);
    line-height: 1;
}

.space-features strong {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: italic;
    font-size: 1.35rem;
    display: block;
    color: var(--color-charcoal);
    margin-bottom: 0.2rem;
}

/* Seamless 2D Architectural SVG Plan Integration */
.sketch-card-seamless {
    background-color: transparent;
    padding: 1rem 0;
    width: 100%;
}

.sketch-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.sketch-intro {
    font-size: 1.18rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.sketch-blend-container {
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Veredeltes Gemini-SVG Style */
.sketch-svg-seamless {
    width: 100%;
    height: auto;
    max-width: 500px;
    transition: var(--transition-medium);
}

.sketch-svg-seamless rect, 
.sketch-svg-seamless line {
    transition: all 0.4s ease;
}

/* Subtiler Interaktions-Effekt auf dem Grundriss */
.sketch-svg-seamless rect:hover {
    fill-opacity: 0.5;
    stroke: var(--color-sand);
}

.space-gallery {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.main-photo-card {
    border-radius: 0 0 10rem 10rem; /* Umgekehrt weicher Bogen */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    height: 380px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.main-photo-card:hover .gallery-img {
    transform: scale(1.04);
}

/* Focus Section */
.focus-section {
    padding: 8rem 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header-centered {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem auto;
}

.section-header-centered .section-title {
    margin-bottom: 1.5rem;
}

.focus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.focus-card {
    background-color: var(--color-cream);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(215, 195, 179, 0.15);
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(215, 195, 179, 0.12);
    background-color: var(--color-logo-bg); /* Warmes Sand-Beige als weicher, einladender Hover */
}

.focus-card:hover .focus-icon-box {
    background-color: var(--color-macadamia);
    color: var(--color-sand);
}

.focus-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-macadamia);
    border-radius: 0;
    color: var(--color-sand);
}

.focus-icon-box svg {
    width: 32px;
    height: 32px;
}

.focus-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.focus-card p {
    font-size: 1.15rem;
    opacity: 0.8;
    font-weight: 300;
}

/* View Section - Warmes Sand-Beige wie der Logo-Untersetzer */
.view-section {
    padding: 8rem 0;
    background-color: var(--color-logo-bg); /* Warmes, einladendes Sand-Beige */
    color: var(--color-charcoal);
}

.view-section .section-title {
    color: var(--color-charcoal);
}

.view-section .section-tag {
    color: var(--color-sand);
}

.view-section .section-desc {
    color: var(--color-charcoal);
    opacity: 0.85;
}

.view-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.view-image-box {
    border-radius: 25rem 25rem 0 0; /* Elegante Portal-Form */
    overflow: hidden;
    height: 550px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.view-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.view-image-box:hover .view-img {
    transform: scale(1.04);
}

.view-text {
    max-width: 550px;
}

/* Calming Inquiry Form */
.contact-section {
    padding: 8rem 2.5rem;
    background-color: var(--color-macadamia);
}

.contact-card-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 4.5rem;
    border-radius: 3rem;
    box-shadow: 0 20px 50px rgba(45, 43, 42, 0.02);
    border: 1px solid rgba(0,0,0,0.01);
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-header h2 {
    font-size: 3.6rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.18rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.cozy-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-charcoal);
    padding-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.1rem;
    border: 1px solid rgba(45, 43, 42, 0.08);
    border-radius: 1rem;
    background-color: var(--color-macadamia);
    font-family: var(--font-body);
    color: var(--color-charcoal);
    font-size: 1.1rem; /* Slightly larger text inside input fields */
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sand);
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(215, 195, 179, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D2B2A' stroke-width='1.2'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2rem;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
}

/* Cozy Footer */
.footer {
    background-color: var(--color-cream);
    padding: 5rem 2.5rem 3rem 2.5rem;
    border-top: 1px solid rgba(215, 195, 179, 0.15);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

/* Footer Logo angepasst für das Wolken-Logo */
.footer-logo {
    height: auto;
    max-height: 100px;
    width: 250px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    opacity: 0.7;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--color-charcoal);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-sand);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.55;
}

/* Keyframe Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInUp {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Simple Responsive Rules */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 11rem; /* breathing space for the logo */
        gap: 3rem;
    }
    .hero-content {
        max-width: 100%;
        text-align: center; /* Center text on mobile */
    }
    .hero-actions {
        justify-content: center; /* Center buttons on mobile */
    }
    .hero-image-container {
        width: 100%;
        height: 50vh;
        border-radius: 8rem 8rem 0 0;
    }
    .section-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .space-gallery {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .focus-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .view-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .view-image-box {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    .nav-container {
        padding: 0 1.5rem;
    }
    .logo-img {
        height: auto !important;
        width: 250px !important;
    }
    .navbar.scrolled .logo-img {
        height: auto !important;
        width: 250px !important;
    }
    .contact-card-container {
        padding: 2.5rem;
        border-radius: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-meta {
        align-items: center;
    }
}

/* Smartphone Mobile Optimization */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        gap: 0.3rem;
        padding: 0.5rem 0.5rem;
        align-items: center;
        justify-content: space-between;
    }
    .navbar {
        padding: 0.2rem 0;
        background: transparent;
}
    
    /* Shrink the logo significantly to save horizontal space */
    .logo-img {
        height: auto !important;
        width: 200px !important;
    }
    .navbar.scrolled .logo-img {
        height: auto !important;
        width: 200px !important;
    }
    
    .nav-links {
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        width: auto;
        padding-bottom: 0;
    }
    .nav-link {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    .btn-primary.nav-link, .nav-links .btn-primary {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    .hero {
        padding-top: 7.5rem; /* adjusted for slim single-row header */
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .contact-card-container {
        padding: 1.5rem;
    }
    .contact-header h2 {
        font-size: 2.5rem;
    }
    .sketch-card-seamless svg {
        transform: scale(1);
    }
    
    /* Footer Centering for Mobile */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 1rem auto;
    }
}

/* =========================================
   Location Section (Anfahrt) - iframe version
   ========================================= */
.location-section {
    padding: 8rem 0;
    background-color: var(--color-macadamia);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.location-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.address-details {
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-sand);
}

.address-details p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin: 0;
}

.location-map {
    width: 100%;
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
