/* ===== ADAPTIVE Intelligence - Shared Styles ===== */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}

:root{
  --ink:#0d1f14;
  --forest:#142a1c;
  --moss:#1e4230;
  --canopy:#c4521a;
  --mist:#e8894a;
  --cream:#f2ede4;
  --warm:#e8e0d0;
  --mid:#4a6657;
}

html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;background:var(--cream);color:var(--ink);overflow-x:hidden;}

/* --- Navigation --- */
nav{position:fixed;top:0;left:0;right:0;z-index:200;display:flex;justify-content:space-between;align-items:center;padding:1.6rem 5%;transition:background 0.4s,backdrop-filter 0.4s;}
nav.scrolled{background:rgba(14,28,19,0.96);backdrop-filter:blur(12px);}
nav.nav-solid{background:rgba(14,28,19,0.96);backdrop-filter:blur(12px);}
.logo{display:flex;align-items:center;text-decoration:none;}
.logo img{height:3.75rem;width:auto;display:block;}
.nav-links{display:flex;gap:2.5rem;list-style:none;align-items:center;}
.nav-links a{color:rgba(255,255,255,0.75);text-decoration:none;font-size:0.8rem;letter-spacing:0.1em;text-transform:uppercase;transition:color 0.2s;}
.nav-links a:hover,.nav-links a.active{color:#fff;}
.nav-cta{border:1px solid rgba(255,255,255,0.4)!important;padding:0.45rem 1.2rem;border-radius:1px;color:#fff!important;}
.nav-cta:hover{background:rgba(255,255,255,0.1)!important;}

/* --- Buttons --- */
.btn-p{background:var(--canopy);color:#fff;padding:0.9rem 2.2rem;font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;border:none;cursor:pointer;font-family:'DM Sans',sans-serif;font-weight:500;border-radius:1px;transition:background 0.2s;}
.btn-p:hover{background:#a34215;}
.btn-g{background:transparent;color:rgba(255,255,255,0.8);padding:0.9rem 2.2rem;font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;border:1px solid rgba(255,255,255,0.3);cursor:pointer;font-family:'DM Sans',sans-serif;font-weight:400;border-radius:1px;transition:border-color 0.2s,color 0.2s;}
.btn-g:hover{border-color:rgba(255,255,255,0.7);color:#fff;}

/* --- Sections --- */
section{padding:8rem 5%;}
.section-label{font-size:0.72rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--canopy);margin-bottom:1rem;font-weight:500;}
.section-title{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.8rem,5vw,5rem);line-height:0.92;color:var(--ink);margin-bottom:2rem;}
.section-lead{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.2rem,2vw,1.6rem);color:var(--mid);font-weight:300;line-height:1.5;margin-bottom:1.5rem;}
p.body{font-size:1rem;line-height:1.8;color:#3a4e41;font-weight:300;max-width:700px;}
.divider{width:40px;height:2px;background:var(--canopy);margin:3rem 0;}

/* --- Hero --- */
.hero{position:relative;height:100vh;min-height:680px;display:flex;align-items:flex-start;overflow:hidden;clip-path:inset(0);}
.hero-bg{position:absolute;inset:0;background-image:url(/images/hero-bg.jpg);background-size:cover;background-position:center 30%;animation:zoomOut 18s ease-out forwards;}
@keyframes zoomOut{from{transform:scale(1.06);}to{transform:scale(1.0);}}
.hero-veil{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(10,22,14,0.2) 0%,rgba(10,22,14,0.05) 35%,rgba(10,22,14,0.7) 72%,rgba(10,22,14,0.95) 100%);}
.hero-content{position:relative;z-index:2;padding:22vh 5% 4rem;max-width:1000px;}
.hero-eyebrow{font-size:0.72rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--mist);margin-bottom:1.8rem;display:flex;align-items:center;gap:0.8rem;animation:fadeUp 1s 0.3s both;}
.hero-eyebrow::before{content:'';display:block;width:28px;height:1px;background:var(--mist);}
.hero-headline{font-family:'Bebas Neue',sans-serif;font-size:clamp(3rem,6vw,6rem);line-height:0.88;color:#fff;letter-spacing:0.025em;margin-bottom:0.6rem;animation:fadeUp 1s 0.5s both;}
.hero-headline .accent{color:var(--mist);}
.hero-sub-head{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.2rem,2.5vw,1.9rem);color:rgba(255,255,255,0.65);font-weight:300;margin-bottom:2rem;animation:fadeUp 1s 0.65s both;line-height:1.4;}
.hero-body{font-size:1rem;color:rgba(255,255,255,0.6);max-width:560px;font-weight:300;line-height:1.75;margin-bottom:2.8rem;animation:fadeUp 1s 0.8s both;}
.hero-actions{display:flex;gap:1rem;animation:fadeUp 1s 1s both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}
.scroll-hint{position:absolute;bottom:2.5rem;right:5%;z-index:2;display:flex;flex-direction:column;align-items:center;gap:0.5rem;color:rgba(255,255,255,0.4);font-size:0.7rem;letter-spacing:0.15em;text-transform:uppercase;animation:fadeUp 1s 1.4s both;}
.scroll-line{width:1px;height:48px;background:linear-gradient(to bottom,rgba(255,255,255,0.4),transparent);animation:scrollAnim 2s ease-in-out infinite;}
@keyframes scrollAnim{0%,100%{transform:scaleY(0);transform-origin:top;}50%{transform:scaleY(1);transform-origin:top;}}

/* --- Why Section --- */
.why-section{background:var(--forest);color:#fff;padding:8rem 5%;}
.why-section .section-label{color:var(--mist);}
.why-section .section-title{color:#fff;}
.why-section p.body{color:rgba(255,255,255,0.55);max-width:680px;}
.quote-block{border-left:2px solid var(--canopy);padding:1.5rem 0 1.5rem 2rem;margin:3rem 0;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.2rem,2vw,1.55rem);color:rgba(255,255,255,0.85);font-weight:300;line-height:1.5;max-width:680px;}
.why-inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center;}
.why-text{min-width:0;}
.why-image{position:relative;min-width:0;}
.why-image img{width:100%;height:680px;object-fit:cover;object-position:center 30%;display:block;clip-path:polygon(8% 0%,100% 0%,92% 100%,0% 100%);}

/* --- Compare Section --- */
.compare-section{background:var(--warm);}
.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:4rem;border:1px solid rgba(196,82,26,0.2);}
.compare-col{padding:3.5rem;}
.compare-col:first-child{border-right:1px solid rgba(196,82,26,0.2);}
.compare-col h3{font-family:'Bebas Neue',sans-serif;font-size:1.5rem;letter-spacing:0.05em;margin-bottom:0.6rem;}
.compare-col:first-child h3{color:var(--mid);}
.compare-col:last-child h3{color:var(--canopy);}
.compare-col .q{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.1rem;color:var(--mid);margin-bottom:1.5rem;padding:1rem;background:rgba(196,82,26,0.06);border-radius:2px;}
.compare-col p{font-size:0.95rem;line-height:1.75;color:#4a5e50;font-weight:300;}
.compare-pct{font-family:'Bebas Neue',sans-serif;font-size:3.5rem;color:var(--canopy);opacity:0.18;margin-bottom:0.3rem;}

/* --- Possible Section --- */
.possible-section{background:#fff;}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-top:4rem;background:rgba(196,82,26,0.08);}
.card{background:#fff;padding:3rem 2.5rem;}
.card-num{font-family:'Bebas Neue',sans-serif;font-size:3rem;color:var(--canopy);opacity:0.2;line-height:1;margin-bottom:1.2rem;}
.card h3{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:300;font-style:italic;color:var(--ink);margin-bottom:1rem;line-height:1.3;}
.card p{font-size:0.9rem;line-height:1.75;color:#4a5e50;font-weight:300;}

/* --- Manifesto Section --- */
.manifesto-section{background:var(--forest);padding:8rem 5%;}
.manifesto-text{font-family:'Bebas Neue',sans-serif;font-size:clamp(3rem,6vw,6.5rem);line-height:0.9;color:#fff;letter-spacing:0.02em;max-width:900px;}
.manifesto-text em{font-style:normal;color:var(--mist);}
.manifesto-body{margin-top:3rem;display:grid;grid-template-columns:1fr 1fr;gap:4rem;}
.manifesto-body p{font-size:0.95rem;line-height:1.8;color:rgba(255,255,255,0.55);font-weight:300;}

/* --- Team Section --- */
.team-section{background:var(--cream);}
.team-inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start;}
.team-text{min-width:0;}
.team-image{position:relative;min-width:0;}
.team-image img{width:100%;height:450px;object-fit:cover;object-position:center 30%;display:block;}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;margin-top:4rem;}
.member{border-top:2px solid var(--canopy);padding-top:2rem;}
.member-header{display:flex;align-items:center;gap:1.2rem;margin-bottom:1.2rem;}
.member-photo{width:144px;height:144px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.member-info{min-width:0;}
.member-role{font-size:0.7rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--canopy);margin-bottom:0.3rem;font-weight:500;}
.member h3{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:300;color:var(--ink);margin-bottom:0.2rem;}
.member-tagline{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1rem;color:var(--mid);margin-bottom:0;}
.member p{font-size:0.88rem;line-height:1.78;color:#4a5e50;font-weight:300;}
.member-link{color:var(--ink);text-decoration:none;transition:color 0.2s;}
.member-link:hover{color:var(--canopy);}
.member-socials{display:flex;gap:0.6rem;margin-top:0.6rem;align-items:center;}
.member-socials a{display:flex;align-items:center;opacity:0.5;transition:opacity 0.2s;}
.member-socials a:hover{opacity:1;}
.member-socials img,.member-socials svg{width:18px;height:18px;}

/* --- CTA Section --- */
.cta-section{background:var(--ink);padding:8rem 5%;display:flex;flex-direction:column;align-items:flex-start;gap:2rem;}
.cta-section .section-title{color:#fff;max-width:700px;}
.cta-section .section-lead{color:rgba(255,255,255,0.5);max-width:560px;}
.cta-contacts{color:rgba(255,255,255,0.45);font-size:0.9rem;font-weight:300;margin-top:1rem;}
.cta-contacts a{color:var(--mist);text-decoration:none;}
.cta-inner{display:grid;grid-template-columns:1fr auto;gap:4rem;align-items:center;width:100%;}
.cta-text{min-width:0;}
.cta-image{flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.cta-image img{width:546px;height:546px;border-radius:50%;object-fit:cover;opacity:1;}

/* --- Footer --- */
footer{background:var(--ink);border-top:1px solid rgba(255,255,255,0.08);padding:2rem 5%;display:flex;justify-content:space-between;align-items:center;}
footer p{font-size:0.8rem;color:rgba(255,255,255,0.3);letter-spacing:0.05em;}
footer a{color:rgba(255,255,255,0.3);text-decoration:none;font-size:0.8rem;margin-left:1.5rem;}
footer a:hover{color:rgba(255,255,255,0.6);}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page{padding:10rem 5% 6rem;max-width:820px;margin:0 auto;}
.legal-page h1{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.8rem,5vw,5rem);line-height:0.92;color:var(--ink);margin-bottom:1rem;}
.legal-page .subtitle{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.1rem,2vw,1.4rem);color:var(--mid);font-weight:300;line-height:1.5;margin-bottom:3rem;}
.legal-divider{width:40px;height:2px;background:var(--canopy);margin-bottom:3rem;}
.legal-section{margin-bottom:3rem;}
.legal-section h2{font-family:'Bebas Neue',sans-serif;font-size:1.6rem;letter-spacing:0.05em;color:var(--canopy);margin-bottom:1rem;line-height:1.2;}
.legal-section h3{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:500;color:var(--ink);margin-bottom:0.6rem;margin-top:1.5rem;}
.legal-section p{font-size:0.95rem;line-height:1.8;color:#3a4e41;font-weight:300;margin-bottom:0.8rem;}
.legal-section a{color:var(--canopy);text-decoration:none;transition:color 0.2s;}
.legal-section a:hover{color:var(--mist);}
.legal-section ul{list-style:none;padding:0;margin-bottom:0.8rem;}
.legal-section ul li{font-size:0.95rem;line-height:1.8;color:#3a4e41;font-weight:300;padding-left:1.2rem;position:relative;}
.legal-section ul li::before{content:'';position:absolute;left:0;top:0.7em;width:6px;height:6px;background:var(--canopy);border-radius:50%;opacity:0.5;}
.legal-accent{border-left:2px solid var(--canopy);padding:1.2rem 0 1.2rem 1.5rem;margin:1.5rem 0;background:rgba(196,82,26,0.04);border-radius:0 2px 2px 0;}
.legal-accent p{margin-bottom:0.3rem;}

/* --- Profile Pages --- */
.profile-page{padding:10rem 5% 6rem;max-width:820px;margin:0 auto;}
.profile-header{display:flex;align-items:center;gap:2rem;margin-bottom:2rem;}
.profile-photo{width:140px;height:140px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.profile-info{min-width:0;}
.profile-role{font-size:0.72rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--canopy);margin-bottom:0.4rem;font-weight:500;}
.profile-page h1{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.8rem,5vw,5rem);line-height:0.92;color:var(--ink);margin-bottom:0.4rem;}
.profile-tagline{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.1rem,2vw,1.4rem);color:var(--mid);font-weight:300;line-height:1.5;}
.profile-divider{width:40px;height:2px;background:var(--canopy);margin-bottom:3rem;}
.profile-lead{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.1rem,2vw,1.4rem);color:var(--mid);font-weight:300;line-height:1.5;margin-bottom:2rem;}
.profile-text{margin-bottom:2rem;}
.profile-text p{font-size:0.95rem;line-height:1.8;color:#3a4e41;font-weight:300;margin-bottom:1rem;}
.profile-back{display:inline-flex;align-items:center;gap:0.5rem;color:var(--canopy);text-decoration:none;font-size:0.85rem;letter-spacing:0.05em;transition:color 0.2s;margin-top:1rem;}
.profile-back:hover{color:var(--mist);}
.profile-back::before{content:'\2190';font-size:1.1rem;}
.profile-contact{margin-top:1.8rem;padding-top:1.5rem;border-top:1px solid var(--warm);font-size:0.88rem;line-height:1.9;color:var(--mid);font-weight:300;letter-spacing:0.02em;}
.profile-contact-line{display:flex;align-items:center;gap:0.6rem;}
.profile-contact-icon{width:15px;height:15px;opacity:0.5;flex-shrink:0;}

/* --- Hamburger Menu --- */
.hamburger{display:none;cursor:pointer;background:none;border:none;padding:0.5rem;z-index:300;}
.hamburger span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;transition:all 0.3s;}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}

/* --- Mobile --- */
@media(max-width:768px){
  .hamburger{display:block;}
  .nav-links{position:fixed;top:0;right:-100%;width:70%;height:100vh;flex-direction:column;background:rgba(14,28,19,0.98);padding:6rem 2rem 2rem;gap:1.5rem;transition:right 0.3s ease;z-index:250;}
  .nav-links.open{right:0;}
  .nav-links a{font-size:1rem;}
  .logo img{height:2.2rem;}
  nav{padding:1rem 5%;}
  section{padding:4rem 5%;}
  .hero{min-height:560px;}
  .hero-content{padding:16vh 5% 3rem;}
  .hero-headline{font-size:clamp(2.2rem,8vw,3.5rem);}
  .hero-sub-head{font-size:clamp(1rem,4vw,1.4rem);}
  .hero-body{font-size:0.9rem;}
  .hero-actions{flex-direction:column;gap:0.8rem;}
  .hero-actions .btn-p,.hero-actions .btn-g{width:100%;text-align:center;}
  .scroll-hint{display:none;}
  .why-inner{grid-template-columns:1fr;gap:2rem;}
  .why-image img{height:350px;}
  .compare-grid{grid-template-columns:1fr;}
  .compare-col{padding:2rem;}
  .compare-col:first-child{border-right:none;border-bottom:1px solid rgba(196,82,26,0.2);}
  .cards-grid{grid-template-columns:1fr;}
  .card{padding:2rem 1.5rem;}
  .manifesto-text{font-size:clamp(2rem,8vw,3.5rem);}
  .manifesto-body{grid-template-columns:1fr;gap:2rem;}
  .manifesto-section{padding:4rem 5%;}
  .team-inner{grid-template-columns:1fr;gap:2rem;}
  .team-image img{height:350px;}
  .team-grid{grid-template-columns:1fr;gap:2rem;}
  .blog-section #logbuch-posts{grid-template-columns:1fr!important;}
  .cta-section{padding:4rem 5%;}
  .cta-inner{grid-template-columns:1fr;gap:2rem;}
  .cta-image{display:none;}
  .cta-section .section-title{font-size:clamp(2rem,7vw,3rem);}
  footer{flex-direction:column;gap:1rem;text-align:center;}
  footer a{margin-left:0;margin-right:1.5rem;}
  .section-title{font-size:clamp(2rem,7vw,3rem);}
  .legal-page{padding:6rem 6% 4rem;}
  .profile-page{padding:6rem 6% 4rem;}
  .profile-header{flex-direction:column;text-align:center;gap:1.2rem;}
  .profile-photo{width:110px;height:110px;}
}


/* ===== LOGBUCH (Expedition Blog) ===== */

/* Blog page header with compass watermark */
.logbuch-header{position:relative;padding:10rem 5% 4rem;max-width:900px;margin:0 auto;overflow:hidden;}

.logbuch-header h1{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.8rem,5vw,5rem);line-height:0.92;color:var(--ink);margin-bottom:0.5rem;}
.logbuch-header .logbuch-subtitle{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.1rem,2vw,1.4rem);color:var(--mid);font-weight:300;line-height:1.5;margin-bottom:2rem;}
.logbuch-header .logbuch-eyebrow{font-size:0.72rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--canopy);font-weight:500;margin-bottom:1rem;display:flex;align-items:center;gap:0.8rem;}
.logbuch-header .logbuch-eyebrow::before{content:'';display:block;width:28px;height:1px;background:var(--canopy);}
.logbuch-divider{width:40px;height:2px;background:var(--canopy);margin-bottom:3rem;}

