/* Color Palette & Variables */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Inter-Light.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
}

:root {
    --primary: #145C9E;
    /* Actions/Buttons */
    --primary-dark: #0f4577;
    --secondary: #4BB3FD;
    /* Highlights/Icons */
    --background: #D4D6B9;
    /* Sections */
    --text-dark: #4A5043;
    /* Text/Headlines */
    --muted: #9D96B8;
    /* Dividers */
    --white: #FFFFFF;
    --light-bg: #f9faf8;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading .subheading {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(20, 92, 158, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 92, 158, 0.3);
}

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 65px;
    width: auto;
}

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

.nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background: url('../img/ruempel_compressed.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: rgba(75, 179, 253, 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(20, 92, 158, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(75, 179, 253, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--primary);
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(75, 179, 253, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #5a6152;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

/* Benefits Section */
.benefits {
    padding: 7rem 0;
    background-color: var(--white);
}

.benefit-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(157, 150, 184, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(75, 179, 253, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #5a6152;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background-color: var(--background);
    padding: 7rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;

}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateX(5px);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: #5a6152;
}

/* Calculator Section */
.calculator-section {
    padding: 7rem 0;
    background-color: var(--white);
    position: relative;
}

.calculator-box {
    background-color: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(157, 150, 184, 0.2);
    position: relative;
}

.calculator-box::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, rgba(212, 214, 185, 0.5), transparent);
    border-radius: 25px;
    z-index: -1;
}

.calc-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.calc-header p {
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: 2px solid rgba(157, 150, 184, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(75, 179, 253, 0.1);
}

.calc-result {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(to right, rgba(20, 92, 158, 0.03), rgba(75, 179, 253, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(20, 92, 158, 0.1);
    animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.calc-result h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
}

.calc-result #price-output {
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-dark);
}

.divider {
    height: 1px;
    background-color: rgba(157, 150, 184, 0.2);
    margin: 1.5rem 0;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-section {
    padding: 7rem 0;
    background-color: var(--white);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--light-bg);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(157, 150, 184, 0.15);
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #5a6152;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details .icon {
    font-size: 1.5rem;
    background-color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid rgba(157, 150, 184, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--white);
    font-family: inherit;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(75, 179, 253, 0.1);
}

.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c8e6c9;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease;
}

/* SEO Text Section */
.seo-text-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
    border-top: 1px solid rgba(157, 150, 184, 0.2);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.seo-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.seo-content p {
    font-size: 1.1rem;
    color: #5a6152;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.seo-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #2c3028;
    /* Darker shade of text-dark */
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer p,
.footer li {
    color: #aeb5a3;
}

.footer a {
    color: #aeb5a3;
    transition: color 0.3s ease;
}

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

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
}

.contact-list strong {
    color: var(--white);
}

.footer ul:not(.contact-list) {
    list-style: none;
}

.footer ul:not(.contact-list) li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7b8371;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .section-heading h2 {
        font-size: 2rem;
    }

    .calculator-box {
        padding: 2.5rem 1.5rem;
    }
}