/* Static archive of luethenweg.de – no external resources, no JavaScript.
   Look & feel recreated after the original WordPress theme (Twenty Seventeen style). */

:root {
  --text: #333;
  --heading: #333;
  --link: #222;
  --muted: #767676;
  --border: #eee;
  --nav-h: 4.4rem;
  --font: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
@media (min-width: 48em) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

a {
  color: var(--link);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(15,15,15,1);
  transition: color .2s, box-shadow .2s;
}
a:hover, a:focus { color: #000; box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 3px 0 rgba(0,0,0,1); outline: 0; }
a img, .custom-logo-link, .site-title a, .menu a, .skip-link, .scroll-down { box-shadow: none; }
a:hover img, .custom-logo-link:hover, .site-title a:hover, .menu a:hover { box-shadow: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  clear: both;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 .75em;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: .875rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

p { margin: 0 0 1.5em; padding: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: #fff; color: #000;
  padding: .75rem 1rem; z-index: 100000; font-size: .875rem; font-weight: 600;
}
.skip-link:focus { left: 6px; top: 7px; }

/* ---------- Header ---------- */
.site-header { display: contents; }

.custom-header {
  position: relative;
  background: #222;
  color: #fff;
  min-height: 11.4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.custom-header-media { position: absolute; inset: 0; }
.custom-header-media img { width: 100%; height: 100%; object-fit: cover; }
.custom-header-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 75%, rgba(0,0,0,.5) 100%);
}

.front-page .custom-header { min-height: calc(100vh - var(--nav-h)); }
@supports (height: 100svh) {
  .front-page .custom-header { min-height: calc(100svh - var(--nav-h)); }
}

.site-branding { position: relative; z-index: 2; width: 100%; padding: 2.5rem 0; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 2em; }
@media (min-width: 48em) { .wrap { padding: 0 3em; } }
.site-branding .wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.custom-logo-link { display: inline-block; }
.custom-logo-link img { max-height: 80px; width: auto; }

.site-title {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}
.site-title a { color: #fff; }
.site-description { color: #fff; font-size: .875rem; margin: .4em 0 0; opacity: .95; }
@media (min-width: 48em) {
  .site-title { font-size: 2.25rem; }
  .site-description { font-size: 1rem; }
}

/* ---------- Navigation (sticky, no JS) ---------- */
.navigation-top {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: var(--nav-h);
}
.navigation-top .wrap { position: relative; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu li { margin: 0; }
.menu a {
  display: block;
  color: #222;
  font-size: .875rem;
  font-weight: 600;
  line-height: calc(var(--nav-h) - 2px);
  padding: 0 2.7em 0 0;
  transition: color .2s;
}
.menu a:hover, .menu a:focus { color: #767676; }
.menu .current-menu-item a { color: #767676; }

.scroll-down {
  display: none;
  position: absolute; right: 3em; top: 0;
  height: calc(var(--nav-h) - 2px); width: 2.5rem;
  align-items: center; justify-content: center; color: #222;
}
.scroll-down::before {
  content: ""; width: .6rem; height: .6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
.front-page .scroll-down { display: flex; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ---------- Content ---------- */
.site-content { padding: 2.5em 0 0; }
.content-column { max-width: 1000px; margin: 0 auto; padding: 0 2em; }
@media (min-width: 48em) {
  .site-content { padding: 5.5em 0 0; }
  .content-column { padding: 0 3em; }
  /* two-column page layout: title left, content right */
  body:not(.blog) .entry-header { float: left; width: 21%; margin: 0; }
  body:not(.blog) .entry-content { float: right; width: 58%; }
}
article::after { content: ""; display: table; clear: both; }

.entry-header { margin-bottom: 1.5em; }
.entry-title {
  font-size: .875rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5;
  text-transform: uppercase; margin: 0;
}
.entry-content { padding-bottom: 3em; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content h2 { font-size: 2rem; font-weight: 300; line-height: 1.4; margin: 4.5rem 0 1.25rem; }
.entry-content h2:first-child { margin-top: 0; }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }

blockquote {
  margin: 0 0 1.5em;
  padding: 0 0 0 1.25em;
  border-left: 4px solid var(--border);
  color: #666;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
}
blockquote p { margin-bottom: 1em; }

ul.bullets { list-style: none; margin: 0 0 1.5em; padding: 0; }
ul.bullets li { margin: 0 0 .5em; padding-left: 1.4em; text-indent: -1.4em; }
ul.bullets li::before { content: "● "; font-style: normal; }
ul.bullets.wishes li { margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 1em;
  padding: 2em 0;
  font-size: .875rem;
  color: var(--muted);
}
.site-footer p { margin: 0 0 .25em; }
.site-footer a { color: var(--muted); box-shadow: inset 0 -1px 0 currentColor; }

@media print {
  .navigation-top, .scroll-down { display: none; }
  .custom-header { min-height: 0; background: none; color: #000; }
  .custom-header-media { display: none; }
  .site-title, .site-title a, .site-description { color: #000; }
}

/* ---------- Blog (Aktuelles) ---------- */
.page-header { margin-bottom: 3rem; }
.page-title { font-size: .875rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; margin: 0; }
.blog-layout::after { content: ""; display: table; clear: both; }
@media (min-width: 48em) {
  #primary { float: left; width: 58%; }
  #secondary { float: right; width: 36%; }
}
.blog article { border-bottom: 1px solid var(--border); padding-bottom: 3em; margin-bottom: 3em; }
.blog article:last-of-type { border-bottom: 0; margin-bottom: 1.5em; }
.blog .entry-content { padding-bottom: 0; }
.blog .entry-header { margin-bottom: 1.5em; }
.entry-meta { color: var(--muted); font-size: .8125rem; font-weight: 800; letter-spacing: .1818em; text-transform: uppercase; margin-bottom: .5em; }
.entry-meta a { color: var(--muted); box-shadow: none; }
.blog .entry-title { font-size: 1.75rem; font-weight: 300; letter-spacing: normal; line-height: 1.3; text-transform: none; }
@media (min-width: 48em) { .blog .entry-title { font-size: 2rem; } }
.blog .entry-title a { color: #333; box-shadow: none; }
.blog .entry-title a:hover { color: var(--muted); }
.entry-content figure { margin: 0 0 1.5em; }
.entry-content .aligncenter { text-align: center; }
.t-center { text-align: center; }
.c-orange { color: #ff6900; }
.c-green { color: #00d084; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.5em; }
.gallery a { display: block; box-shadow: none; }
.gallery img { display: block; width: 240px; max-width: 100%; height: auto; }

.pagination { margin: 1em 0 3em; font-size: .875rem; font-weight: 600; }
.page-numbers { display: inline-block; padding: .35em .9em .35em 0; color: #222; box-shadow: none; }
a.page-numbers:hover { color: var(--muted); box-shadow: none; }
.page-numbers.current { color: var(--muted); }

.widget { margin-bottom: 3em; }
.widget-title { font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.5em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid #ddd; border-top: 1px solid var(--border); padding: .5em 0; font-size: .9375rem; }
.widget li a { box-shadow: none; }
.widget li a:hover { color: var(--muted); }

/* Front page: branding sits at the bottom of the header image */
.front-page .custom-header { align-items: flex-end; }
.front-page .site-branding { padding: 2.5rem 0 3.5rem; }