/* Timeline-style post list */
.logbuch-entries{max-width:900px;margin:0 auto;padding:0 5% 4rem;position:relative;}
.logbuch-entries::before{content:'';position:absolute;left:calc(5% + 15px);top:0;bottom:0;width:1px;background:linear-gradient(to bottom,var(--canopy),rgba(196,82,26,0.1));}

.logbuch-entry{display:flex;gap:2.5rem;margin-bottom:3rem;position:relative;text-decoration:none;color:inherit;}
.logbuch-entry:hover .logbuch-entry-body{transform:translateX(4px);}

/* Timeline dot */
.logbuch-entry-marker{flex-shrink:0;width:32px;display:flex;flex-direction:column;align-items:center;padding-top:0.3rem;}
.logbuch-entry-dot{width:10px;height:10px;border-radius:50%;background:var(--canopy);border:2px solid var(--cream);position:relative;z-index:1;}

/* Entry content */
.logbuch-entry-body{flex:1;background:#fff;padding:2rem;border-left:2px solid var(--canopy);transition:transform 0.3s;}
.logbuch-entry-date{font-size:0.7rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--canopy);font-weight:500;margin-bottom:0.6rem;}
.logbuch-entry-title{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:300;color:var(--ink);margin-bottom:0.5rem;line-height:1.3;}
.logbuch-entry-teaser{font-size:0.9rem;color:var(--mid);line-height:1.7;font-weight:300;margin-bottom:1rem;}
.logbuch-entry-meta{display:flex;align-items:center;gap:0.8rem;font-size:0.8rem;color:var(--mid);}
.logbuch-entry-meta img{width:32px;height:32px;border-radius:50%;object-fit:cover;}
.logbuch-entry-meta .meta-name{font-weight:400;color:var(--ink);}
.logbuch-entry-image{width:100%;height:200px;object-fit:cover;margin-bottom:1rem;}

