/* Blattwerk Lindner — Demo */
:root{
  --green:#7fc34c; --green-dark:#0a0a0a; --green-deep:#4f8a2e; --green-light:#f1f8ea;
  --gray-100:#f3f2ec; --text:#141414; --nav:#5a5e58;
  --head-h:6rem; --grass-h:.3rem;
  --font-head:Montserrat,Helvetica,Arial,sans-serif; --font-body:"Open Sans",Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.22,.8,.3,1);
  /* one grade for every photo keeps the imagery consistent */
  --photo-grade:saturate(.92) contrast(1.03);
  --photo-tint:#0000001f;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:1.1rem;line-height:1.5;color:var(--text);background:#fff;-webkit-text-size-adjust:100%;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:var(--green);text-decoration:none}
p{margin:0 0 1rem}
h1,h2{font-family:var(--font-head);font-weight:600;line-height:1.2;margin:0 0 2rem}
strong{font-weight:900}
.container{width:100%;padding:0 1rem;margin:0 auto}
@media(min-width:576px){.container{max-width:540px}}
@media(min-width:768px){.container{max-width:720px}}
@media(min-width:992px){.container{max-width:960px}}
@media(min-width:1200px){.container{max-width:1140px}}
@media(min-width:1400px){.container{max-width:1320px}}
.text-green{color:var(--green)} .text-white{color:#fff} .text-uppercase{text-transform:uppercase}
.space-after-lg{margin-bottom:4rem}
.skip-link{position:absolute;left:-999px}
.skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:9999;padding:.5rem 1rem;background:var(--green-dark);color:#fff;border-radius:.25rem;font-weight:700}
:focus-visible{outline:2px solid var(--green-dark);outline-offset:2px}

/* Header */
header{position:fixed;inset:0 0 auto 0;min-height:var(--head-h);z-index:1000;box-shadow:0 0 .5rem #0003;background:#fffc;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px);font-family:var(--font-head)}
header ul{list-style:none;padding:0;margin:0}
.header-wrapper{height:var(--head-h);display:flex;align-items:flex-end}
.navbar-brand{display:block;margin:1rem 4rem 1rem 0}
.navbar-brand img{height:4rem;width:auto}
.header-nav>ul{display:flex}
.header-nav li{position:relative;margin:0}
.header-nav a{display:block;position:relative;color:var(--nav);font-weight:600;transition:color .5s}
.header-nav a:hover,.header-nav a:focus-visible,.header-nav li:hover>a{color:var(--green)}
.header-nav>ul>li>a{padding:.75rem 0;margin-right:1.6rem;font-size:1.1rem;white-space:nowrap}
.header-nav>ul>li:last-child>a{margin-right:0}
.header-nav>ul>li.has-submenu>a{padding-right:1.1rem}
.header-nav>ul>li.has-submenu>a::after{content:"";position:absolute;right:.2rem;top:50%;width:.42rem;height:.42rem;margin-top:-.2rem;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);transition:transform .3s var(--ease)}
.header-nav>ul>li.has-submenu:hover>a::after,.header-nav>ul>li.has-submenu:focus-within>a::after{transform:rotate(135deg)}
.header-nav>ul>li>ul{position:absolute;left:-1.25rem;top:100%;min-width:14rem;background:#f3f2ece6;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px);box-shadow:0 1rem 1.5rem #0000001a;opacity:0;visibility:hidden;transform:translateY(-.5rem);transition:opacity .25s,transform .35s var(--ease),visibility .25s}
.header-nav>ul>li:hover>ul,.header-nav>ul>li:focus-within>ul{opacity:1;visibility:visible;transform:none}
.header-nav>ul>li>ul a{padding:.5rem 1.25rem;font-size:1.05rem;white-space:nowrap}
.header-grass{height:var(--grass-h);background-color:var(--gray-100);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='%237fc34c'%3E%3Cpath d='M190 300 250 0h60l-70 300z'/%3E%3Cpath d='M300 300 380 0h110l-90 300z'/%3E%3Cpath d='M520 300 560 0h40l-50 300z'/%3E%3Cpath d='M860 300 940 0h60l-90 300z'/%3E%3C/g%3E%3Cg fill='%234f8a2e'%3E%3Cpath d='M150 300 240 0h20l-80 300z'/%3E%3Cpath d='M620 300 700 0h150l-70 300z'/%3E%3Cpath d='M1040 300 1100 0h50l-50 300z'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-size:cover;background-position:50% 50%;animation:header-grass 45s 3}
@keyframes header-grass{0%,15%{background-position:50% 50%}30%,45%{background-position:50% 5%}60%,80%{background-position:50% 95%}100%{background-position:50% 50%}}

/* Burger */
.mobile-nav-burger{display:none}
.burger-button{width:2.25rem;height:1.1rem;position:relative;display:block;cursor:pointer;border:0;background:none;padding:0}
.burger-bun{display:block;position:absolute;left:0;width:2.25rem;height:.2rem;border-radius:.1rem;background:var(--green);transition:all .4s var(--ease)}
.burger-bun:nth-child(1){top:0}.burger-bun:nth-child(2){top:50%}.burger-bun:nth-child(3){top:100%}
.burger-button:hover .burger-bun:nth-child(1){transform:translateY(-.1rem)}
.burger-button:hover .burger-bun:nth-child(3){transform:translateY(.1rem)}
.burger-button.active .burger-bun:nth-child(1){transform:translateY(.55rem) rotate(45deg)}
.burger-button.active .burger-bun:nth-child(2){opacity:0}
.burger-button.active .burger-bun:nth-child(3){transform:translateY(-.55rem) rotate(-45deg)}

/* Shared photo treatment */
.hero-bg-image img,.tile-bg-image img,.post-img img{filter:var(--photo-grade)}
.hero-bg-image::before,.tile-bg-image::before,.post-img::before{content:"";position:absolute;inset:0;z-index:1;background:var(--photo-tint);mix-blend-mode:multiply;pointer-events:none}

/* Hero */
main.container{padding-top:calc(var(--head-h) + var(--grass-h))}
.hero{position:relative;display:flex;align-items:flex-end;min-height:min(42rem,calc(100svh - var(--head-h) - var(--grass-h)));padding:6rem 0 5rem;color:#fff}
.hero-bg-image{position:absolute;overflow:hidden;width:100vw;height:100%;top:0;left:50%;transform:translateX(-50%)}
.hero-bg-image::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#00000000 20%,#00000099 70%,#000000d9 100%)}
.hero-bg-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);animation:hero-settle 2.4s var(--ease) forwards}
@keyframes hero-settle{to{transform:scale(1)}}
.hero-content{position:relative;z-index:2;max-width:46rem;padding-left:1.5rem;border-left:.3rem solid var(--green)}
.hero-eyebrow{margin:0 0 1rem;font-family:var(--font-head);font-weight:600;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;animation:rise .9s var(--ease) .05s both}
.hero-content h1{font-size:clamp(2.6rem,6vw,4.75rem);line-height:1.05;letter-spacing:-.02em;margin-bottom:1.25rem;animation:rise .9s var(--ease) .15s both}
.hero-content .text{max-width:38rem;animation:rise .9s var(--ease) .35s both}
.hero-content p{margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem;animation:rise .9s var(--ease) .5s both}
.hero .btn{padding:.6rem 1.5rem;min-width:0;border-color:#fff;color:#fff}
.hero .btn:hover{background:#fff;color:var(--green-dark)}
.hero .btn-solid{background:var(--green);border-color:var(--green);color:var(--text)}
.hero .btn-solid:hover{background:#fff;border-color:#fff}
@keyframes rise{from{opacity:0;transform:translateY(1.5rem)}to{opacity:1;transform:none}}

/* Tiles */
.hero~.tiles{margin-top:-4rem}
.tiles{position:relative;padding-top:.5rem;width:100vw;margin-left:50%;transform:translateX(-50%)}
.tiles-container{max-width:1920px;margin:0 auto;overflow:hidden}
.tiles-row{display:flex;flex-wrap:nowrap;margin:0 -.25rem}
.tile{flex:1 0 0;position:relative;overflow:hidden;padding:0 .25rem .5rem}
.tile-wrapper{position:relative;aspect-ratio:1/1;overflow:hidden}
.tile-bg-image{position:absolute;inset:0}
.tile-bg-image::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#fffffff0 0%,#ffffffcc 28%,#ffffff00 62%)}
.tile-bg-image img{width:100%;height:100%;object-fit:cover;transition:filter .3s,transform .8s var(--ease)}
.tile:hover .tile-bg-image img,.tile:focus-within .tile-bg-image img{filter:blur(1.5rem) brightness(1.3);transform:scale(1.06)}
.tile-content{position:relative;padding:3rem;z-index:2;pointer-events:none;color:var(--text)}
.tile-headline{font-weight:900;font-size:2.2rem;line-height:2.75rem;margin:0;hyphens:auto}
.tile-text{margin:1rem 0 0;max-width:24rem}
.tile-link{position:absolute;inset:0;z-index:10}
.tile{animation:rise .9s var(--ease) .5s both}
.tile:nth-child(2){animation-delay:.6s}.tile:nth-child(3){animation-delay:.7s}

/* News (replaces the embedded social wall) */
.social-wall{margin-bottom:4rem;background:var(--gray-100);padding:3rem}
.section-title{font-size:1.9rem;margin-bottom:2rem}
.social-wall-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.post{background:#fff;display:flex;flex-direction:column}
.post-img{position:relative;aspect-ratio:4/3;overflow:hidden}
.post-img img{width:100%;height:100%;object-fit:cover;transition:filter .3s,transform .8s var(--ease)}
.post:hover .post-img img{transform:scale(1.06)}
.post-body{padding:1.25rem;font-size:1rem}
.post-body p{margin:.5rem 0 0}
.post-tag{font-family:var(--font-head);font-weight:900;color:var(--green-dark);margin-right:.6rem;text-transform:uppercase;font-size:.8rem;letter-spacing:.04em}
.post time{font-family:var(--font-head);font-weight:600;font-size:.8rem;color:var(--nav)}

/* Footer */
.footer-claim{height:4.5rem;position:relative;margin-top:3.5rem}
.footer-claim-img{position:absolute;bottom:1.5rem;right:5rem;margin:0;font-family:var(--font-head);font-size:1.5rem;line-height:1;font-weight:600;color:var(--green-dark)}
.footer-claim-img strong{color:var(--green)}
footer{position:relative;padding:3rem 0;min-height:9rem;background:var(--gray-100);font-size:1.05rem;overflow:hidden}
footer .container{position:relative;z-index:2}
footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
footer a{color:var(--text);font-weight:500;transition:color .3s}
footer a:hover{color:var(--green-dark)}
.footer-navigation{margin-bottom:1rem}
.btn{display:inline-block;min-width:11.5rem;padding:.2rem 1.5rem;text-align:center;border:2px solid var(--green);border-radius:.25rem;font-family:var(--font-head);font-weight:600;font-size:.95rem;color:var(--green-dark);background:transparent;transition:background .3s,color .3s,transform .3s var(--ease)}
footer .btn:hover{background:var(--green);color:var(--text)}
.btn:active{transform:scale(.97)}
.icons{margin-top:2rem;display:flex}
.icon{display:grid;place-items:center;width:2.75rem;height:2.75rem;margin-right:.75rem;border-radius:50%;background:var(--green);transition:background .3s,transform .3s var(--ease)}
.icon svg{width:58%;height:58%;fill:#fff}
.icon:hover{background:var(--green-dark);transform:translateY(-3px)}
.demo-note{margin:1.5rem 0 0;font-size:.85rem;color:var(--nav)}
.footer-grass{position:absolute;top:0;right:0;width:50%;height:100%;max-width:none;pointer-events:none}
.blade{transform-box:fill-box;transform-origin:50% 100%;animation:sway 6s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.9s)}
@keyframes sway{from{transform:skewX(-3deg)}to{transform:skewX(4deg)}}

/* Motion */
header{transition:box-shadow .4s}
header.scrolled{box-shadow:0 .25rem 1.5rem #00000026}
.header-nav>ul>li>a::before{content:"";position:absolute;left:0;right:0;bottom:.45rem;height:2px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease)}
.header-nav>ul>li.has-submenu>a::before{right:1.1rem}
.header-nav>ul>li:hover>a::before,.header-nav>ul>li>a:focus-visible::before{transform:scaleX(1)}
.header-nav>ul>li>ul>li{opacity:0;transform:translateY(-.4rem);transition:opacity .3s,transform .4s var(--ease)}
.header-nav>ul>li:hover>ul>li,.header-nav>ul>li:focus-within>ul>li{opacity:1;transform:none}
.header-nav>ul>li>ul>li:nth-child(2){transition-delay:.05s}.header-nav>ul>li>ul>li:nth-child(3){transition-delay:.1s}.header-nav>ul>li>ul>li:nth-child(4){transition-delay:.15s}
.hero-bg-image{will-change:transform}
.hero-bg-image img{top:-8%;height:116%;translate:0 var(--parallax,0px)}
.hero-content{border-left-color:transparent}
.hero-content::before{content:"";position:absolute;left:-.3rem;top:0;bottom:0;width:.3rem;background:var(--green);transform:scaleY(0);transform-origin:top;animation:grow-y 1s var(--ease) .2s forwards}
@keyframes grow-y{to{transform:scaleY(1)}}
.btn{transition:background .3s,color .3s,border-color .3s,transform .3s var(--ease)}
.hero .btn:hover{transform:translateY(-2px)}
.tile-headline::after{content:"";display:block;width:2.5rem;height:.25rem;margin-top:.75rem;background:var(--green);transform-origin:left;transition:transform .5s var(--ease)}
.tile:hover .tile-headline::after,.tile:focus-within .tile-headline::after{transform:scaleX(2.4)}
.post{transition:transform .5s var(--ease),box-shadow .5s,opacity .8s var(--ease)}
.post:hover{transform:translateY(-4px);box-shadow:0 1rem 1.5rem #0000001a}
.js [data-reveal]{opacity:0;transform:translateY(1.5rem);transition:opacity .8s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--stagger,0) * 70ms)}
.js [data-reveal].in{opacity:1;transform:none}
.js .post[data-reveal].in:hover{transform:translateY(-4px);transition-delay:0s}
.footer-grass .blade{animation-play-state:paused}
footer.in-view .blade{animation-play-state:running}

/* Responsive */
@media(max-width:1199.98px){.tile-content{padding:2rem}.tile-headline{font-size:1.7rem;line-height:2.2rem}.navbar-brand{margin-right:2rem}.header-nav>ul>li>a{margin-right:1.1rem;font-size:1rem}.social-wall-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:991.98px){
  .header-nav>ul>li>a::before{display:none}
  .header-nav>ul>li>ul>li{opacity:1;transform:none}
  .header-wrapper{justify-content:space-between;align-items:center}
  .mobile-nav-burger{display:block}
  .navbar-brand{margin:1rem 0}
  .header-nav-wrapper{position:fixed;top:calc(var(--head-h) + var(--grass-h));left:0;right:0;height:calc(100dvh - var(--head-h) - var(--grass-h));background:#fffffff5;overflow-y:auto;padding:0 1rem 2rem;opacity:0;visibility:hidden;transform:translateY(-1rem);transition:opacity .3s,transform .4s var(--ease),visibility .3s}
  header.nav-open .header-nav-wrapper{opacity:1;visibility:visible;transform:none}
  .header-nav>ul{display:block}
  .header-nav>ul>li>a{padding:1.25rem 0;margin:0;font-size:1.1rem}
  .header-nav>ul>li>ul{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:none;display:none}
  .header-nav>ul>li.open>ul{display:block}
  .tiles-row{flex-wrap:wrap}
  .tile{flex:0 0 50%}
  .social-wall{padding:2rem 1rem}
  .footer-grass{opacity:.35}
}
@media(max-width:575.98px){
  .hero{padding:4rem 0 3rem}
  .tile{flex:0 0 100%}
  .social-wall-grid{grid-template-columns:1fr}
  .footer-claim-img{right:1rem}
  .icon{width:2.25rem;height:2.25rem;margin-right:.5rem}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .js [data-reveal]{opacity:1;transform:none}
  .hero-content::before{transform:none}
  .hero-bg-image img{translate:none}
}

/* Brand: Die 2 — Farben aus dem Logo (Schwarz, Weiß, Grün #7fc34c) */
header{background:#000000f2;box-shadow:0 0 .5rem #0006}
.navbar-brand{margin:.5rem 4rem .5rem 0}
.navbar-brand img{height:5rem;width:auto}
.header-nav a{color:#e9ece6}
.header-nav a:hover,.header-nav a:focus-visible,.header-nav li:hover>a{color:var(--green)}
.header-nav>ul>li>ul{background:#0a0a0af2;box-shadow:0 1rem 1.5rem #0006}
.header-grass{background-color:#000}
:focus-visible{outline-color:var(--green)}
.post-tag{color:var(--green-deep)}
.btn{color:var(--text)}

/* Footer dunkel wie das Logo */
.footer-claim-img{color:var(--text)}
footer{background:#000;color:#e9ece6;padding:3.5rem 0 2.5rem}
footer a{color:#e9ece6}
footer a:hover{color:var(--green)}
.footer-content{display:grid;grid-template-columns:auto 1fr 1fr;gap:2.5rem 4rem;align-items:start;max-width:60rem}
.footer-logo img{width:11rem;height:auto}
.footer-title{margin:0 0 .75rem;font-family:var(--font-head);font-weight:700;font-size:.85rem;letter-spacing:.12em;text-transform:uppercase;color:var(--green)}
.impressum{font-size:.98rem;line-height:1.6}
.impressum p{margin:0 0 .9rem}
.impressum strong{font-weight:700;color:#fff}
.footer-side .btn{color:#fff;margin-top:1rem}
footer .btn:hover{color:#000}
.icon svg{fill:#000}
.icon:hover{background:#fff}
.legal-note{grid-column:1/-1;margin:0;padding-top:1.5rem;border-top:1px solid #ffffff1f;font-size:.85rem;color:#9ba097}
@media(max-width:991.98px){
  .header-nav-wrapper{background:#000000f5}
  .navbar-brand{margin:.5rem 0}
  .navbar-brand img{height:4.25rem}
  .footer-content{grid-template-columns:1fr 1fr}
  .footer-logo{grid-column:1/-1}
}
@media(max-width:575.98px){
  .footer-content{grid-template-columns:1fr;gap:2rem}
}
footer .footer-grass{opacity:.28}
