/* Columns follow the reading direction of the diagrams in derPlan 68. */
.versuchsplan {
    --line: #77838c;
    display: grid;
    gap: 1.15rem;
    margin: 1.5rem 0 0;
    color: #23313d;
}
.versuchsarm {
    display: grid;
    grid-template-columns: minmax(0, .95fr) 52px minmax(0, 1.05fr);
    align-items: center;
}
.startpunkte { display: grid; gap: .75rem; }
.startpunkt, .gespraechsweg {
    padding: 1rem 1.15rem;
    border: 1px solid #c8d0d5;
    border-radius: 5px;
    background: #fff;
}
.startpunkt { position: relative; }
.startpunkt::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 26px;
    border-top: 1.5px solid var(--line);
}
.startpunkte { position: relative; }
/* Let the two arms meet halfway between the centres of the two source boxes. */
.startpunkte:has(> :nth-child(2)) { grid-auto-rows: 1fr; }
.startpunkte:has(> :nth-child(2))::after {
    content: "";
    position: absolute;
    right: -26px;
    top: calc(25% - .1875rem);
    bottom: calc(25% - .1875rem);
    border-right: 1.5px solid var(--line);
}
.versuchsarm .pfeil {
    grid-column: 2;
    position: relative;
    margin-left: 26px;
    border-top: 1.5px solid var(--line);
}
.versuchsarm .pfeil::after {
    content: ""; position: absolute; right: 0; top: -4px;
    border-block: 3.5px solid transparent; border-left: 6px solid var(--line);
}
.versuchsplan h3 { margin: 0 0 .4rem; font-size: 1.08rem; line-height: 1.25; }
.startpunkt h3 { display: flex; align-items: baseline; gap: .55rem; }
.startpunkt h3 span { color: #445c70; border-right: 1px solid #b5c3cb; padding-right: .55rem; }
.versuchsplan p { margin: 0; font-size: .96rem; line-height: 1.5; }
.versuchsplan .beleg { margin-top: .55rem; font-size: .85rem; }
.gespraechsweg { background: #edf2f5; border-color: #9dacb7; }
.gespraechsweg h3 { display: flex; align-items: center; gap: .6rem; }
.gespraechsweg h3 svg { width: 26px; height: 24px; flex: none; color: #465e70; }
.freigabe { background: #f7f2e8; border-color: #b6a384; }
.freigabe h3 svg { color: #865829; }
.freigabe ol { margin: .55rem 0 0; padding: 0; list-style: none; }
.freigabe li {
    position: relative;
    padding: .18rem 0 .18rem 1.15rem;
    font-size: .96rem; line-height: 1.4;
}
.freigabe li::before {
    content: ""; position: absolute; left: 3px; top: .7rem;
    width: 6px; height: 6px; background: #5b6b75; border-radius: 50%;
}
.freigabe li + li::after {
    content: ""; position: absolute; left: 5.5px; top: -.5rem;
    height: 1.15rem; width: 1px; background: #a4a8a6;
}
.freigabe .bueroschritt { font-weight: 650; color: #6d481e; }
.freigabe .bueroschritt::before {
    border-radius: 0; transform: rotate(45deg); background: #fff7ea;
    outline: 1.5px solid #925c27; z-index: 1;
}
.ziegelbild {
    margin: 1.35rem 0; padding: clamp(14px, 2.5vw, 25px);
    border-block: 1px solid #c9c4b8;
    background: #f7f4ed; color: #342f28;
}
.ziegelpaar { display: grid; grid-template-columns: 1fr 1fr; }
.ziegelprobe { min-width: 0; padding-inline: clamp(5px, 2.6vw, 28px); }
.ziegelprobe + .ziegelprobe { border-left: 1px solid #cfc8ba; }
.ziegelprobe svg { display: block; width: 100%; max-width: 255px; height: auto; margin: 0 auto .6rem; }
.ziegelprobe small { display: block; color: #5b554c; line-height: 1.4; font-size: .85rem; }
.ziegelprobe strong { display: block; font-size: 1.2rem; color: #392f26; }
.ziegelbild figcaption {
    margin: 1.1rem 0 0; padding-top: .8rem; border-top: 1px solid #d5cec2;
    font-size: .93rem; line-height: 1.5;
}
@media (max-width: 630px) {
    .versuchsarm { display: block; }
    .startpunkte { gap: .5rem; }
    .startpunkte:has(> :nth-child(2)) { grid-auto-rows: auto; }
    .startpunkt::after, .startpunkte:has(> :nth-child(2))::after { display: none; }
    .versuchsarm .pfeil { display: block; width: 0; height: 17px; margin: 0 auto; border: 0; border-left: 1.5px solid var(--line); }
    .versuchsarm .pfeil::after { top: auto; bottom: 1px; right: -3px; border: 0; border-inline: 3px solid transparent; border-top: 5px solid var(--line); }
    .ziegelprobe strong { font-size: 1.02rem; }
    .ziegelprobe small { font-size: .8rem; }
}
