/* ============================================================
   KINDERGOTTESDIENST – MASTER STYLESHEET
============================================================ */

.kigo-master {
    width: 100%;
    padding: 120px 0 200px;
    background: #fff7e6;
    position: relative;
    overflow-x: hidden;
    font-family: inherit;
}

/* ============================================================
   HEADER – LINIE · ÜBERSCHRIFT · LINIE
============================================================ */

.kigo-header {
    position: relative;
    z-index: 2;
    margin-bottom: 70px;
}

.kigo-title-wrap {
    max-width: 900px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.kigo-title-wrap h1 {
    margin: 0;
    padding: 0 10px;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: #2e2e2e;
    white-space: nowrap;
    text-align: center;
}

.kigo-line {
    flex: 1;
    max-width: 220px;
    height: 1px;
    background: #b8a78b;
    opacity: 0.45;
}

/* Regenbogen unter der Überschrift */
.kigo-rainbow {
    width: 160px;
    height: 16px;
    background: linear-gradient(
        90deg,
        #ff595e,
        #ffca3a,
        #8ac926,
        #1982c4,
        #6a4c93
    );
    border-radius: 20px;
    margin: 18px auto 0;
}

/* ============================================================
   POLAROID WALL
============================================================ */

.kigo-polaroids {
    max-width: 1400px;
    margin: 0 auto 90px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 55px;
    position: relative;
    z-index: 2;
}

.kigo-polaroid {
    position: relative;
    width: 260px;
    padding: 14px;
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 18px 30px rgba(0,0,0,0.22);
    cursor: pointer;
    z-index: 3;
    animation: wiggle-shadow 3s ease-in-out infinite;
}

@keyframes wiggle-shadow {
    0%   { box-shadow: 0 14px 28px rgba(0,0,0,0.22); }
    50%  { box-shadow: 0 22px 40px rgba(0,0,0,0.18); }
    100% { box-shadow: 0 14px 28px rgba(0,0,0,0.22); }
}

.kigo-polaroid img {
    width: 100%;
    border-radius: 8px;
}

.kigo-polaroid p {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #2e2e2e;
}

/* ============================================================
   WASHI TAPE
============================================================ */

.kigo-tape {
    width: 110px;
    height: 28px;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    border-radius: 6px;
    mix-blend-mode: multiply;
    animation: wiggle-tape 4s ease-in-out infinite;
    z-index: 4;
}

@keyframes wiggle-tape {
    0%   { transform: translateX(-50%) rotate(-4deg); }
    50%  { transform: translateX(-50%) rotate(2deg); }
    100% { transform: translateX(-50%) rotate(-4deg); }
}

.tape-yellow { background: #ffef7a; }
.tape-blue   { background: #9fd3ff; }
.tape-green  { background: #a4f29d; }
.tape-pink   { background: #ffb3d1; }
.tape-orange { background: #ffd29c; }

/* ============================================================
   ROTATION + FLOATING
============================================================ */

.rot--4 { transform: rotate(-8deg); }
.rot--3 { transform: rotate(-4deg); }
.rot--2 { transform: rotate(-2deg); }
.rot-3  { transform: rotate(3deg); }
.rot-4  { transform: rotate(6deg); }

.float-1 { animation: floatA 5s ease-in-out infinite; }
.float-2 { animation: floatB 6s ease-in-out infinite; }
.float-3 { animation: floatC 5.5s ease-in-out infinite; }
.float-4 { animation: floatD 6.2s ease-in-out infinite; }
.float-5 { animation: floatE 5.4s ease-in-out infinite; }

@keyframes floatA {
    0% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
    100% { transform: translateY(0) rotate(-8deg); }
}
@keyframes floatB {
    0% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-14px) rotate(5deg); }
    100% { transform: translateY(0) rotate(3deg); }
}
@keyframes floatC {
    0% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-16px) rotate(0deg); }
    100% { transform: translateY(0) rotate(-2deg); }
}
@keyframes floatD {
    0% { transform: translateY(0) rotate(6deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
    100% { transform: translateY(0) rotate(6deg); }
}
@keyframes floatE {
    0% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(-4deg); }
}

/* ============================================================
   TEXTBEREICH
============================================================ */

.kigo-textblock {
    background: #ffffff;
    max-width: 960px;
    margin: 120px auto 0;
    padding: 70px 70px 80px;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.kigo-textblock h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 36px;
    color: #2e2e2e;
}

.kigo-textblock h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 60px 0 22px;
    color: #3a3a3a;
}

.kigo-textblock p {
    font-size: 18px;
    line-height: 1.75;
    color: #3b3b3b;
    margin-bottom: 20px;
}

/* Hinweisbox */
.kigo-hint {
    background: #f7f4ee;
    border-left: 6px solid #ffca3a;
    padding: 22px 26px;
    margin: 34px 0 10px;
    border-radius: 18px;
    font-size: 16.5px;
    line-height: 1.6;
    color: #4a4a4a;
}

/* Bibelvers */
.kigo-verse {
    margin: 70px auto 40px;
    max-width: 760px;
    text-align: center;
    padding: 36px 34px;
    background: linear-gradient(135deg, #fff7e6, #ffffff);
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.kigo-verse-text {
    font-size: clamp(20px, 4vw, 26px);
    font-style: italic;
    line-height: 1.6;
    color: #2e2e2e;
}

.kigo-verse-ref {
    margin-top: 12px;
    font-size: 16px;
    color: #6b6b6b;
}

.kigo-signature {
    margin-top: 50px;
    font-weight: 700;
    font-size: 17px;
    text-align: right;
    color: #444;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 720px) {
    .kigo-title-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .kigo-line {
        display: none;
    }

    .kigo-textblock {
        padding: 44px 26px 50px;
        border-radius: 26px;
    }
}
