/* 
   Corporate Identity: rowa Management und Beratung GmbH
   Style: Hanseatisch-seriös, klar, stabil, Management-Fokus
   Color Palette: Deep Navy (#0a192f), Slate (#64748b), Soft Grey (#f1f5f9), Silver (#e2e8f0)
*/

:root {
    --primary: #0a192f;      /* Tiefes Navy - Stabilität */
    --secondary: #1e293b;    /* Schieferblau - Management */
    --accent: #3b82f6;       /* Blau für Dynamik */
    --text-main: #0f172a;    /* Fast Schwarz */
    --text-muted: #475569;
    --bg-light: #f8fafc;     /* Sehr helles Grau */
    --white: #ffffff;
    --border: #e2e8f0;
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: lowercase;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-label {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

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

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

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

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.05);
}

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

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

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

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

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

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

.footer-text {
    color: #94a3b8;
    margin-top: 20px;
    max-width: 400px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

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

.legal-table td {
    padding: 20px 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: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-wrapper { flex-direction: column; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
