/* ===================== Hero Section ===================== */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 32px;
    margin-top: 32px;
    padding: 40px 32px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #b7ddff 0, #ffffff 60%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}
.hero a {
    font-size: 28px;
    font-weight: 600;
}
.hero a:hover {
    color: var(--primary-dark);
}
.hero .hero-buttons p {
    font-size: 16px;
    color: var(--text-muted);
}
.hero .hero-illustration-inner img{
    width:100%;
    height: 100%;
    max-width: 100%;
}

.hero-text {
    border-right: 1px solid #eeded7;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.btn-primary {
    background: var(--primary-dark);
    color: #ffffff;
    border-radius: 999px;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(232, 154, 142, 0.35);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
    display: inline-block;
}

.btn-secondary {
    background: #ffffff;
    color: #1e88e5;
    border-radius: 999px;
    border: 1px solid #1e88e5;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out;
    display: inline-block;
}

.btn-primary:hover {
    background: #d87f72;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(232, 154, 142, 0.45);
}

.btn-secondary:hover {
    background: #1e88e5;
    color:#fff;
    box-shadow: 0 4px 10px rgba(232, 154, 142, 0.18);
}

.hero-illustration {
    background: #e3e3e3;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration-inner {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #f2d16d 100%);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* ===================== Tagesbotschaft ===================== */
.tagesbotschaft {
    margin-top: 40px;
    padding: 16px 24px;
    background: #fff7f3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tagesbotschaft-title {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.tagesbotschaft-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-left: 12px;
}

/* ===================== Emotion Navigation ===================== */
.emotion-nav {
    margin-top: 40px;
}

.emotion-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.emotion-card {
    border-radius: 16px;
    border: 1px solid #eee0da;
    background: #ffffff;
    padding: 16px 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: box-shadow 0.15s ease-out, transform 0.15s ease-out,
        border-color 0.15s ease-out, background 0.15s ease-out;
}

.emotion-card-icon {
    font-size: 22px;
    display: block;
    width: 100%;
    text-align: center;
}

.emotion-card-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
}

.emotion-card-title {
    font-size: 16px;
    font-weight: 600;
}

.emotion-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: #4f4f4f;
}

.emotion-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.08);
    background: #fffaf7;
}

/* ===================== Section Stories (Carousel) ===================== */
.section-stories {
    background: rgba(30, 136, 229, 0.08);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.24);
    border-radius: 20px;
    padding: 32px 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.stories_c {
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.stories {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 24px;
    align-items: center;
    transition: transform 0.5s ease;
}
.stories-link::after {
    content: "→";
    transition: transform 0.3s;
    margin-left: 5px;
    display: inline-block;
}
.stories-link:hover::after {
    transform: translateX(5px);
}

.stories-image {
    background: linear-gradient(135deg, var(--primary) 0%, #f2d16d 100%);
    border-radius: 16px;
    height: 220px;
    overflow: hidden;
}

.stories-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.stories-content-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stories-content-title a:hover {
    color: var(--primary-dark);
}

.stories-content-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.stories-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
}

.stories .time {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(29 29 29 / 70%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* ===================== Section Phases ===================== */
.section-phases {
    margin-top: 48px;
    padding: 32px 24px;
    background: var(--bg-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    border-radius: 20px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.phase-card {
    border-radius: 16px;
    background: #ffffff;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #eee0da;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    border-radius: 16px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    z-index: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #f2d16d 100%);
}

.phase-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff6c57;
    position: relative;
    z-index: 1;
}

.phase-title {
    position: relative;
    z-index: 1;
}

.phase-title a {
    font-size: 16px;
    font-weight: 600;
}

.phase-title a:hover,
.phase-title a:focus {
    text-decoration: underline;
}

.phase-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ===================== Section Articles ===================== */
.section-articles {
    margin-top: 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    border-radius: 14px;
    border: 1px solid #b7ddff;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.article-card:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

.article-image {
    background: #dde5f0;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
}

.article-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-title a:hover,
.article-title a:focus {
    color: var(--primary-dark);
}

.article-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(30, 136, 229, 0.08);
    color: #1e88e5;
}
.article-tag:hover {
    color: var(--primary-dark);
}

.article-card .time {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* ===================== Section About ===================== */
.section-about {
    background: rgba(30, 136, 229, 0.08);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.24);
    border-radius: 20px;
    padding: 32px 24px;
}

.about-inner {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 24px;
    align-items: flex-start;
}

.about-lead {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.about-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
    color: var(--text-muted);
    padding-left: 20px;
    border-left: 1px solid #ddd;
}

.about-point-title {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-text {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eeded7;
        padding-bottom: 24px;
    }

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

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

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

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

    .about-points {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #ddd;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 28px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

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

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

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

    .tagesbotschaft {
        border-radius: 16px;
        align-items: flex-start;
    }

    .tagesbotschaft-text {
        margin-left: 0;
    }

    .stories-image {
        height: 160px;
    }
}
.home_h1{
    text-align: center;
    padding: 40px 32px;
    border-radius: 20px;
    color: var(--primary-dark);
    background: linear-gradient(90deg, #fffefd 0%, #e8f4ff 50%, #e8f4ff 50%, #fffefd 100%);
}
.hero .hero-buttons a{
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 40px;
}
@media(max-width:768px){
    .hero .hero-buttons a{
        font-size:32px;
    }
}