/* ==========================================================================
   Toni Titz Haus- und Gartenservice - Modern Placeholder Stylesheet
   Pure CSS3 with Glassmorphism, Micro-Animations & Responsive Design
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
    --color-primary: #2d6a4f;
    --color-primary-light: #52b788;
    --color-primary-glow: rgba(82, 183, 136, 0.4);
    --color-accent: #d4a373;
    --color-accent-hover: #e6b88a;
    --color-gold: #f4a261;
    
    --bg-dark: #09120c;
    --card-bg: rgba(13, 27, 18, 0.72);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 18px 36px -18px rgba(0, 0, 0, 0.5);
    
    --text-main: #f4f6f4;
    --text-sub: #d0d7d1;
    --text-muted: #95a597;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
    overflow-x: hidden;
    padding: 2.5rem 1.25rem;
}

/* --- Ambient Background --- */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) contrast(1.1) blur(2px);
    animation: bgPulse 25s ease-in-out infinite alternate;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 30, 20, 0.4) 0%, rgba(5, 12, 7, 0.88) 100%),
                linear-gradient(to bottom, rgba(9, 18, 12, 0.6) 0%, rgba(9, 18, 12, 0.95) 100%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
}

.bg-glow-1 {
    top: 15%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    animation: floatGlow 18s ease-in-out infinite alternate;
}

.bg-glow-2 {
    bottom: 10%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2a9d8f 0%, transparent 70%);
    animation: floatGlow 22s ease-in-out infinite alternate-reverse;
}

/* --- Main Layout Wrapper & Card --- */
.site-wrapper {
    width: 100%;
    max-width: 820px;
    margin: auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtle Card Top Highlight Line */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* --- Status Badge --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(82, 183, 136, 0.12);
    border: 1px solid rgba(82, 183, 136, 0.28);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(82, 183, 136, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary-light);
    animation: statusBlink 1.8s ease-in-out infinite;
}

/* --- Centered Logo Section --- */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2.2rem;
}

.logo-glow-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, rgba(82, 183, 136, 0.05) 70%, transparent 100%);
    animation: ringGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.logo-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(82, 183, 136, 0.4) 50%, rgba(212, 163, 115, 0.3) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(82, 183, 136, 0.2);
    transition: transform var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.03);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* --- Content Hero --- */
.headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.highlight-text {
    background: linear-gradient(135deg, #74c69d 0%, #b7e4c7 50%, #f4a261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.motto-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-accent);
    letter-spacing: 0.03em;
}

.motto-sep {
    color: rgba(255, 255, 255, 0.25);
}

.description {
    font-size: 1.08rem;
    color: var(--text-sub);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* --- Progress Section --- */
.progress-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.progress-percent {
    color: var(--color-primary-light);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #2d6a4f 0%, #52b788 70%, #95d5b2 100%);
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: 0 0 12px rgba(82, 183, 136, 0.5);
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2.5s infinite;
}

/* --- Service Highlights Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(82, 183, 136, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Contact & Buttons --- */
.contact-box {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-title {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(82, 183, 136, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid rgba(212, 163, 115, 0.4);
}

.btn-outline:hover {
    background: rgba(212, 163, 115, 0.12);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
}

/* --- Expandable Info Drawer --- */
.info-drawer {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.info-drawer-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary-light);
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: var(--text-muted);
}

.info-val {
    color: var(--text-main);
    font-weight: 600;
}

.info-val a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.info-val a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.sep {
    color: rgba(255, 255, 255, 0.2);
}

/* --- Pure CSS Modals --- */
.modal-target {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.25rem;
}

.modal-target:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 7, 0.82);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    background: #0f2015;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 520px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    text-align: left;
}

.modal-target:target .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
}

.modal-close {
    font-size: 1.6rem;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-body {
    font-size: 0.92rem;
    color: var(--text-sub);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.modal-body h4 {
    color: var(--color-primary-light);
    margin: 1rem 0 0.4rem;
}

.modal-body p {
    margin-bottom: 0.8rem;
}

.modal-footer {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

/* --- Keyframe Animations --- */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bgPulse {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@keyframes floatGlow {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, -40px); }
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes ringGlow {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.9; }
}

@keyframes progressShine {
    100% { left: 150%; }
}

/* --- Responsive Adaptations --- */
@media (max-width: 640px) {
    body {
        padding: 1.25rem 0.85rem;
    }

    .card {
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
    }

    .logo-container {
        width: 190px;
        height: 190px;
    }

    .headline {
        font-size: 1.85rem;
    }

    .motto-box {
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
        flex-wrap: wrap;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
