/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: #f5f7f8;
}

.hero-content {
    max-width: 850px;
}

.hero-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 0 1rem;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.45;
    color: #4a4a4a;
}

.hero-claim {
    margin: 1.5rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}


/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0.8rem 1.4rem;

    border: 2px solid #222;
    border-radius: 4px;

    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: #222;
    color: #fff;
}

.button-primary:hover {
    background: #444;
    border-color: #444;
}

.button-secondary {
    background: transparent;
    color: #222;
}

.button-secondary:hover {
    background: #222;
    color: #fff;
}

/* --------------------------------------------------
   Feature Intro
-------------------------------------------------- */

.feature-intro {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.feature-intro-head {
    max-width: 850px;
    margin-bottom: 3.5rem;
}

.feature-intro-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.feature-intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

.feature-intro-text p:first-child {
    margin-top: 0;
}

.feature-intro-text p:last-child {
    margin-bottom: 0;
}


/* Feature Cards */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: #f5f7f8;
    border-radius: 6px;
}

.feature-card h3 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.25;
}

.feature-card p {
    margin: 0;
    line-height: 1.65;
    color: #555;
}

/* --------------------------------------------------
   Solutions
-------------------------------------------------- */

.solutions {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: #f5f7f8;
}


/* --------------------------------------------------
   Solutions Head
-------------------------------------------------- */

.solutions-head {
    max-width: 850px;
    margin-bottom: 3.5rem;
}

.solutions-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.solutions-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

.solutions-intro p:first-child {
    margin-top: 0;
}

.solutions-intro p:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   Solutions Grid
-------------------------------------------------- */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}


/* --------------------------------------------------
   Solution Card
-------------------------------------------------- */

.solution-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 8px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
}

.solution-card:focus-within {
    outline: 3px solid #222;
    outline-offset: 3px;
}


/* --------------------------------------------------
   Solution Card Image
-------------------------------------------------- */

.solution-card-image {
    position: relative;

    overflow: hidden;
    aspect-ratio: 16 / 9;

    background: #e9ebec;
}

.solution-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.025);
}


/* --------------------------------------------------
   Solution Card Content
-------------------------------------------------- */

.solution-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 1.8rem;
}

.solution-card-content h3 {
    margin: 0 0 0.8rem;

    font-size: 1.5rem;
    line-height: 1.25;
}

.solution-card-content p {
    margin: 0 0 1.3rem;

    line-height: 1.65;
    color: #555;
}


/* --------------------------------------------------
   Solution Card Link
-------------------------------------------------- */

.solution-card-link {
    display: inline-block;

    margin-top: auto;

    font-weight: 700;
    text-decoration: none;
}

.solution-card-link::after {
    content: " →";
}


/*
   Unsichtbare Linkfläche über die gesamte Karte.
   Der eigentliche Linktext bleibt sichtbar.
*/

.solution-card-link::before {
    content: "";

    position: absolute;
    z-index: 10;

    inset: 0;
}

.solution-card-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}


/* --------------------------------------------------
   Optional: sauberer Hover auch über kompletter Karte
-------------------------------------------------- */

.solution-card:hover .solution-card-link {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

/* --------------------------------------------------
   Functions
-------------------------------------------------- */

.functions {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: #fff;
}


/* Header */

.functions-head {
    max-width: 850px;
    margin-bottom: 3.5rem;
}

.functions-title {
    margin: 0 0 1.5rem;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.functions-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

.functions-intro p:first-child {
    margin-top: 0;
}

.functions-intro p:last-child {
    margin-bottom: 0;
}


/* Grid */

.functions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}


/* Card */

.function-card {
    position: relative;

    min-height: 260px;
    padding: 2rem;

    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    transition: background-color 0.2s ease;
}

.function-card:hover {
    background: #f5f7f8;
}


/* Number */

.function-number {
    display: block;

    margin-bottom: 2.5rem;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #999;
}


/* Title */

.function-card h3 {
    margin: 0 0 0.8rem;

    font-size: 1.35rem;
    line-height: 1.25;
}


/* Text */

.function-card p {
    margin: 0;

    line-height: 1.65;
    color: #555;
}


/* More */

.functions-more {
    margin-top: 2.5rem;
}

/* --------------------------------------------------
   Purchase Model
-------------------------------------------------- */

.purchase {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: #222;
    color: #fff;
}

.purchase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.purchase-main {
    max-width: 700px;
}

.purchase-title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.purchase-text {
    max-width: 650px;

    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
}

.purchase-text p:first-child {
    margin-top: 0;
}

.purchase-text p:last-child {
    margin-bottom: 0;
}

.purchase-action {
    margin-top: 2.2rem;
}


/* Benefits */

.purchase-benefits {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.purchase-benefit {
    padding: 1.8rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.purchase-number {
    display: block;

    margin-bottom: 0.8rem;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: rgba(255, 255, 255, 0.45);
}

.purchase-benefit h3 {
    margin: 0 0 0.6rem;

    font-size: 1.4rem;
    line-height: 1.25;
}

.purchase-benefit p {
    margin: 0;

    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}


/* Light Button */

.button-light {
    background: #fff;
    border-color: #fff;
    color: #222;
}

.button-light:hover {
    background: transparent;
    color: #fff;
}

/* --------------------------------------------------
   Trust / References
-------------------------------------------------- */

.trust {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: #fff;
}


/* Head */

.trust-head {
    max-width: 850px;
    margin-bottom: 3.5rem;
}

.trust-title {
    margin: 0 0 1.5rem;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.trust-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

.trust-intro p:first-child {
    margin-top: 0;
}

.trust-intro p:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   Stats
-------------------------------------------------- */

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-bottom: 4.5rem;

    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.trust-stat {
    padding: 2.2rem 1.8rem;

    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.trust-stat strong {
    display: block;

    margin-bottom: 0.35rem;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.05em;
}

.trust-stat span {
    display: block;

    font-size: 0.95rem;
    color: #666;
}


/* --------------------------------------------------
   References
-------------------------------------------------- */

.trust-references {
    padding-top: 1rem;
}

.trust-references-label {
    margin: 0 0 2rem;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #888;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 120px;
    padding: 1.5rem;

    border: 1px solid #e5e5e5;
    background: #fff;
}

.trust-logo img {
    width: auto;
    max-width: 100%;
    max-height: 70px;

    object-fit: contain;
}


/* --------------------------------------------------
   Action
-------------------------------------------------- */

.trust-action {
    margin-top: 3rem;
}

/* --------------------------------------------------
   CTA
-------------------------------------------------- */

.cta {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: #f5f7f8;
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}

.cta-content {
    max-width: 760px;
}

.cta-title {
    margin: 0 0 1.5rem;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.cta-text {
    max-width: 650px;

    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
}

.cta-text p:first-child {
    margin-top: 0;
}

.cta-text p:last-child {
    margin-bottom: 0;
}


/* Actions */

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.cta-actions .button {
    width: 100%;
    min-height: 56px;
}