/* 
   Corporate Identity: Schmitt & Schmitt Unternehmensberatung GmbH
   Color Palette: Deep Blue (#0d1b2a), Slate (#415a77), Silver (#e0e1dd), Accent Gold (#9a8c73)
*/

:root {
    --primary: #0d1b2a;      /* Dunkles Marineblau - Autorität */
    --secondary: #1b263b;    /* Mittleres Blau - Stabilität */
    --accent: #9a8c73;       /* Dezentes Gold/Bronze - Wertigkeit */
    --text-main: #1b263b;    /* Fast Schwarz für Text */
    --text-muted: #415a77;   /* Grau-Blau für Nebeninformationen */
    --bg-light: #f8f9fa;     /* Sehr helles Grau für Hintergründe */
    --white: #ffffff;
    --border: #e0e1dd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Serif für Überschriften wirkt etablierter */
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: -5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    transform: skewX(-20deg) translateX(50%);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8a7c63;
    box-shadow: 0 5px 15px rgba(154, 140, 115, 0.3);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub { color: var(--accent); }

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Tables for Impressum */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.legal-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-table td:first-child {
    width: 30%;
    font-weight: 700;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-wrapper { flex-direction: column; gap: 20px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero { text-align: center; padding: 80px 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto 30px; }
}
