/* ==========================================================================
   Impulsprojekte UG – Stylesheet
   Professionelle B2B-Webseite für Personalvermittlung
   ========================================================================== */

/* ---------- Reset & Basis ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #0f2a44;
    --color-primary-dark: #0a1d30;
    --color-primary-light: #1a3a5c;
    --color-accent: #e87722;
    --color-accent-dark: #c9651a;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --color-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-bg-dark: #0f2a44;
    --color-border: #e5e7eb;
    --color-success: #16a34a;

    --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 42, 68, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 42, 68, 0.12);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;

    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
    color: var(--color-text-light);
}

li {
    margin-bottom: 0.4rem;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.logo:hover {
    color: var(--color-primary);
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.2rem;
    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    bottom: 6px;
    right: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-alt);
}

.main-nav a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.main-nav .btn {
    margin-left: 0.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.2;
    font-family: var(--font-base);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

.btn-light {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.btn-light:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    padding: 5rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(232, 119, 34, 0.05) 35px,
            rgba(232, 119, 34, 0.05) 70px
        );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-item::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Hero visual / illustration */
.hero-visual {
    position: relative;
    height: 380px;
}

.hero-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    color: #ffffff;
}

.hero-card-1 {
    top: 30px;
    left: 0;
    width: 220px;
}

.hero-card-2 {
    top: 130px;
    right: 0;
    width: 240px;
}

.hero-card-3 {
    bottom: 20px;
    left: 60px;
    width: 240px;
}

.hero-card .label {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.hero-card .value {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Sections ---------- */
section {
    padding: 4.5rem 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-primary);
    color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

.section-dark p,
.section-dark li {
    color: rgba(255, 255, 255, 0.85);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-header .eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* ---------- Cards Grid ---------- */
.grid {
    display: grid;
    gap: 1.75rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.25s ease;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(15, 42, 68, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    border: 2px solid var(--color-bg-alt);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ---------- Two Column ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-col-content h2 {
    margin-bottom: 1.25rem;
}

.two-col-visual {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #ffffff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.two-col-visual::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(232, 119, 34, 0.15);
    border-radius: 50%;
}

.two-col-visual h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.two-col-visual p,
.two-col-visual li {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.two-col-visual ul {
    list-style: none;
    padding-left: 0;
}

.two-col-visual ul li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.7rem;
}

.two-col-visual ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.15rem;
}

/* Reverse two-col */
.two-col.reverse .two-col-visual {
    order: -1;
}

/* ---------- Process Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    position: relative;
    counter-increment: step;
}

.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -16px;
    left: 1.5rem;
    background-color: var(--color-accent);
    color: #ffffff;
    width: 40px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step h3 {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.5rem;
}

.step p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.cta-banner .actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Page Hero (kleinerer Hero für Unterseiten) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(232, 119, 34, 0.06) 30px,
            rgba(232, 119, 34, 0.06) 60px
        );
}

.page-hero-inner {
    position: relative;
    max-width: 760px;
}

.page-hero h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin-bottom: 0.85rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

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

.breadcrumb span:not(.sep) {
    color: var(--color-accent);
}

.breadcrumb .sep {
    opacity: 0.5;
}

/* ---------- Forms ---------- */
.form-section {
    padding: 4rem 0;
}

.form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-wrapper.dark-bg {
    background-color: var(--color-bg-alt);
}

.form-wrapper h2 {
    margin-bottom: 0.5rem;
}

.form-wrapper > p {
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

label .req {
    color: var(--color-accent);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: #ffffff;
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 42, 68, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-actions {
    margin-top: 1rem;
}

.form-actions .btn {
    min-width: 220px;
}

/* ---------- Info Boxes ---------- */
.info-box {
    background-color: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--color-primary);
}

.placeholder-notice {
    background-color: #fff8e1;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    font-size: 0.92rem;
    color: #78350f;
}

.placeholder-notice strong {
    color: #92400e;
}

/* ---------- Lists with checkmarks ---------- */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.05rem;
}

/* ---------- Tag list ---------- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.tag-list li {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* ---------- Contact Cards ---------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
}

.contact-card .card-icon {
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
}

.contact-card a {
    color: var(--color-primary);
}

.contact-card a:hover {
    color: var(--color-accent);
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--color-primary);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.map-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(15, 42, 68, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 42, 68, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-placeholder-content {
    position: relative;
    text-align: center;
    background-color: #ffffff;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-placeholder-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.map-placeholder-content span {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
    margin-top: 1.75rem;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content address {
    font-style: normal;
    background-color: var(--color-bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    margin: 1rem 0;
    line-height: 1.7;
}

/* ---------- Über uns extras ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.value-item .marker {
    width: 36px;
    height: 4px;
    background-color: var(--color-accent);
    margin-bottom: 1rem;
    border-radius: 2px;
}

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 18px;
    height: 18px;
    background-color: var(--color-accent);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--color-border);
}

.timeline-year {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.timeline-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.timeline-item p {
    margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-brand .logo {
    color: #ffffff;
}

.footer-brand .logo:hover {
    color: #ffffff;
}

.footer-brand .logo-text small {
    color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

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

.footer address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer address a {
    color: rgba(255, 255, 255, 0.85);
}

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

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.65rem; }

    .hero {
        padding: 4rem 0 4rem;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .two-col.reverse .two-col-visual {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav .btn {
        margin-top: 0.75rem;
        margin-left: 0;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    section {
        padding: 3rem 0;
    }

    .form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero h1 {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.45rem; }

    .container {
        padding: 0 1rem;
    }

    .form-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* ---------- Print styles ---------- */
@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .btn,
    .cta-banner {
        display: none;
    }
}
