/* Custom CSS for "Gartenplan" Design Concept */
:root {
    --plan-paper: #FDFBF7;
    --plan-ink: #2D3632;
    --plan-cream: #F5F2E9;
    --plan-lawn: #8DAA81;
    --plan-water: #4ED8D8;
    --plan-accent: #D97757;
}

body {
    background-color: var(--plan-paper);
    color: var(--plan-ink);
    font-size: 18px;
    line-height: 1.7;
}

/* Drafting Paper Grid Background */
.bg-grid {
    background-image: 
        linear-gradient(var(--plan-cream) 1px, transparent 1px),
        linear-gradient(90deg, var(--plan-cream) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Plan labels and annotations */
.plan-label {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--plan-ink);
}

/* Hatch Patterns */
.hatch-lawn {
    fill: url(#hatch-lawn-pattern);
}

/* Architectural Borders */
.plan-border {
    border: 1px solid var(--plan-ink);
    position: relative;
}

.plan-border::before, .plan-border::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid var(--plan-ink);
}

.plan-border::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.plan-border::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

/* Animation for SVG Drawing */
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.animate-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate-draw {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }
}

/* FAQ Accordion Transition */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.open {
    max-height: 500px;
}

/* Utility for accessibility focus */
*:focus-visible {
    outline: 2px solid var(--plan-accent);
    outline-offset: 2px;
}

/* Custom Scrollbar for Plan look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--plan-paper);
}
::-webkit-scrollbar-thumb {
    background: var(--plan-ink);
}
