/* ============================================
   STYLE2.CSS - PROFESSIONAL IMPRESSUM STYLING
   ============================================ */

:root {
    --accent: #2563eb; /* Passend zum "Trust Blue" der Hauptseite */
    --accent-rgb: 37, 99, 235;
    --bg: #0f172a; /* Dunkler Hintergrund für Fokus */
    --card: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --shadow: 0 20px 50px rgba(0,0,0,0.5);
    --transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Base Setup */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    cursor: none; 
    overflow-x: hidden;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.8;
}

/* Custom Cursor */
.cursor-dot { 
    width: 8px; 
    height: 8px; 
    background: var(--accent); 
    position: fixed; 
    border-radius: 50%; 
    z-index: 10000; 
    pointer-events: none; 
}

.cursor-outline { 
    width: 40px; 
    height: 40px; 
    border: 2px solid var(--accent); 
    position: fixed; 
    border-radius: 50%; 
    z-index: 10000; 
    pointer-events: none; 
    transform: translate(-50%, -50%); 
}

/* Layout Wrapper */
.impressum-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.05), transparent);
}

.impressum-card {
    background: var(--card);
    max-width: 1000px;
    width: 100%;
    padding: 5rem 4rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Header Decor */
.impressum-header {
    text-align: center;
    margin-bottom: 5rem;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 12px; /* Eckiger/Moderner wie in deiner Vorlage */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.3);
}

.impressum-card h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Grid System für Unternehmensdaten */
.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.grid-item h3 {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-item address, .grid-item p {
    font-style: normal;
    color: var(--text-muted);
}

.grid-item strong {
    color: #fff;
}

.grid-item a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.grid-item a:hover { 
    color: var(--accent); 
    border-bottom: 1px solid var(--accent);
}

/* Legal Content Section */
.legal-content {
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: justify;
}

/* Zentrierter Button Bereich */
.button-container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 3.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
}

.back-home-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.5);
    background: #fff;
    color: var(--accent);
}

/* Animationen */
.fade-in {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .impressum-card { padding: 4rem 2.5rem; }
    .impressum-card h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
    html { cursor: auto; }
    .impressum-card { padding: 3rem 1.5rem; border-radius: 25px; }
    .impressum-card h1 { font-size: 2.2rem; }
    .impressum-grid { gap: 2.5rem; }
    .back-home-btn { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.9rem; }
}