/* Style für Homepage von Keller aerotech */

/* Grundlayout */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #ffffff;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 50px;
}

.site-header,
.site-footer {
    background: linear-gradient(135deg, #0f1c2e, #1f3556);
    color: #ffffff;
    padding: 0; /* wichtig */
	flex-shrink: 0;
}

.site-content {
    flex: 1;           /* füllt den verfügbaren Raum */
    padding: 40px 50px;
}

/* Footer and Header */
.logo img {
    max-height: 75px;
    width: auto;
    display: block;
}

.branding {
    display: flex;
    flex-direction: column;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
	gap: 20px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}
.site-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.site-subtitle {
    font-size: 0.85rem;
    color: #b5c3d6;
}
.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li {
    margin: 0; /* überschreibt globale li-Regel */
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #7fb5ff;
}
.language-switch {
    font-size: 0.8rem;
    white-space: nowrap;
}

.language-switch a {
    color: #b5c3d6;
    text-decoration: none;
    font-weight: 500;
}

.language-switch a.active {
    color: #ffffff;
    text-decoration: underline;
}

.language-switch a:hover {
    color: #ffffff;
}

.language-switch span {
    margin: 0 6px;
    color: #b5c3d6;
}

.footer-meta {
    margin: 0;
    font-size: 0.9rem;
}

/* Content */
.content-body{
	
}

/* =========================
   Typografie Content
========================= */

.content-body h1 {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-body h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.content-body p {
    max-width: 900px;
    margin-bottom: 20px;
}

/* =========================
   Sections Grundlayout
========================= */

.content-body section {
    margin-bottom: 80px;
}

.content-image img {
	max-width: 500px;
    width: 100%;
    height: auto;
}

/* Grid */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* =========================
   Hero Section
========================= */

.hero h2 {
    font-weight: 400;
    color: #4a5d78;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.05rem;
}

/* =========================
   Intro
========================= */



/* =========================
   Services / Parts / Technology
========================= */

.services h3,
.parts h3,
.technology h3 {
    margin-top: 25px;
}

.services ul {
    max-width: 900px;
    padding-left: 20px;
}

.services li {
    margin-bottom: 10px;
}

/* =========================
   Why Section
========================= */

.why {
    background-color: #f4f7fb;
    padding: 50px;
    border-left: 6px solid #1f3556;
}

.why h2 {
    margin-top: 0;
}

/* =========================
   Call to Action
========================= */

.cta {
    background: linear-gradient(135deg, #0f1c2e, #1f3556);
    color: #ffffff;
    padding: 60px;
}

.cta h2,
.cta h3 {
    color: #ffffff;
}

.cta p {
    max-width: 700px;
    margin-bottom: 0;
}
.cta-button {
    text-align: center;
    margin: 40px 0;
}
.cta-button a {
    display: inline-block;
    background-color: #0072ce;   /* kräftiges Blau, passend zu Tech/Aerospace */
    color: #ffffff;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}
.cta-button a:hover {
    background-color: #005ea3;   /* dunkleres Blau beim Hover */
    transform: translateY(-2px);
}

/* =========================
   Responsive Anpassungen
========================= */

@media (max-width: 900px) {

    .container {
        padding: 25px;
    }

    .content-body h1 {
        font-size: 2rem;
    }

    .content-body h2 {
        font-size: 1.4rem;
    }

    .why,
    .cta {
        padding: 35px;
    }
}

