/* ===========================
   CAMCI USTA - Professional CSS
   =========================== */

:root {
    --blue: #0d7a5f;
    --blue-dark: #1a3a34;
    --blue-light: #3db896;
    --bg: #b8d5ce;
    --bg-card: #a5c8c0;
    --bg-card-hover: #93b9b1;
    --border: #7aaaa3;
    --text: #1a2e2a;
    --text-muted: #2d4a44;
    --text-dim: #4a6a64;
    --white: #ffffff;
    --gold: #f59e0b;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   NAVBAR
   =========================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(184, 213, 206, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(184, 213, 206, 0.97);
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon { color: var(--blue); }

.logo-text {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(0, 0, 0, 0.08); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(26, 46, 42, 0.3);
}
.btn-outline:hover { border-color: var(--text); }

.btn-nav {
    background: var(--blue);
    color: var(--white) !important;
    padding: 8px 20px;
}
.btn-nav:hover { background: var(--blue-dark); }

.btn-white {
    background: var(--white);
    color: var(--bg);
}
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); }

.btn-outline-white {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(26, 46, 42, 0.3);
}
.btn-outline-white:hover { border-color: var(--text); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d7a5f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(13, 122, 95, 0.12);
    color: var(--blue-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(13, 122, 95, 0.2);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 .highlight {
    color: var(--blue);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--text-dim);
    animation: bounce 2s infinite;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-card);
}

#leistungen {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(13, 122, 95, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    color: var(--blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.service-features li {
    font-size: 13px;
    color: var(--text-dim);
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
}

.service-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover { color: var(--blue-light); }

/* ===========================
   ABOUT
   =========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--blue);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 20px 40px rgba(13, 122, 95, 0.3);
}

.exp-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.3;
}

.about-content .section-tag { display: block; text-align: left; }

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.about-lead {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.about-feature svg { color: var(--blue); flex-shrink: 0; }

/* ===========================
   GALLERY / REFERENCES
   =========================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item { position: relative; }

.gallery-wide { grid-column: span 2; }

.gallery-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    cursor: pointer;
}

.gallery-wide .gallery-placeholder { aspect-ratio: 16/9; }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-placeholder:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.stars { display: flex; gap: 4px; }

.rating-text {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(13, 122, 95, 0.3);
    transform: translateY(-2px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-dim);
}

/* ===========================
   CTA
   =========================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-dark) 0%, #155f4a 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(13, 122, 95, 0.3);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 122, 95, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: #c8ddd9;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.1);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form select { cursor: pointer; }

/* Alert Banners */
.alert-banner {
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    font-size: 15px;
    font-weight: 500;
}

.alert-success-banner {
    background: rgba(6, 78, 59, 0.5);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.2);
}

.alert-error-banner {
    background: rgba(127, 29, 29, 0.5);
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.2);
}

/* ===========================
   MAP
   =========================== */
.map-section { width: 100%; }
.map-section iframe { display: block; }
.map-placeholder { width: 100%; }

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(13, 122, 95, 0.1);
    color: var(--blue);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--blue);
    color: var(--white);
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dim);
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-col a:hover { color: var(--blue); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover { color: var(--blue); }

/* ===========================
   PHONE FLOAT ICON
   =========================== */
.phone-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    transition: var(--transition);
    animation: pulse-phone 2s infinite;
    text-decoration: none;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(34, 197, 94, 0.6);
}

.phone-float svg {
    animation: ring 2s ease-in-out infinite;
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50%, 100% { transform: rotate(0deg); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        background: #b8d5ce;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px 24px;
        gap: 8px;
        overflow-y: auto;
    }

    .nav-links.open { display: flex; }

    #navbar.menu-open {
        background: #b8d5ce;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-links a {
        font-size: 18px;
        padding: 14px 16px;
    }

    .hamburger { display: flex; }

    .hero-content { padding: 100px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 28px; }

    .section { padding: 60px 0; }

    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .about-experience-badge { bottom: -10px; right: 10px; padding: 16px; }
    .exp-num { font-size: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
