.lt-timeline {
--lt-line: #cfdca4;
--lt-text: #555555;
--lt-step: 0.4s;
font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
width: 100%;
padding: 2rem 0;
}
.lt-timeline *,
.lt-timeline *::before,
.lt-timeline *::after { box-sizing: border-box; }
.lt-timeline .lt-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-template-rows: auto 28px auto;
}
.lt-timeline .lt-item {
grid-row: 1 / 4;
display: grid;
grid-template-rows: subgrid;
text-align: center;
margin: 0;
padding: 0;
}
.lt-timeline .lt-content { padding: 0 .5rem; }
.lt-timeline .lt-item:nth-child(odd) .lt-content {
grid-row: 1;
align-self: end;
padding-bottom: 1.75rem;
}
.lt-timeline .lt-item:nth-child(even) .lt-content {
grid-row: 3;
align-self: start;
padding-top: 1.25rem;
}
.lt-timeline .lt-content {
display: flex;
flex-direction: column;
align-items: center;
}
.lt-timeline .lt-photo {
display: block;
width: clamp(80px, 8vw, 130px);
height: clamp(80px, 8vw, 130px);
max-width: none;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--c);
margin: 0 0 .75rem;
}
.lt-timeline .lt-item:nth-child(even) .lt-photo {
order: 3;
margin: .75rem 0 0;
}
.lt-timeline .lt-year {
display: block;
font-size: 30px;
font-weight: 700;
line-height: 1.05;
color: var(--c);
font-variant-numeric: oldstyle-nums;
margin-bottom: .35rem;
}
.lt-timeline .lt-text {
margin: 0;
font-size: 16px;
line-height: 1.35;
color: var(--lt-text);
}
.lt-timeline .lt-dot {
grid-row: 2;
position: relative;
}
.lt-timeline .lt-dot::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 2px;
transform: translateY(-50%);
transform-origin: left center;
background: var(--lt-line);
}
.lt-timeline .lt-dot::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 20px;
height: 20px;
border-radius: 50%;
transform: translate(-50%, -50%);
background: var(--c);
}
.lt-timeline.lt-animate .lt-dot::before {
transform: translateY(-50%) scaleX(0);
transition: transform var(--lt-step) linear;
transition-delay: calc(var(--d, 0) * var(--lt-step));
}
.lt-timeline.lt-animate .lt-dot::after {
transform: translate(-50%, -50%) scale(0);
transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
transition-delay: calc(var(--d, 0) * var(--lt-step) + var(--lt-step) * .5);
}
.lt-timeline.lt-animate .lt-content {
opacity: 0;
transition: opacity .6s ease, transform .6s ease;
transition-delay: calc(var(--d, 0) * var(--lt-step) + var(--lt-step) * .6);
}
.lt-timeline.lt-animate .lt-item:nth-child(odd) .lt-content { transform: translateY(14px); }
.lt-timeline.lt-animate .lt-item:nth-child(even) .lt-content { transform: translateY(-14px); }
.lt-timeline.lt-animate .lt-item.is-visible .lt-dot::before { transform: translateY(-50%) scaleX(1); }
.lt-timeline.lt-animate .lt-item.is-visible .lt-dot::after { transform: translate(-50%, -50%) scale(1); }
.lt-timeline.lt-animate .lt-item.is-visible .lt-content { opacity: 1; transform: none; }
@media (max-width: 900px) {
.lt-timeline .lt-list { display: block; }
.lt-timeline .lt-item {
display: block;
position: relative;
text-align: left;
padding: 0 0 2rem 2.75rem;
}
.lt-timeline .lt-item:last-child { padding-bottom: 0; }
.lt-timeline .lt-item:nth-child(odd) .lt-content,
.lt-timeline .lt-item:nth-child(even) .lt-content { padding: 0; }
.lt-timeline .lt-dot {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 20px;
}
.lt-timeline .lt-dot::before {
left: 50%;
right: auto;
top: 0;
bottom: 0;
width: 2px;
height: auto;
transform: translateX(-50%);
transform-origin: center top;
}
.lt-timeline .lt-item:last-child .lt-dot::before { bottom: auto; height: 36px; }
.lt-timeline .lt-dot::after { top: 36px; }
.lt-timeline .lt-content { align-items: flex-start; }
.lt-timeline .lt-photo,
.lt-timeline .lt-item:nth-child(even) .lt-photo {
order: 0;
width: 72px;
height: 72px;
margin: 0 0 .6rem;
}
.lt-timeline .lt-year { font-size: 30px; }
.lt-timeline .lt-text { font-size: 16px; max-width: 34ch; }
.lt-timeline.lt-animate .lt-dot::before { transform: translateX(-50%) scaleY(0); }
.lt-timeline.lt-animate .lt-item.is-visible .lt-dot::before { transform: translateX(-50%) scaleY(1); }
.lt-timeline.lt-animate .lt-item:nth-child(odd) .lt-content,
.lt-timeline.lt-animate .lt-item:nth-child(even) .lt-content { transform: translateX(-14px); }
.lt-timeline.lt-animate .lt-item.is-visible .lt-content { transform: none; }
}
-
1952
Gründung der Zimmerei durch Johann und Rosina Lechner
-
1958
Erweiterung um ein Bauunternehmen
-
1984
Übergabe an Johann Lechner Junior & Neubau der Betriebsgebäude
-
1994
Wird zur Johann Lechner GmbH
-
2002
Johann und Thomas Lechner leiten die Firma gemeinsam
-
2015
Andenken an Rosina Lechner
-
2021
Erweiterung der Geschäftsführung durch Stefan Tröstl
(function () {
var reduce = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (reduce || !('IntersectionObserver' in window)) return;
document.querySelectorAll('.lt-timeline').forEach(function (root) {
if (root.dataset.ltInit) return;
root.dataset.ltInit = '1';
root.classList.add('lt-animate');
var observer = new IntersectionObserver(function (entries) {
var batch = entries
.filter(function (e) { return e.isIntersecting; })
.map(function (e) { return e.target; })
.sort(function (a, b) {
return (a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING) ? -1 : 1;
});
batch.forEach(function (item, i) {
item.style.setProperty('--d', i);
requestAnimationFrame(function () {
requestAnimationFrame(function () { item.classList.add('is-visible'); });
});
observer.unobserve(item);
});
}, { threshold: 0.3 });
root.querySelectorAll('.lt-item').forEach(function (item) { observer.observe(item); });
});
})();