/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #1f2937;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: min(2rem, 8%);
  z-index: 1000;
  backdrop-filter: none;
  background-color: rgba(0, 0, 0, 0.01);
  transition: backdrop-filter 0.5s ease, background-color 0.5s ease;
}

.logo {
  height: 4vw;
  object-fit: contain;
}

body.scrolled .top-bar {
  backdrop-filter: blur(2px); /* Stärkerer Blur beim Scrollen */
  -webkit-backdrop-filter: blur(2px); /* Safari-Unterstützung */
  background-color: rgba(2, 27, 52, 0.589);
  transition: backdrop-filter 1s ease, background-color 0.3s ease;
}

.logo i {
  font-size: 2rem;
}

.cta-button {
  font-weight: bold;
  color: white;
  background-color: #103a5e;
  text-decoration: none;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5vw;
  width: fit-content;
}

.cta-button:hover {
  background-color: #ff914d;
  color: black;
  transform: translateY(-2px);
} 

.container {
    max-width: 70%;
    margin: 0 auto;
    background: #374151;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    flex: 1;
    margin-bottom: 40px;
}

/* Header */
header {
    background: linear-gradient(135deg, #021b34 0%, #2266a2 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 11vh;
    width: 100%;
    margin-bottom: 20px;
}

.logo-container {
    padding: 0 30px;
}

.logo-container img {
    max-height: 80px;
    width: auto;
    border-radius: 8px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #021b34 0%, #2266a2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content */
.content {
    padding: 0;
}

/* Impressum Sections */
.impressum-section {
    padding: 30px 40px;
    border-bottom: 1px solid #4b5563;
}

.impressum-section:last-child {
    border-bottom: none;
}

.impressum-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f9fafb;
    font-weight: 600;
}

.impressum-content {
    color: #d1d5db;
    line-height: 1.7;
}

.impressum-content p {
    text-align: justify;
    margin-bottom: 15px;
    font-weight: 200;
    font-size: large;
}

.impressum-content p:last-child {
    margin-bottom: 0;
}

.impressum-content strong {
    color: #f3f4f6;
    font-weight: 600;
}

.impressum-content a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.impressum-content a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #021b34 0%, #2266a2 100%);
    color: white;
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    border-radius: 6px;
}

.footer-info {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        padding: 1rem;
    }
    
    .logo {
        height: 7vw;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: clamp(1rem, 2.5vw, 1rem);
    }
    
    .container {
        width: 95%;
        margin: 0 auto 20px auto;
        border-radius: 8px;
    }
    
    header {
        padding: 20px;
        min-height: 10vh;
    }
    
    .logo-container {
        padding: 0 15px;
    }
    
    .logo-container img {
        max-height: 60px;
    }
    
    .page-header {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .impressum-section {
        padding: 25px 25px;
    }
    
    .impressum-section h2 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-bar {
        gap: 0.5rem;
    }
    
    .logo {
        height: 8vw;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-left: 0.5rem !important;
    }
    
    body {
        padding: 0;
    }
    
    .container {
        width: 98%;
        margin: 0 auto 20px auto;
        border-radius: 6px;
    }
    
    header {
        min-height: 12vh;
    }
    
    .page-header {
        padding: 25px 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header h2 {
        font-size: 1rem;
    }
    
    .impressum-section {
        padding: 20px 15px;
    }
    
    .impressum-section h2 {
        font-size: 1.2rem;
    }
    
    .impressum-content {
        font-size: 0.95rem;
    }
    
    .impressum-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .linkedin-link {
        justify-content: center;
        font-size: 0.9rem;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 360px) {
    .top-bar {
        text-align: center;
    }
    
    .logo {
        height: 8vw;
    }
    
    .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-left: 0.3rem !important;
    }
    
    .container {
        width: 100%;
        margin: 0 auto 15px auto;
        border-radius: 8px;
    }
    
    .page-header {
        padding: 20px 10px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header h2 {
        font-size: 0.9rem;
    }
    
    .impressum-section {
        padding: 15px 10px;
    }
    
    .impressum-section h2 {
        font-size: 1.1rem;
    }
    
    .impressum-content p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        padding: 0 10px;
    }
}