/* The Travel Stories – Stylesheet der neuen, statischen Seite.
   Nachempfunden dem alten Evoke-Child-Theme: Neuton als Fließtext,
   Oswald für Titel, Lato fürs Menü, Korallrot #ff4f58 als Akzent. */

:root {
  --text: #1e1e1e;
  --muted: #8f8f8f;
  --accent: #ff4f58;
  --dark: #1d1d1d;
  --rule: #e4e4e4;
  --body-font: 'Neuton', Georgia, serif;
  --title-font: 'Oswald', 'Arial Narrow', sans-serif;
  --ui-font: 'Lato', Helvetica, Arial, sans-serif;
  --header-h: 64px;
  --story-w: 790px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 22px;
  line-height: 1.55;
  padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--title-font); font-weight: 400; letter-spacing: .1em; line-height: 1.2; margin: 1.2em 0 .5em; }
h5 { font-size: 15px; text-transform: uppercase; letter-spacing: .2em; }
.hidden { display: none; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 30px;
  background: #fff;
  font-family: var(--ui-font);
}
/* Das Logo sitzt wie im Original oben bündig und ragt in das erste Bild hinein. */
.logo { position: absolute; top: 0; left: 30px; z-index: 2; }
.logo img, .logo svg { display: block; width: 150px; height: 150px; }
.nav { display: flex; align-items: center; gap: 48px; }
.menu, .social, .sub { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; }
.menu > li { position: relative; margin-left: 24px; }
.menu > li:last-child { margin-left: 14px; padding-left: 15px; }
.menu > li:last-child::before { content: ""; position: absolute; left: 0; top: 50%; height: 24px; margin-top: -12px; border-left: 1px solid #c3c3c3; }
.menu a { display: block; color: var(--text); font-weight: 500; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; line-height: var(--header-h); white-space: nowrap; }
.menu a:hover, .menu a[aria-current] { color: var(--accent); text-decoration: none; }
.caret { display: none; }
.sub {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(-6px);
  width: 171px; padding: 0;
  background: #151515; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -6px; border: 6px solid transparent; border-bottom-color: #151515; }
.has-children:hover .sub, .has-children:focus-within .sub { opacity: 1; visibility: visible; }
.sub li { margin: 0; }
.sub a { line-height: 1.6; padding: 12px 8px; font-size: 11px; font-weight: 400; letter-spacing: 2px; color: #999; border-bottom: 1px solid #454545; white-space: normal; }
.sub li:last-child a { border-bottom: 0; }
.sub a:hover, .sub a[aria-current] { color: #fff; }
.social { display: flex; gap: 16px; }
.social a { display: block; width: 18px; height: 18px; color: var(--text); }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-facebook:hover { color: #6788ce; }
.social-twitter:hover { color: #29c5f6; }
.social-youtube:hover { color: #e34040; }
.social-vimeo:hover { color: #44bbff; }
.social-instagram:hover { color: #aa8062; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Kachelraster (Startseite, Länder) ---------- */
.grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin: 0 15px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; height: 26.2em; overflow: hidden; background: var(--dark); text-align: center; }
.tile-full { grid-column: 1 / -1; height: 29.5em; }
.grid-3 .tile { height: 22em; }
.tile-link { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; }
.tile-link:hover { text-decoration: none; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-link::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); transition: background-color .3s ease-in-out; }
.tile-content { position: relative; z-index: 1; width: 100%; padding: 0 30px; transition: color .3s ease-in-out; }
.tile-title { margin: 0; font-size: 56px; line-height: 1.5; color: inherit; }
.tile-full .tile-title { font-size: 72px; }
.grid-3 .tile-title { font-size: 34px; }
.tile-sub { margin: 0; font-family: var(--body-font); font-style: italic; font-weight: 400; letter-spacing: .1em; font-size: 24px; line-height: 1.4; color: inherit; }
.tile-sub::before { content: ""; display: block; width: 10%; margin: 18px auto 26px; border-top: 2px solid var(--accent); }
.tile .meta { margin-top: 18px; color: rgba(255,255,255,.7); transition: color .3s ease-in-out; }
.meta { font-family: var(--ui-font); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.meta .by { font-style: italic; text-transform: none; }
.meta strong { font-weight: 400; }
.meta a { color: inherit; }
.meta .sep::before { content: "●"; font-size: 5px; vertical-align: middle; padding: 0 8px; }
/* Hover wie im Original: Kachel wird hell, Schrift dunkel */
.tile-link:hover::after { background: rgba(255,255,255,.7); }
.tile-link:hover .tile-content { color: #151515; }
.tile-link:hover .meta { color: #151515; }

.archive-header { max-width: var(--story-w); margin: 50px auto 30px; padding: 0 20px; text-align: center; }
.archive-header h1 { font-family: var(--body-font); text-transform: uppercase; letter-spacing: 4px; font-size: 48px; margin: 0 0 .2em; font-weight: 700; }
.archive-header p { margin: 0; color: var(--muted); font-family: var(--ui-font); font-size: 15px; }

/* ---------- Artikelkopf ---------- */
.hero { position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; text-align: center; padding: 80px 20px; }
.hero-page { min-height: 44vh; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero-content { position: relative; max-width: 900px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.single-title { font-size: 58px; margin: 0 0 .3em; color: #fff; }
.single-sub { font-family: var(--body-font); font-weight: 400; font-style: italic; letter-spacing: .05em; font-size: 26px; margin: 0 0 1em; }
.page-title { font-family: var(--body-font); text-transform: uppercase; letter-spacing: 4px; font-size: 60px; margin: 0; font-weight: 700; }
.hero .meta { color: rgba(255,255,255,.8); }
.hero .meta a { color: #fff; }

/* ---------- Artikeltext ---------- */
.story { max-width: var(--story-w); margin: 50px auto 0; padding: 0 20px; text-align: justify; hyphens: auto; }
.story-page { text-align: left; }
.story p { margin: 0 0 1.2em; }
.story img { display: block; margin: 0 auto; }
.story .dropcap { float: left; font-family: var(--title-font); font-size: 72px; line-height: .78; padding: 6px 10px 0 0; }
.story .huge_letters { text-align: center; margin: 2em 0; }
.story .huge_image_caption, .story .caption { text-align: center; font-size: 15px; color: var(--muted); }
.story blockquote { margin: 1.5em 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent); font-style: italic; }
.story hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.story h2, .story h4, .story h6 { text-align: center; }
.story h6 { font-size: 22px; letter-spacing: .04em; font-family: var(--body-font); }

/* Vollbreite Bilder und ihre dunklen Bildunterschriften */
.story .full { width: 100vw; margin: 1.6em 0 1.6em calc(50% - 50vw); max-width: none; }
.story figure.full img { width: 100%; height: auto; }
/* Nur die Bildleiste klebt an ihrem Foto; zwischen zwei Fotos bleibt eine Leerzeile. */
.story figure.full + div.full { margin-top: -1.6em; }
/* Angelehnt ans Original (dort 149 px hoch), aber rund ein Drittel kompakter;
   zwischen Bildunterschrift und Fotonachweis bleibt ein kleiner Abstand. */
.img-bkg-caption { padding: 16px 15px; background: var(--dark); text-align: center; line-height: 31px; font-family: var(--body-font); }
.caption-title { display: block; color: #fff; font-size: 18px; word-spacing: 2px; margin-bottom: 26px; }
.caption-sub-title { display: block; color: var(--muted); font-size: 12px; letter-spacing: 1px; word-spacing: 2px; }
.story .credit { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.photo-credit { font-family: var(--ui-font); font-size: 12px; letter-spacing: 1px; color: var(--muted); text-align: center; margin: 0 0 10px; }
.story .video { position: relative; height: 0; padding-top: 56.25%; }
.story .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Unter dem Artikel ---------- */
.story-footer { max-width: var(--story-w); margin: 30px auto 0; padding: 0 20px; font-family: var(--ui-font); }
.author-box { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px 0; margin: 20px 0; font-family: var(--body-font); font-size: 19px; }
.author-box h5 { margin: 0 0 .5em; }
.author-box p { margin: 0; }
.share { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0; }
.share a { display: inline-block; padding: 8px 16px; border: 1px solid var(--text); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.share a:hover { background: var(--text); color: #fff; text-decoration: none; }
.prev-next { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; }
.prev-next a { color: var(--text); font-family: var(--title-font); font-size: 20px; max-width: 48%; }
.prev-next .next { text-align: right; margin-left: auto; }
.prev-next span { display: block; font-family: var(--ui-font); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.related { margin: 50px 15px 0; }
.related h5, .comments h5 { text-align: center; }
.related .grid { margin: 0; }
.comments { max-width: var(--story-w); margin: 50px auto 0; padding: 0 20px; font-size: 19px; }
.comment-list, .comment-replies { list-style: none; padding: 0; margin: 0; }
.comment { border-top: 1px solid var(--rule); padding: 18px 0; }
.comment-replies { margin-left: 40px; }
.comment-replies .comment:first-child { margin-top: 18px; }
.comment-meta { font-family: var(--ui-font); font-size: 14px; margin-bottom: 6px; }
.comment-meta time { color: var(--muted); margin-left: 8px; }
.comment-body p { margin: 0 0 .6em; }
.comments-closed { border-top: 1px solid var(--rule); padding-top: 18px; font-family: var(--ui-font); font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Autorenseite ---------- */
.authors { max-width: var(--story-w); margin: 0 auto; padding: 0 20px; }
.author { border-top: 1px solid var(--rule); padding: 30px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.author h2 { margin: 0 0 .4em; font-size: 28px; }
.author p { margin: 0 0 .8em; font-size: 20px; }
.author-stories { list-style: none; padding: 0; margin: 0; font-family: var(--ui-font); font-size: 14px; }
.author-stories li { margin: 4px 0; }
.author-stories a { color: var(--text); font-weight: 700; }
.author-stories a:hover { color: var(--accent); }
.author-stories span { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; margin-left: 8px; }

/* ---------- Kontaktformular ---------- */
.contact-form { max-width: 560px; margin: 30px auto; font-family: var(--ui-font); font-size: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; font: inherit; }
.contact-form button { padding: 12px 32px; background: var(--text); color: #fff; border: 0; font: inherit; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.contact-form button:hover { background: var(--accent); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--dark); color: var(--muted); padding: 60px 30px 0; margin-top: 80px; font-size: 18px; line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1170px; margin: 0 auto 50px; }
.foo-block h5 { color: #fff; margin: 0 0 1em; }
.foo-block p { margin: 0 0 1em; font-family: 'EB Garamond', Georgia, serif; font-size: 20px; line-height: 1.6; color: #b9b9b9; }
.site-footer a { color: #fff; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a { border: 1px solid #fff; padding: 2px 10px; font-family: var(--ui-font); font-size: 13px; }
.tagcloud a:hover { background: #fff; color: #000; text-decoration: none; }
.copyright { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1170px; margin: 0 auto; padding: 24px 0; border-top: 1px solid #333; font-family: var(--ui-font); font-size: 13px; }
.copyright a, .site-footer .social a { color: var(--muted); }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 0 20px; }
  .logo { left: 20px; }
  .logo img, .logo svg { width: 110px; height: 110px; }
  .nav { gap: 24px; }
  .menu > li { margin-left: 16px; }
  .menu a { font-size: 12px; letter-spacing: 1.5px; }
  .tile-title { font-size: 40px; }
  .tile-full .tile-title { font-size: 52px; }
  .single-title { font-size: 42px; }
  .page-title, .archive-header h1 { font-size: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 20px; }
  .logo img, .logo svg { width: 90px; height: 90px; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; }
  .nav-burger span { display: block; height: 2px; background: var(--text); }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 20px 30px; gap: 30px; overflow: auto; display: none; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .menu { flex-direction: column; align-items: flex-start; width: 100%; }
  .menu > li { margin-left: 0; }
  .menu > li:last-child { padding-left: 0; }
  .menu > li:last-child::before { display: none; }
  .menu a { line-height: 2.8; font-size: 14px; }
  .sub { position: static; transform: none; width: auto; opacity: 1; visibility: visible; background: none; text-align: left; padding-left: 20px; }
  .sub::before { display: none; }
  .sub a { border: 0; padding: 4px 0; color: #666; }
  .grid, .grid-3 { grid-template-columns: 1fr; gap: 14px; margin: 0 10px; }
  .tile, .tile-full, .grid-3 .tile { height: 19em; }
  .tile-content { padding: 0 16px; }
  .tile-title, .tile-full .tile-title, .grid-3 .tile-title { font-size: 30px; line-height: 1.3; }
  .tile-sub { font-size: 18px; }
  .tile-sub::before { margin: 12px auto 16px; }
  .tile .meta { margin-top: 12px; font-size: 11px; }
  .hero { min-height: 50vh; padding: 60px 16px; }
  .single-title { font-size: 32px; }
  .single-sub { font-size: 20px; }
  .page-title, .archive-header h1 { font-size: 30px; letter-spacing: 2px; }
  .story { margin-top: 30px; text-align: left; padding: 0 16px; }
  .story .dropcap { font-size: 56px; }
  .img-bkg-caption { line-height: 27px; }
  .caption-title { margin-bottom: 18px; }
  .prev-next { flex-direction: column; }
  .prev-next a { max-width: none; }
  .prev-next .next { text-align: left; margin-left: 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; text-align: center; }
  .site-footer { padding: 40px 20px 0; }
}