/* Single post - expedition feel */
.logbuch-post{max-width:780px;margin:0 auto;padding:10rem 5% 4rem;}
.logbuch-post-eyebrow{font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--canopy);font-weight:500;margin-bottom:1rem;display:flex;align-items:center;gap:0.8rem;}
.logbuch-post-eyebrow::before{content:'';display:block;width:28px;height:1px;background:var(--canopy);}
.logbuch-post h1{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.4rem,5vw,4rem);line-height:0.95;color:var(--ink);margin-bottom:1.5rem;}
.logbuch-post-hero{width:100%;max-height:450px;object-fit:cover;margin-bottom:2rem;}
.logbuch-post-meta{display:flex;align-items:center;gap:1rem;margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--warm);}
.logbuch-post-meta img{width:48px;height:48px;border-radius:50%;object-fit:cover;}
.logbuch-post-meta .meta-info .meta-name{font-weight:500;color:var(--ink);font-size:0.95rem;}
.logbuch-post-meta .meta-info .meta-role{color:var(--mid);font-size:0.8rem;}
.logbuch-post-meta .meta-info .meta-date{color:var(--canopy);font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;}
.logbuch-post-meta .copy-link-btn{margin-left:auto;background:transparent;border:1px solid var(--warm);color:var(--mid);padding:0.4rem 1rem;font-family:'DM Sans',sans-serif;font-size:0.78rem;cursor:pointer;transition:all 0.2s;letter-spacing:0.05em;}
.logbuch-post-meta .copy-link-btn:hover{border-color:var(--canopy);color:var(--canopy);}

