/* Webdesign Content Section Styling */
.webdesign-content-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.webdesign-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.webdesign-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.webdesign-image-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webdesign-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.webdesign-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.webdesign-text-column {
    padding: 20px 0;
}

.webdesign-heading {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.webdesign-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.webdesign-text p {
    margin: 0;
}

.webdesign-text strong {
    color: #2B9184;
    font-weight: 700;
}

/* Services Section Styling */
.services-section {
    padding: 80px 0;
    background: #e9ecef;
    color: #1a1a1a;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 145, 132, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    width: 90%;
    max-width: 900px;
}

.service-card {
    align-self: center;
    margin: 0 auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(43, 145, 132, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    color: #2B9184;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(141deg) brightness(96%) contrast(86%);
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Preistool Section Styling */
.preistool-section {
    padding: 80px 0;
    background: #f8f9fa;
    color: #1a1a1a;
}

.preistool-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.preistool-title {
    margin: 0;
    text-align: center;
    color: #1a1a1a;
    font-weight: 900;
    font-size: 34px;
}

.preistool-kicker {
    text-align: center;
    color: #2B9184;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.preistool-intro {
    max-width: 920px;
    margin: 0 auto 24px auto;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

.preistool-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.preistool-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preistool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.preistool-inputs {
    flex: 1 1 520px;
    min-width: 320px;
}

.preistool-output {
    flex: 1 1 360px;
    min-width: 300px;
    box-shadow: none;
    border-left: none;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

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

.preistool-label {
    display: block;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.preistool-helper {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.preistool-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preistool-btn-col {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.preistool-opt {
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #1a1a1a;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.preistool-opt:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 145, 132, 0.2);
    border-color: #2B9184;
}

.preistool-opt.selected {
    background: linear-gradient(135deg, #2B9184, #1F7A6F);
    color: #fff;
    border-color: #2B9184;
    box-shadow: 0 4px 15px rgba(43, 145, 132, 0.3);
}

.preistool-opt.small {
    padding: 8px 12px;
    font-size: 14px;
}

.preistool-opt.wide {
    min-width: 140px;
    text-align: center;
}

.preistool-opt.langwide {
    min-width: 80px;
    text-align: center;
}

.preistool-line {
    margin: 8px 0;
    font-size: 16px;
}

.preistool-zero {
    text-decoration: line-through;
    color: #6b7280;
}

.preistool-hr {
    border: 0;
    border-top: 2px solid #e5e7eb;
    margin: 12px 0;
}

.preistool-sum {
    font-weight: 900;
    font-size: 18px;
}

.preistool-vat {
    color: #6b7280;
    font-size: 14px;
}

.preistool-gross {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
}

.preistool-panel-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.preistool-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #6b7280;
    font-size: 12px;
    margin-top: 8px;
}

.preistool-info .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #111;
    font-weight: 800;
    font-size: 12px;
    flex: 0 0 18px;
}

.preistool-cta {
    margin-top: 20px;
    display: block;
    background: linear-gradient(135deg, #2B9184, #1F7A6F);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transition: all 0.3s ease;
}

.preistool-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 145, 132, 0.4);
    background: linear-gradient(135deg, #1F7A6F, #2B9184);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2B9184 0%, #1F7A6F 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: #2B9184;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary {
    background: #1F7A6F;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #1F7A6F;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .webdesign-content-section {
        padding: 60px 20px;
    }
    
    .webdesign-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }
    
    .webdesign-heading {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .webdesign-text {
        font-size: 1rem;
    }
    
    .webdesign-image-container {
        max-width: 400px;
    }
    
    .services-section {
        padding: 60px 20px;
    }
    
    .services-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        gap: 25px;
        padding: 0 16px;
    }
    
    .service-card {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
        max-width: none;
        align-self: center !important;
        margin: 0 !important;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .preistool-section {
        padding: 60px 20px;
    }
    
    .preistool-wrap {
        padding: 0 16px;
    }
    
    .preistool-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .preistool-kicker {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .preistool-intro {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .preistool-grid {
        flex-direction: column;
        gap: 24px;
    }
    
    .preistool-inputs,
    .preistool-output {
        flex: none;
        min-width: auto;
    }
    
    .preistool-output {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .preistool-card {
        padding: 24px;
    }
    
    .preistool-group {
        margin-bottom: 24px;
    }
    
    .preistool-btn-row {
        gap: 8px;
    }
    
    .preistool-opt {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .preistool-opt.small {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .preistool-cta {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
    .webdesign-content-section {
        padding: 40px 16px;
    }
    
    .webdesign-content-grid {
        gap: 30px;
        padding: 0 12px;
    }
    
    .webdesign-heading {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .webdesign-text {
        font-size: 0.95rem;
    }
    
    .webdesign-image-container {
        max-width: 100%;
    }
    
    .services-section {
        padding: 40px 16px;
    }
    
    .services-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        gap: 20px;
        padding: 0 12px;
    }
    
    .service-card {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
        max-width: none;
        align-self: center !important;
        margin: 0 !important;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .preistool-section {
        padding: 40px 16px;
    }
    
    .preistool-title {
        font-size: 24px;
    }
    
    .preistool-kicker {
        font-size: 14px;
    }
    
    .preistool-intro {
        font-size: 15px;
    }
    
    .preistool-card {
        padding: 20px;
    }
    
    .preistool-btn-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .preistool-opt {
        width: 100%;
        text-align: center;
    }
    
    .preistool-opt.wide,
    .preistool-opt.langwide {
        min-width: auto;
    }
}

/* Referenzen Section Styling */
.referenzen-section {
    padding: 80px 0;
    background: #ffffff;
    color: #1a1a1a;
}

.referenzen-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.referenzen-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.referenzen-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.referenz-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 145, 132, 0.1);
    height: 400px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}


.referenz-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.referenz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.referenz-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 40px 24px;
}

.referenz-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.referenz-overlay p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Responsive Design für Referenzen */
@media (max-width: 768px) {
    .referenzen-section {
        padding: 60px 20px;
    }
    
    .referenzen-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .referenzen-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .referenzen-grid {
        gap: 25px;
        padding: 0 16px;
    }
    
    .referenz-card {
        height: 320px;
    }
    
    .referenz-overlay {
        padding: 20px 24px 16px;
    }
    
    .referenz-overlay h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .referenz-overlay p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .referenzen-section {
        padding: 40px 16px;
    }
    
    .referenzen-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .referenzen-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .referenzen-grid {
        gap: 20px;
        padding: 0 12px;
    }
    
    .referenz-card {
        height: 280px;
    }
    
    .referenz-overlay {
        padding: 16px 20px 12px;
    }
    
    .referenz-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .referenz-overlay p {
        font-size: 0.9rem;
    }
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .cta-section {
        padding: 50px 0;
    }
}