/* Pages Specific Styles */

/* Page Hero */
.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--primary-color);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 2rem 60px;
  text-align: left;
  background: linear-gradient(90deg, #1A1A80 0%, #6B6BFF 100%);
}

/* ── HERO Section - Grid Pattern ───────────────────────────────────────── */

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(120% 100% at 50% 40%, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 35%, transparent 80%);
    pointer-events: none;
}

.page-title {
  font-family: 'Figtree', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin: 0;
  font-weight: 300;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
/* Services Cards */
.svc-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 16px 0 16px;
    width: 100%;
    font-family: var(--font-figtree);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.svc-expand-btn:hover {
    color: #6B6BFF;
}

.svc-expand-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.svc-expand-btn.open svg {
    transform: rotate(180deg);
}

/* Our Story */
.our-story {
    padding: 100px 2rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem;
}

.placeholder-text {
    opacity: 0.7;
}

/* Values Section */
.values-section {
    background: var(--white);
    padding: 100px 2rem;
}

.text-center {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid-bottom {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-grid-bottom {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.team-section {
    padding: 100px 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 500;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-bio {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Projects Page */
.projects-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--gray-200);
  align-self: start;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 0 rgba(26,26,128,0.04), 0 18px 36px -16px rgba(26,26,128,0.18);
  border-color: var(--primary-light);
}

.project-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.project-content {
    padding: 2rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    align-items: flex-start;
}

.project-tag {
    color: var(--primary-color);
    background: rgba(1, 71, 81, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Blog Page */
.blog-hero {
    padding: 140px 2rem 60px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-article:hover {
    box-shadow: var(--shadow-md);
}

.article-image {
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-title a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 0.75rem;
}


/* Sidebar */
.blog-sidebar {
    height: fit-content;
    align-self: start;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.glossary-list {
    list-style: none;
}

.glossary-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.glossary-list li:last-child {
    border-bottom: none;
}

.glossary-term {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.glossary-definition {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    text-decoration: none;
    color: var(--text-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.category-count {
    background: var(--gray-100);
    color: var(--text-medium);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}


/* Contact Page */
.contact-section {
    padding: 100px 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item-content p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-item-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-content a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    margin-top: 1rem;
}

/* Impressum Page */
.impressum-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-section ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-section ul li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .story-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem;
    }
}
