/* Grav integration; the original styles2.css remains unchanged. */
@font-face{font-family:base-font;src:url('fonts/Exo-VariableFont_wght.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:base-font;src:url('fonts/Exo-Italic-VariableFont_wght.ttf') format('truetype');font-style:italic;font-weight:100 900;font-display:swap}
html{color-scheme:light}
body{min-width:0;display:flex;flex-direction:column;min-height:100vh;font-family:base-font,ui-sans-serif,system-ui,sans-serif}
header img[alt="tutego logo"]{max-width:150px}
.blog-navigation{border-bottom:1px solid #e5e5e5;background:#fff}
.blog-navigation-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding-top:1rem;padding-bottom:1rem}
.blog-name{flex-shrink:0;font-weight:700;color:#171717}
.blog-navigation ul{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;list-style:none;margin:0;padding:0}
.blog-navigation a:hover,.blog-navigation a[aria-current]{color:#a1470b;text-decoration:underline;text-underline-offset:.3em}
.blog-main{width:100%;flex:1;padding-top:2.5rem;padding-bottom:1rem}
.prose{overflow-wrap:anywhere}
.prose pre{overflow-x:auto;max-width:100%;tab-size:4}
.prose table{display:block;overflow-x:auto}
.prose img,.prose video{max-width:100%;height:auto}
footer{flex-shrink:0}
footer h4{font-size:1.125rem;font-weight:600}
footer li{line-height:1.75}
.skip-link{position:absolute;top:-5rem;left:1rem;z-index:100;background:white;color:#171717;padding:.75rem 1rem;border:2px solid #a1470b}
.skip-link:focus{top:1rem}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #a1470b;outline-offset:4px}
@media(max-width:767px){.blog-navigation-inner{align-items:flex-start;flex-direction:column}.blog-navigation ul{gap:.75rem 1rem}.blog-main{padding-top:1.75rem}}
.blog-meta{font-size:.9rem;color:#57534e}
.prose .blog-meta{margin-top:.5rem}
.blog-preview{padding:1.5rem 0 2rem;border-bottom:1px solid #e7e5e4}
.prose .blog-article-title{margin:0 0 1rem;font-size:1.65em;line-height:1.35;font-weight:700}
.prose .blog-article-title>a{font:inherit;color:inherit}
.blog-preview h2 a{text-decoration:none}
.blog-preview h2 a:hover{text-decoration:underline;color:#a1470b}
.blog-search{padding:1rem 1.25rem;background:#fff;border:1px solid #e7e5e4;border-radius:.5rem;margin:2rem 0}
.blog-search label{display:block;font-weight:600;margin-bottom:.5rem}
.blog-search div{display:flex;gap:.5rem}
.blog-search input{width:100%;min-width:0;padding:.6rem;border:1px solid #a8a29e;border-radius:.25rem;background:#fff}
.blog-search button{flex-shrink:0;white-space:nowrap;padding:.5rem 1rem;background:#ff970a;color:#171717;border-radius:.25rem;font-weight:600}
.blog-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin:2rem 0}
.blog-pagination a,.blog-archive a{text-decoration:underline;text-underline-offset:.2em}
.blog-archive ul{display:flex;gap:1rem;flex-wrap:wrap;list-style:none;padding:1rem 0}
.blog-comment{padding:1rem 1.5rem;border-left:3px solid #ff970a;background:#fff;margin:1.25rem 0}
.comment-text{white-space:pre-wrap}
.blog-post{max-width:100%}
.blog-hero{position:relative;isolation:isolate;display:grid;min-height:clamp(220px,32vw,320px);overflow:hidden;background:#001d2d}
.prose .blog-hero-link{display:block;color:inherit;font-weight:inherit;text-decoration:none}
.prose .blog-hero>img{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;object-fit:cover;object-position:center}
.blog-hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(0deg,rgba(0,20,34,.48),rgba(0,20,34,.12) 38%,transparent 72%);pointer-events:none}
.prose .blog-hero>h1{position:relative;z-index:1;align-self:end;max-width:22ch;margin:0;padding:clamp(1.25rem,4vw,2.5rem);box-sizing:content-box;color:#fff;font-size:clamp(1.75rem,4.5vw,3.25rem);font-weight:700;line-height:1.12;letter-spacing:-.025em;text-shadow:0 2px 12px rgba(0,0,0,.65);overflow-wrap:normal;text-wrap:balance}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.blog-heading{margin-bottom:2.5rem}
.blog-columns{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:2.5rem;align-items:start}
.blog-content{min-width:0}
.blog-sidebar{min-width:0;font-size:.95rem;line-height:1.65;color:#44403c}
.sidebar-widget{padding:0 0 1.5rem;margin:0 0 1.5rem;border-bottom:1px solid #e7e5e4}
.sidebar-widget:last-child{border-bottom:0}
.sidebar-widget h2{font-size:1.15rem;line-height:1.4;font-weight:650;color:#171717;margin:0 0 1rem}
.sidebar-widget h3{font-size:.95rem;line-height:1.5;font-weight:600;margin:0 0 .75rem;color:#171717}
.sidebar-widget a:hover{color:#a1470b}
.sidebar-courses>a{display:block;margin-bottom:1.5rem}
.sidebar-courses>a:last-child{margin-bottom:0}
.sidebar-courses img{display:block;width:100%;height:auto;border-radius:.25rem}
.sidebar-search>div{display:flex;gap:.4rem}
.sidebar-search input,.sidebar-archive-form select{width:100%;min-width:0;border:1px solid #a8a29e;border-radius:.25rem;background:#fff;padding:.65rem .6rem;font:inherit;color:#292524}
.sidebar-search button,.sidebar-archive-form button{flex-shrink:0;border-radius:.25rem;background:#ff970a;color:#171717;font:inherit;font-weight:600;padding:.55rem .7rem;white-space:nowrap;cursor:pointer}
.sidebar-archive-form{display:flex;flex-wrap:nowrap;align-items:stretch;gap:.4rem}
.sidebar-archive-form select{flex:1;min-width:0;width:0}
.sidebar-archive-form button{margin-top:0;font-size:.875rem}
.sidebar-welcome p{margin:0}
.sidebar-social a{display:block;margin-bottom:.85rem;text-decoration:none}
.sidebar-social strong{display:block;text-decoration:underline;text-underline-offset:.2em;color:#292524}
.sidebar-social span{display:block;font-size:.875rem}
@media(max-width:899px){.blog-columns{grid-template-columns:minmax(0,1fr)}.blog-sidebar{border-top:1px solid #d6d3d1;padding-top:2rem}.sidebar-courses img{max-width:320px}.sidebar-search{max-width:440px}.sidebar-archive-form{max-width:440px}}
.prose pre[class*="language-"]{border:1px solid #e7e5e4;border-radius:.4rem;font-size:.875rem;line-height:1.65;text-shadow:none}
.prose pre[class*="language-"] code{font-family:Consolas,"Liberation Mono",monospace;font-size:inherit;white-space:pre;overflow-wrap:normal;word-break:normal}
.prose pre code::before,.prose pre code::after{content:none}
/* YouTube: Zwei-Klick-Lösung (templates/partials/youtube.html.twig) */
.prose .youtube-consent{margin:1.5rem 0}
.prose .youtube-consent .grav-youtube{margin:0;border-radius:.4rem;background:#1c1917}
.prose .youtube-consent img{margin:0;border-radius:0}
.prose .youtube-consent--no-thumbnail{background:linear-gradient(135deg,#292524,#57534e)}
.prose .youtube-consent button{width:68px;height:48px}
.prose .youtube-consent button:focus-visible{outline:3px solid #fbbf24;outline-offset:4px}
.prose .youtube-consent-note{margin-top:.5rem;font-size:.8125rem;line-height:1.5;color:#57534e}