/* Post content */
.logbuch-content{font-size:0.95rem;line-height:1.8;color:#3a4e41;font-weight:300;}
.logbuch-content h2{font-family:'Bebas Neue',sans-serif;font-size:1.8rem;color:var(--ink);margin:2.5rem 0 1rem;letter-spacing:0.03em;}
.logbuch-content h3{font-weight:500;font-size:1.1rem;color:var(--ink);margin:2rem 0 0.8rem;}
.logbuch-content p{margin-bottom:1.2rem;}
.logbuch-content a{color:var(--canopy);text-decoration:none;}
.logbuch-content a:hover{color:var(--mist);}
.logbuch-content blockquote{border-left:2px solid var(--canopy);padding:1rem 0 1rem 2rem;margin:2rem 0;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(1.1rem,2vw,1.4rem);color:var(--mid);font-weight:300;line-height:1.5;}
.logbuch-content ul,.logbuch-content ol{margin:1rem 0 1.2rem 1.5rem;}
.logbuch-content li{margin-bottom:0.4rem;}
.logbuch-content img{max-width:100%;margin:1.5rem 0;}
.logbuch-content code{background:var(--warm);padding:0.15em 0.4em;border-radius:3px;font-size:0.9em;}
.logbuch-content pre{background:var(--forest);color:var(--cream);padding:1.2rem;overflow-x:auto;margin:1.5rem 0;}
.logbuch-content pre code{background:none;padding:0;color:inherit;}
.logbuch-content strong{font-weight:500;color:var(--ink);}

/* Author box at end of post */
.logbuch-author-box{display:flex;align-items:center;gap:1.2rem;padding:1.5rem;background:var(--warm);margin-top:3rem;border-top:2px solid var(--canopy);}
.logbuch-author-box img{width:64px;height:64px;border-radius:50%;object-fit:cover;}
.logbuch-author-box .ab-name{font-weight:500;color:var(--ink);}
.logbuch-author-box .ab-role{color:var(--mid);font-size:0.85rem;}
.logbuch-author-links{margin-top:0.3rem;display:flex;gap:0.8rem;}
.logbuch-author-links a{color:var(--canopy);font-size:0.82rem;text-decoration:none;}
.logbuch-author-links a:hover{color:var(--mist);}

/* Post navigation prev/next */
.logbuch-nav{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--warm);}
.logbuch-nav-card{padding:1.5rem;background:var(--warm);text-decoration:none;color:inherit;transition:transform 0.2s;}
.logbuch-nav-card:hover{transform:translateY(-3px);}
.logbuch-nav-direction{font-size:0.7rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--canopy);font-weight:500;margin-bottom:0.5rem;display:block;}
.logbuch-nav-card h3{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:300;color:var(--ink);line-height:1.3;}

