/* Skandinavische Illustrierte Style ❄️ */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

body {
  font-family: "Roboto", sans-serif;
  background: #f5f5f5; /* helles Grau für Hintergrund */
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* Header */
header {
  background: #ffffff; /* weiß, klar */
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 1px solid #ddd;
}

header h1 a {
  text-decoration: none;
  color: #222222;
  font-size: 2.5rem;
  font-weight: 700;
}

/* Links */
a {
  color: #556270; /* gedämpftes Blau/Grau */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #33414a;
}

/* Main content */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Grid für Startseite */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin: 2rem 0;
}

.grid-item {
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.grid-item h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50; /* dunkles Grau-Blau */
}

.grid-item p {
  color: #555555;
  font-size: 0.95rem;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #556270;
  font-weight: 500;
}

.pagination a:hover {
  color: #33414a;
  text-decoration: underline;
}

/* Post content */
article {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

h1,
h2,
h3 {
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.3;
  color: #2c3e50;
}

small {
  color: #777777;
}

/* Images */
img {
  max-width: 100%;
  margin: 1rem 0;
  display: block;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

/* Code blocks */
pre {
  background: #f5f5f5;
  padding: 1rem;
  border-left: 4px solid #b0bec5; /* dezenter Farbakzent */
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.9rem;
  border-radius: 5px;
}

/* Buttons */
button {
  background: #2c3e50; /* dunkles Grau-Blau */
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  transition: background 0.2s ease;
}

button:hover {
  background: #1a252f;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  color: #777777;
  font-size: 0.85rem;
  background: #fafafa;
}

.post-meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.post-meta a {
  margin-right: 0.3rem;
}
.post-meta {
  margin: 0.5rem 0 1.5rem 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.post-meta a {
  margin-right: 0.3rem;
}

.site-footer {
  text-align: center;
  margin: 3rem 0 1.5rem 0;
  font-size: 0.75rem;
  opacity: 0.7;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.related-posts {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.instagram-grid img {
  width: 100%;
  border-radius: 6px;
}
header {
  background-color: white;
  .header-inner {
    display: flex;
    align-items: center;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 40px;
  }

  .nav-left img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .nav-btn:hover,
  .home-button:hover {
    opacity: 0.7;
  }
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header img[alt="Logo"] {
  max-width: 300px;
  margin-left: 300px;
}

.header-inner {
  display: flex;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 40px;
}

.nav-left img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.nav-btn:hover,
.home-button:hover {
  opacity: 0.7;
}

/* Navigation buttons base */
.nav-btn {
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.nav-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b1d0f;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}



.tag-cloud-container {
  margin: 3rem auto;
  max-width: 900px; /* Optional: Breite begrenzen */
  padding: 0 1.5rem; /* Abstand links/rechts */
}

.tag-cloud {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
}

.tag-cloud-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem; /* vertikaler und horizontaler Abstand */
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef1f4;
  color: #2c3e50;
  transition:
    transform 0.2s,
    background 0.2s;
}

.tag:hover {
  background: #d0d7e0;
  transform: scale(1.05);
}

.video-wrapper {
  max-width: 60%;
  margin: 1.5rem auto;
  aspect-ratio: 16 / 9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

