/* ============================================
   main.css - larro.de
   Gemeinsame Styles für alle Seiten
   ============================================ */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f5f5f0; }
html { scroll-behavior: smooth; }

/* Header & Brand */
.header { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px; position: relative; }
.brand { cursor: pointer; transition: opacity 0.3s; display: flex; align-items: stretch; gap: 50px; }
.brand:hover { opacity: 0.8; }
.brand-symbol { flex-shrink: 0; display: flex; align-items: stretch; }
.brand-symbol img { height: 100%; width: auto; display: block; }
.brand h1 { font-size: 2.5rem; font-weight: 300; color: #2d5a27; margin-bottom: 5px; }
.brand-tagline { font-size: 1.1rem; color: #666; font-weight: 300; margin: 0; }

/* Menu */
.menu-toggle { background: rgba(255, 255, 255, 0.95); padding: 15px 20px; border-radius: 3px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); cursor: pointer; font-size: 1rem; color: #666; transition: all 0.3s; }
.menu-toggle:hover { color: #2d5a27; transform: translateY(-2px); }
.nav-menu { position: absolute; top: 100%; right: 40px; background: white; border-radius: 3px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); padding: 20px 0; display: none; z-index: 1000; min-width: 200px; }
.nav-menu.active { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.nav-menu ul { list-style: none; }
.nav-menu a { display: block; padding: 12px 25px; color: #666; text-decoration: none; transition: all 0.3s; }
.nav-menu a:hover, .nav-menu a.active { background: #f0fdf4; color: #2d5a27; }

/* Article (für Blog-Artikel und Essays) */
.article-container { max-width: 800px; margin: 0 auto; padding: 40px; background: white; border-radius: 5px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.article-header { margin-bottom: 40px; }
.article-title { font-size: 2.5rem; font-weight: 300; color: #2d5a27; margin-bottom: 15px; line-height: 1.2; }
.article-subtitle { font-size: 1.4rem; color: #666; font-weight: 300; font-style: italic; margin-bottom: 20px; }
.article-meta { color: #666; font-size: 1rem; margin-bottom: 20px; font-style: italic; }
.article-image { width: 100%; height: auto; border-radius: 5px; margin: 30px 0; }
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { color: #2d5a27; margin-top: 50px; margin-bottom: 25px; font-size: 2rem; font-weight: 400; border-bottom: 2px solid #f0fdf4; padding-bottom: 10px; }
.article-content h3 { color: #2d5a27; margin-top: 35px; margin-bottom: 20px; font-size: 1.5rem; font-weight: 400; }
.article-content blockquote { background: #f0fdf4; padding: 20px 25px; border-left: 4px solid #2d5a27; margin: 30px 0; font-style: italic; color: #555; }
.article-content em { font-style: italic; color: #555; }
.article-content strong { font-weight: 600; color: #2d5a27; }
.article-content hr { border: none; border-top: 1px solid #e0e0e0; margin: 35px 0; }
.article-content ul, .article-content ol { margin: 25px 0 25px 45px; }
.article-content li { margin-bottom: 12px; line-height: 1.8; }

/* Essay-spezifisch (größere Typografie) */
.article-container.essay { max-width: 900px; }
.article-container.essay .article-title { font-size: 2.8rem; }
.article-container.essay .article-content { font-size: 1.15rem; line-height: 1.9; }
.article-container.essay .article-content p { margin-bottom: 24px; }
.article-container.essay .article-content hr { border-top: 2px solid #e0e0e0; margin: 50px 0; }
.article-container.essay .article-content blockquote { font-size: 1.1rem; padding: 25px 30px; margin: 35px 0; }

.special-section { background: #f9fafb; padding: 30px; border-radius: 5px; margin: 40px 0; border-left: 4px solid #2d5a27; }

/* Back-Link (schlanker Textlink-Standard) */
.back-link { display: inline-block; margin-top: 30px; color: #2d5a27; text-decoration: none; font-size: 1rem; transition: opacity 0.3s; }
.back-link:hover { opacity: 0.7; }

/* Scroll-to-Top Button */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: rgba(45, 90, 39, 0.9); color: white; border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 1000; }
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-3px); }
.scroll-to-top::before { content: '↑'; display: block; font-size: 20px; font-weight: bold; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .header { padding: 20px; flex-direction: column; align-items: center; text-align: center; }
    .brand { align-items: stretch; }
    .brand h1 { font-size: 2rem; }
    .menu-toggle { margin-top: 20px; }
    .nav-menu { right: 20px; }
    .article-container { padding: 25px; margin: 20px; }
    .article-title { font-size: 2rem; }
    .article-container.essay .article-subtitle { font-size: 1.1rem; }
    .article-content { font-size: 1.05rem; }
    .scroll-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}
