/* ============================================
   FALKENBAU LEIPZIG – Haupt-Stylesheet
   Farben: Dunkelblau #1a2a5e · Orange #f57c00 · Weiß #ffffff
   ============================================ */

/* === RESET & BASIS === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
    background: #fff;
}

a { color: #f57c00; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1a2a5e; }

img { max-width: 100%; height: auto; }

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

/* === HEADER === */
header {
    background: #ffffff;
    border-bottom: 3px solid #f57c00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.header-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
}

.header-logo-text .brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2a5e;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.header-logo-text .brand-sub {
    font-size: 0.78rem;
    color: #f57c00;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === NAVIGATION === */
nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li a {
    color: #1a2a5e;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 7px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
    background: #1a2a5e;
    color: #ffffff;
}

nav ul li a.nav-cta {
    background: #f57c00;
    color: #ffffff;
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 700;
}

nav ul li a.nav-cta:hover {
    background: #e06800;
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #1a2a5e;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* === HERO STARTSEITE === */
.hero {
    background: linear-gradient(135deg, #1a2a5e 0%, #2c3e82 60%, #1a2a5e 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero h1 span { color: #f57c00; }

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.92;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #f57c00;
    color: #fff;
}

.btn-primary:hover {
    background: #e06800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245,124,0,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 12px;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a2a5e;
}

.btn-outline {
    background: transparent;
    color: #1a2a5e;
    border: 2px solid #1a2a5e;
}

.btn-outline:hover {
    background: #1a2a5e;
    color: #fff;
}

/* === SEKTIONEN === */
section { padding: 60px 0; }

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

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #1a2a5e;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: #555;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.section-title .title-line {
    width: 60px;
    height: 4px;
    background: #f57c00;
    margin: 12px auto 0;
    border-radius: 2px;
}

.bg-light { background: #f8f6f2; }
.bg-dark { background: #1a2a5e; color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .title-line { background: #f57c00; }

/* === LEISTUNGS-KARTEN === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(26,42,94,0.10);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(26,42,94,0.18);
}

.card-icon {
    background: #1a2a5e;
    padding: 28px;
    text-align: center;
    font-size: 2.8rem;
    color: #f57c00;
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.2rem;
    color: #1a2a5e;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-body p {
    color: #555;
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 16px;
}

.card-body .btn { align-self: flex-start; font-size: 0.9rem; padding: 9px 20px; }

/* === USP-BALKEN === */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}

.usp-item {
    padding: 28px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
}

.usp-item .usp-icon {
    font-size: 2.5rem;
    color: #f57c00;
    margin-bottom: 14px;
    display: block;
}

.usp-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #fff;
}

.usp-item p {
    font-size: 0.9rem;
    opacity: 0.85;
    color: #ddd;
}

/* === EINSATZGEBIET === */
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.city-tag {
    background: #1a2a5e;
    color: #fff;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}

.city-tag:hover { background: #f57c00; }

/* === KONTAKTFORMULAR === */
.form-section {
    background: #f8f6f2;
    padding: 60px 0;
}

.form-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(26,42,94,0.10);
    padding: 44px 40px;
}

.form-wrap h2 {
    color: #1a2a5e;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-wrap .form-subtitle {
    color: #666;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a2a5e;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.form-group label .req {
    color: #f57c00;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.97rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f57c00;
    background: #fff;
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* Captcha */
.captcha-box {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.captcha-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2a5e;
    background: #1a2a5e;
    color: #f57c00;
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 1px;
    min-width: 120px;
    text-align: center;
}

.captcha-box input {
    width: 90px !important;
    padding: 9px 12px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
}

.captcha-refresh {
    background: none;
    border: 2px solid #1a2a5e;
    color: #1a2a5e;
    border-radius: 6px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.captcha-refresh:hover {
    background: #1a2a5e;
    color: #fff;
}

.captcha-label {
    font-size: 0.88rem;
    color: #555;
}

/* Checkbox DSGVO */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #f57c00;
    cursor: pointer;
}

.form-check a { color: #f57c00; }

.form-msg {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-weight: 600;
    display: none;
}

.form-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #43a047;
    display: block;
}

.form-msg.error {
    background: #fce4ec;
    color: #c62828;
    border-left: 4px solid #e53935;
    display: block;
}

.form-group .field-error {
    color: #e53935;
    font-size: 0.82rem;
    margin-top: 4px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #e53935;
}

.form-group.has-error .field-error { display: block; }

/* === SEITEN-HERO (Unterseiten) === */
.page-hero {
    background: linear-gradient(135deg, #1a2a5e 0%, #2c3e82 100%);
    color: #fff;
    padding: 60px 20px 50px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.88rem;
    color: #777;
}

.breadcrumb a { color: #f57c00; }
.breadcrumb span { margin: 0 6px; }

/* === LEISTUNGSSEITE LAYOUT === */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 60px 0;
}

.service-content h2 {
    font-size: 1.5rem;
    color: #1a2a5e;
    font-weight: 700;
    margin: 28px 0 12px;
}

.service-content p {
    color: #444;
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-content ul li {
    padding: 7px 0 7px 28px;
    position: relative;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.service-content ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #f57c00;
    font-weight: 700;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(26,42,94,0.10);
    padding: 24px;
}

.sidebar-box h3 {
    color: #1a2a5e;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f57c00;
}

.sidebar-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.93rem;
}

.sidebar-contact p .icon {
    color: #f57c00;
    font-size: 1rem;
    min-width: 20px;
}

.sidebar-contact .big-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2a5e;
    text-decoration: none;
}

.sidebar-contact .big-phone:hover { color: #f57c00; }

.service-links a {
    display: block;
    padding: 9px 0;
    color: #333;
    font-size: 0.92rem;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s, padding-left 0.2s;
}

.service-links a:hover {
    color: #f57c00;
    padding-left: 6px;
}

.service-links a.current {
    color: #f57c00;
    font-weight: 700;
    padding-left: 6px;
}

/* === KARRIERE === */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.job-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(26,42,94,0.10);
    padding: 28px;
    border-top: 4px solid #f57c00;
    transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(26,42,94,0.15);
}

.job-card .job-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.job-card h3 {
    color: #1a2a5e;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.job-card p {
    color: #555;
    font-size: 0.93rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.job-tag {
    background: #e8ecf5;
    color: #1a2a5e;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-tag.orange {
    background: #fff3e0;
    color: #e65100;
}

/* === ÜBER UNS === */
.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(26,42,94,0.08);
}

.value-item .value-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}

.value-item h3 {
    color: #1a2a5e;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-item p {
    color: #555;
    font-size: 0.92rem;
}

/* Zähler */
.stats-bar {
    background: #f57c00;
    padding: 30px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.stat-item .stat-label {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}

/* === FOOTER === */
footer {
    background: #1a2a5e;
    color: #fff;
    padding-top: 50px;
}

.footer-contact-bar {
    background: #fff;
    padding: 22px 0;
    border-bottom: 4px solid #f57c00;
}

.footer-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    align-items: center;
    justify-content: space-between;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: #222;
}

.footer-contact-item .icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f57c00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #1a2a5e;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact-item a:hover { color: #f57c00; }

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(245,124,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo-wrap img {
    height: 55px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
}

.footer-logo-wrap .footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 0.9rem;
    color: #b0bdd8;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #b0bdd8;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col ul li a::before {
    content: '›';
    margin-right: 6px;
    color: #f57c00;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    background: #111d42;
    padding: 16px 20px;
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: #7888a8;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: #7888a8;
    font-size: 0.85rem;
    margin-left: 16px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #f57c00; }

/* === IMPRESSUM/DATENSCHUTZ === */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h1 {
    color: #1a2a5e;
    font-size: 2rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    color: #1a2a5e;
    font-size: 1.25rem;
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-content h3 {
    color: #333;
    font-size: 1.05rem;
    margin: 18px 0 8px;
}

.legal-content p,
.legal-content ul,
.legal-content li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-content ul { padding-left: 20px; }

/* === KONTAKT SEITE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26,42,94,0.10);
    padding: 36px;
}

.contact-info-box h2 {
    color: #1a2a5e;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .ci-icon {
    width: 42px;
    height: 42px;
    background: #1a2a5e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f57c00;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item .ci-text h4 {
    color: #1a2a5e;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.contact-info-item .ci-text p,
.contact-info-item .ci-text a {
    color: #444;
    font-size: 0.97rem;
    text-decoration: none;
}

.contact-info-item .ci-text a:hover { color: #f57c00; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-layout { grid-template-columns: 1fr; }
    .service-sidebar { order: -1; }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 2px solid #f57c00;
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        padding: 10px 0;
        z-index: 999;
    }

    nav.open { display: block; }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 10px;
    }

    nav ul li a {
        display: block;
        padding: 12px 16px;
        border-radius: 6px;
    }

    .hamburger { display: flex; }

    .hero { padding: 60px 16px; }
    .form-row { grid-template-columns: 1fr; }
    .form-wrap { padding: 28px 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-contact-inner { flex-direction: column; }
}

@media (max-width: 480px) {
    .header-logo-text .brand-name { font-size: 1.1rem; }
    .header-logo img { height: 50px; }
}
