/* Business Card Style for Elektro-Krüger */
/* Compact, professional business card design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #f5f5f5;
}

/* Business Card Container - Centered on page */
.business-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.card-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.2rem;
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Logo Section - More compact */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.3rem;
}

.main-logo {
    max-width: 160px;
    height: auto;
}

/* Company Name with Logo - Accessible Design */
.company-name {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.company-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    z-index: -1;
}

.company-text:focus,
.company-text:active {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    background-color: #ff9800;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    display: inline-block;
    z-index: 100;
}

.company-logo {
    max-width: 250px;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Contact Information - Tighter spacing */
.contact-info {
    text-align: center;
}

.contact-info h1 {
    color: #1a3e72;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Section Styling - Reduced padding and margins */
.address-section, .communication-section, .business-hours, .tax-info {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.address-section:last-child, .communication-section:last-child, .business-hours:last-child, .tax-info:last-child {
    border-bottom: none;
}

/* Address - Slightly smaller */
.address {
    font-size: 1.1rem;
    color: #1a3e72;
    font-weight: 500;
    margin: 0.3rem 0;
}

/* Communication - More compact */
.phone, .fax, .email, .mobile, .website {
    font-size: 1rem;
    margin: 0.3rem 0;
    color: #555;
    line-height: 1.3;
}

.phone a, .email a, .mobile a, .website a {
    color: #1a3e72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone a:hover, .email a:hover, .mobile a:hover, .website a:hover {
    color: #ff9800;
    text-decoration: underline;
}

/* Business Hours - More compact */
.business-hours {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

/* Tax Information - More compact */
.tax-info {
    font-size: 0.85rem;
    color: #777;
    border-bottom: none !important;
    margin-top: 0.5rem;
}

/* Responsive adjustments will be in responsive.css */
