/*
  Theme: Storytelling / Blog Focus
  Font: Merriweather
  Language: German
  Tone: Storytelling / Narrative
*/

:root {
  --background-color: #fdf6e3;
  --surface-color: #f5f0e1;
  --text-color: #586e75;
  --heading-color: #073642;
  --primary-color: #cb4b16;
  --secondary-color: #b58900;
  --border-color: #eee8d5;
  --header-bg: #073642;
  --header-text: #eee8d5;
  --footer-text: #93a1a1;
}

body {
  font-family: 'Merriweather', serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

p {
  margin-bottom: 1.5em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px dotted var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
  border-bottom-style: solid;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 2.5fr 1fr;
  }
}

/* --- Header & Navigation --- */
.site-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 1.5rem 0;
  border-bottom: 4px solid var(--secondary-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--header-text);
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--header-text);
  font-weight: 400;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--secondary-color);
}


/* --- Main Content & Articles --- */
main, .page-content {
  background-color: var(--surface-color);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.page-header h1 {
  margin-top: 0;
  text-align: center;
  margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-color);
}

.article-list .article-preview {
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.article-list .article-preview:first-child {
  padding-top: 1rem;
}
.article-list .article-preview:last-child {
  border-bottom: none;
}

.article-preview h2 {
  margin-top: 0;
  font-size: 2rem;
}

.article-preview h2 a {
  color: var(--heading-color);
  text-decoration: none;
  border-bottom: none;
}
.article-preview h2 a:hover {
  color: var(--primary-color);
}

.read-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  text-decoration: none;
  border-bottom: none;
}

.read-more:hover {
  background-color: var(--heading-color);
  color: white;
}

/* --- Article Page --- */
.article-header {
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.article-header h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--muted-text-color);
  font-size: 1rem;
  font-style: italic;
}

.article-content ul {
    list-style-type: square;
    margin-left: 1.5rem;
    padding-left: 1rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-left: 0;
  font-style: italic;
  font-size: 1.2rem;
}

.cta-section {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
    text-align: center;
}
.cta-section p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* --- Sidebar --- */
aside .widget {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.widget-title {
  margin-top: 0;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  margin-bottom: 0.75rem;
}

.widget ul li a {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px dotted var(--text-color);
}

.promo-text {
  background-color: var(--secondary-color);
  color: var(--header-bg);
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--header-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 2.5rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* --- Contact Form --- */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--heading-color);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Merriweather', serif;
    background-color: var(--background-color);
    color: var(--text-color);
}
.contact-form button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: none;
    font-family: 'Merriweather', serif;
}
.contact-form button:hover {
    background-color: var(--heading-color);
}
