/* Custom Styles on top of Bootstrap */

body {
    background-color: #f8f9fa;
}

.hero {
    position: relative;
    color: white;
    padding: 5rem 1rem;
    overflow: hidden;

    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* Pattern Layer */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.35) 1.2px, transparent 1.2px),
        linear-gradient(90deg, rgba(255,255,255,0.35) 1.2px, transparent 1.2px);

    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 700;
}

.section {
    padding: 4rem 0;
}

.card-shadow {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

footer a {
    color: #111827;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links a {
    margin-right: 1rem;
}

/* Projekt Cards */
.project-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.project-card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  object-fit: cover;
  height: 200px;
}

.project-card .badge {
  font-size: 0.75rem;
  margin-right: 4px;
  margin-bottom: 4px;
}

.footer-link {
    white-space: nowrap;
}

.footer-right {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-right {
        justify-content: flex-end;
    }
}

.footer-right-inner {
    display: block;

    max-width: 100%;
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.section p.lead {
    max-width: 820px;
}

.section h2 {
    margin-bottom: 1rem;
}

.section h3 {
    margin-bottom: 0.75rem;
}