.logbuch-back{display:inline-flex;align-items:center;gap:0.5rem;color:var(--canopy);text-decoration:none;font-size:0.85rem;margin-top:2rem;transition:color 0.2s;}
.logbuch-back:hover{color:var(--mist);}
.logbuch-back::before{content:'\2190';font-size:1.1rem;}

/* Blog admin styles */
.admin-bar{background:var(--moss);padding:0.6rem 5%;display:flex;align-items:center;justify-content:space-between;font-size:0.8rem;color:rgba(255,255,255,0.7);margin-top:72px;}
.admin-bar a{color:var(--mist);text-decoration:none;margin-left:1rem;}
.admin-bar a:hover{color:#fff;}
.admin-content{max-width:1000px;margin:0 auto;padding:2rem 5%;}
.admin-table{width:100%;border-collapse:collapse;margin-top:1.5rem;background:#fff;}
.admin-table th{background:var(--forest);color:#fff;padding:0.75rem 1rem;text-align:left;font-weight:400;font-size:0.8rem;letter-spacing:0.05em;text-transform:uppercase;}
.admin-table td{padding:0.75rem 1rem;border-bottom:1px solid var(--warm);font-size:0.9rem;}
.badge{display:inline-block;padding:0.15em 0.5em;font-size:0.75rem;font-weight:500;}
.badge-published{background:var(--moss);color:#fff;}
.badge-draft{background:var(--warm);color:var(--mid);}
.btn{display:inline-block;padding:0.5rem 1.2rem;border:none;cursor:pointer;font-family:'DM Sans',sans-serif;font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none;transition:background 0.2s;}
.btn-primary{background:var(--canopy);color:#fff;}
.btn-primary:hover{background:#a34215;}
.btn-small{padding:0.3rem 0.7rem;font-size:0.75rem;}
.btn-outline{background:transparent;border:1px solid var(--mid);color:var(--mid);}
.btn-outline:hover{border-color:var(--canopy);color:var(--canopy);}
.btn-danger{background:#8b1a1a;color:#fff;}
.btn-danger:hover{background:#6b1515;}
.btn-group{display:flex;gap:0.4rem;}
.form-card{background:#fff;padding:2.5rem;max-width:780px;margin:1rem auto;}
.form-group{margin-bottom:1.2rem;}
.form-group label{display:block;font-size:0.8rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--canopy);margin-bottom:0.4rem;font-weight:500;}
.form-group input[type="text"],.form-group textarea,.form-group select{width:100%;padding:0.6rem 0.8rem;border:1px solid var(--warm);font-family:'DM Sans',sans-serif;font-size:0.95rem;background:#fff;color:var(--ink);transition:border-color 0.2s;}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--canopy);}
.form-group textarea{resize:vertical;}
.form-group .hint{font-size:0.78rem;color:var(--mid);margin-top:0.25rem;}
.checkbox-group{display:flex;align-items:center;gap:0.5rem;}
.checkbox-group input[type="checkbox"]{width:18px;height:18px;accent-color:var(--canopy);}
.current-image{margin-top:0.5rem;}
.current-image img{max-width:300px;border:1px solid var(--warm);}

/* Image library grid */
.image-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:0.75rem;margin-top:0.5rem;max-height:300px;overflow-y:auto;padding:0.5rem;border:1px solid var(--warm);background:#fafaf7;}
.lib-thumb{cursor:pointer;border:2px solid transparent;padding:4px;text-align:center;transition:border-color 0.2s;}
.lib-thumb:hover{border-color:var(--mist);}
.lib-thumb.selected{border-color:var(--canopy);background:rgba(196,82,26,0.06);}
.lib-thumb img{width:100%;height:80px;object-fit:cover;display:block;}
.lib-thumb span{display:block;font-size:0.65rem;color:var(--mid);margin-top:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* Copy link button */
.copy-link-btn{margin-left:auto;background:transparent;border:1px solid var(--warm);color:var(--mid);font-family:'DM Sans',sans-serif;font-size:0.75rem;letter-spacing:0.05em;padding:0.35rem 0.8rem;cursor:pointer;transition:all 0.2s;white-space:nowrap;}
.copy-link-btn:hover{border-color:var(--canopy);color:var(--canopy);}
.copy-link-btn.copied{border-color:var(--moss);color:var(--moss);background:rgba(30,66,48,0.06);}

/* Empty state */
.empty-state{text-align:center;padding:4rem 2rem;color:var(--mid);}
.empty-state p{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.2rem;}

/* Logbuch mobile */
@media(max-width:768px){
  .logbuch-header{padding:6rem 5% 3rem;}
  
  .logbuch-entries::before{left:calc(5% + 10px);}
  .logbuch-entry{gap:1.5rem;}
  .logbuch-entry-marker{width:22px;}
  .logbuch-post{padding:6rem 5% 3rem;}
  .logbuch-nav{grid-template-columns:1fr;}
  .admin-bar{margin-top:56px;flex-direction:column;gap:0.5rem;}
}

/* --- Markdown Extensions: Aside Box --- */
.logbuch-content .aside-box,
.aside-box{background:var(--warm);border-left:3px solid var(--canopy);padding:1.5rem 2rem;margin:2rem 0;}
.aside-box h4{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:400;color:var(--ink);margin-bottom:0.75rem;}
.aside-box p{font-size:0.92rem;line-height:1.7;color:var(--mid);margin-bottom:0.5rem;}
.aside-box p:last-child{margin-bottom:0;}

/* --- Markdown Extensions: Two Perspectives / Old-New Grid --- */
.logbuch-content .old-new-grid,
.old-new-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin:2.5rem 0;}
.old-new-col{padding:1.5rem;border-top:2px solid var(--warm);}
.old-new-col.old{background:rgba(0,0,0,0.02);}
.old-new-col.old h4{font-size:0.7rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--mid);margin-bottom:0.75rem;}
.old-new-col.new{background:rgba(196,82,26,0.04);border-top-color:var(--canopy);}
.old-new-col.new h4{font-size:0.7rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--canopy);margin-bottom:0.75rem;}
.old-new-col p{font-size:0.9rem;line-height:1.7;color:var(--mid);margin-bottom:0.5rem;}
.old-new-col ul{margin:0.5rem 0 0.5rem 1.2rem;font-size:0.9rem;line-height:1.7;color:var(--mid);}
.old-new-col li{margin-bottom:0.3rem;}

/* --- Markdown Extensions: Timeline --- */
.logbuch-content .logbuch-timeline,
.logbuch-timeline{margin:2.5rem 0;padding:0;}
.logbuch-timeline .timeline-item{display:grid;grid-template-columns:100px 2px 1fr;gap:1.2rem;margin-bottom:1.5rem;}
.logbuch-timeline .timeline-time{font-family:'Cormorant Garamond',serif;font-size:0.95rem;font-style:italic;color:var(--canopy);text-align:right;padding-top:0.15rem;}
.logbuch-timeline .timeline-line{background:var(--warm);position:relative;}
.logbuch-timeline .timeline-line::before{content:'';position:absolute;top:0.3rem;left:-4px;width:10px;height:10px;border-radius:50%;background:var(--canopy);}
.logbuch-timeline .timeline-content h4{font-size:0.95rem;font-weight:500;color:var(--ink);margin-bottom:0.3rem;}
.logbuch-timeline .timeline-content p{font-size:0.9rem;line-height:1.65;color:var(--mid);margin-bottom:0.3rem;}

/* --- Markdown Extensions: Cycle Visual --- */
.logbuch-content .cycle-visual,
.cycle-visual{background:var(--warm);padding:2.5rem;margin:2.5rem 0;text-align:center;}
.cycle-visual .cycle-title{font-family:'Bebas Neue',sans-serif;font-size:1.4rem;color:var(--ink);margin-bottom:1.5rem;letter-spacing:0.03em;}
.cycle-items-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0.3rem;}
.cycle-item{display:inline-flex;align-items:center;gap:0.5rem;}
.cycle-item span:first-child{background:var(--forest);color:#fff;padding:0.5rem 1rem;font-size:0.8rem;font-weight:400;letter-spacing:0.03em;}
.cycle-arrow{color:var(--canopy);font-size:1.2rem;font-weight:300;padding:0 0.3rem;}
.cycle-return{color:var(--canopy);font-size:1rem;}
.cycle-caption{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1rem;color:var(--mid);margin-top:1.2rem;}

/* Mobile for extensions */
@media(max-width:768px){
  .old-new-grid{grid-template-columns:1fr;}
  .logbuch-timeline .timeline-item{grid-template-columns:70px 2px 1fr;gap:0.8rem;}
  .cycle-items-row{flex-direction:column;}
}
