/* ==========================================================================
   Ingenieurbüro Back – Stylesheet
   Farbschema: Dunkelblau & Blau (Corporate Identity)
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-primary: #1a3a6b;
    --color-primary-light: #2d6bc4;
    --color-primary-dark: #0f2a52;
    --color-accent: #4a9ae8;
    --color-accent-light: #6db3f0;
    --color-accent-dark: #2d6bc4;
    /* Legacy aliases for compatibility */
    --color-anthrazit: #1a3a6b;
    --color-anthrazit-light: #1f4a80;
    --color-anthrazit-dark: #0f2a52;
    --color-gold: #2d6bc4;
    --color-gold-light: #4a9ae8;
    --color-gold-dark: #1a5ea8;
    --color-white: #ffffff;
    --color-off-white: #f4f7fb;
    --color-gray-100: #edf2f9;
    --color-gray-200: #d6e0ed;
    --color-gray-300: #b0c0d6;
    --color-gray-500: #6a7d96;
    --color-gray-700: #3a4a5e;
    --color-text: #1a2a3a;
    --color-text-light: #5a6a7e;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(26, 58, 107, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 58, 107, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 58, 107, 0.15);
    --shadow-gold: 0 4px 20px rgba(45, 107, 196, 0.25);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.text-gold {
    color: var(--color-gold);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-anthrazit);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.section {
    padding: 100px 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-anthrazit);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Header / Navigation ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(26, 58, 107, 0.1);
}

.header.scrolled .nav-link {
    color: var(--color-primary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--color-accent-dark);
}

.header.scrolled .nav-toggle span {
    background-color: var(--color-primary);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    line-height: 1.1;
}

.logo img,
.logo svg {
    height: 48px;
    width: auto;
}

/* Logo switching: white on transparent header, blue on scrolled */
.logo .logo-dark {
    display: none;
}

.logo .logo-light {
    display: block;
}

.header.scrolled .logo .logo-dark {
    display: block;
}

.header.scrolled .logo .logo-light {
    display: none;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gray-300);
    display: none;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    display: none;
}

.nav-list {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-anthrazit-dark) 0%, var(--color-anthrazit) 50%, var(--color-anthrazit-light) 100%);
    overflow: hidden;
}

.hero#home {
    background: url('../img/hero-bg.jpg') center center / cover no-repeat;
}

.hero#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 42, 82, 0.82) 0%, rgba(26, 58, 107, 0.75) 50%, rgba(45, 107, 196, 0.65) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(45, 107, 196, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 154, 232, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(45, 107, 196, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Background-image hier einfügen wenn vorhanden:
       background-image: url('../img/hero-bg.jpg');
       background-size: cover;
       background-position: center;
       opacity: 0.15; */
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color var(--transition);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--color-gold);
}

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

/* ---------- Stats Section ---------- */
.stats {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: 60px 0;
    border-bottom: 3px solid var(--color-accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
}

.stat-icon svg {
    color: var(--color-gold);
    stroke: var(--color-gold);
}

/* ---------- Services / Leistungen ---------- */
.leistungen {
    background-color: var(--color-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-gold);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-anthrazit);
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: color var(--transition);
}

.service-link:hover {
    color: var(--color-gold-dark);
}

/* ---------- About Section ---------- */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center 30%;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 2px dashed var(--color-gray-200);
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
}

.about-image-placeholder p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

.about-caption {
    text-align: center;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.about-caption-role {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.about-caption-title {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.about-caption-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-gold);
}

.about-exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-anthrazit);
}

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

/* ---------- Projects / Projekte ---------- */
.projekte {
    background: var(--color-off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

.project-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.project-category {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info {
    padding: 28px 24px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-anthrazit);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- Process / Arbeitsablauf ---------- */
.process {
    background: var(--color-anthrazit);
}

.process .section-subtitle {
    color: var(--color-gold);
}

.process .section-title {
    color: var(--color-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---------- Contact / Kontakt ---------- */
.kontakt {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-gold);
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-anthrazit);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-text-light);
}

.contact-item a:hover {
    color: var(--color-gold);
}

.contact-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-200);
}

.contact-hours h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-anthrazit);
    margin-bottom: 8px;
}

.contact-hours p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Contact Form */
.contact-form {
    background: var(--color-off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-anthrazit);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7870' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-notice {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 12px;
    text-align: center;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-anthrazit-dark);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

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

/* ---------- Philosophy / Leitbild Section ---------- */
.philosophy {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-accent-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 154, 232, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 107, 196, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 32px;
    opacity: 0.4;
}

.philosophy-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-accent-light);
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
}

.philosophy-quote::before {
    content: '\201E';
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.4;
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: var(--font-heading);
    line-height: 1;
}

.philosophy-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 36px;
}

.philosophy .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.philosophy .btn-outline:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
}

/* ---------- Animations (Scroll Reveal) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-anthrazit-dark);
        transition: right var(--transition);
        padding: 80px 32px 32px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-experience {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr !important;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        min-height: 90vh;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 24px;
    }
}
