/* Takers Place – angelehnt an das frühere WordPress-Theme "Passionate" */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --text:    #273039;
  --muted:   #6b7480;
  --accent:  #7c0707;
  --menu-bg: #d3d3d3;
  --line:    rgba(0, 0, 0, .07);
  --soft-bg: #fcfcfc;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: #3a3a3a url('background.jpg') left top / cover no-repeat fixed;
}

a { color: var(--text); text-decoration: none; transition: color .35s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-weight: 500; line-height: 1.25; margin: 0 0 .8em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.6em; }

/* ── Box layout ── */
.site {
  max-width: 1170px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid var(--line);
}

.container { padding: 0 30px; }

/* ── Header ── */

.banner img { width: 100%; }

/* ── Menu ── */
.menu {
  background: var(--menu-bg);
  border-top: 1px solid var(--line);
  position: relative;
}
.menu ul { list-style: none; margin: 0; padding: 0 12px; display: flex; flex-wrap: wrap; }
.menu a { display: block; padding: 12px 22px; font-size: 16px; }
.menu a[aria-current="page"] { color: var(--accent); }
.menu-toggle, .menu-toggle-label { display: none; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  font-size: 12px;
  padding: 6px 30px;
  background: var(--soft-bg);
  border-bottom: 1px solid rgba(0, 0, 0, .03);
}
.breadcrumbs a, .breadcrumbs span { opacity: .85; }
.breadcrumbs .sep { padding: 0 3px; }

/* ── Main ── */
main { padding: 28px 30px 50px; min-height: 280px; }

.entry-meta { margin: -.6em 0 1.6em; color: var(--text); font-size: 14px; }
.entry-meta time { color: var(--muted); }

.content a { color: var(--accent); }
.content a:hover { text-decoration: underline; }
.content ul, .content ol { margin: 0 0 1.6em; padding-left: 24px; }
.content li { margin: 6px 0; }
.content img { margin: 0 auto 1.6em; }
/* Einzelbilder im Fließtext: Hochformat-Fotos nicht über die ganze Breite ziehen */
.content > p > img { width: auto; max-height: 80vh; }
.content pre {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #f8f8f8;
  padding: 10px 20px;
  font-size: 13px;
  line-height: 1.5;
}
.content code { font-size: .92em; }
.content blockquote { margin: 0 0 1.6em; padding-left: 1em; border-left: 3px solid var(--menu-bg); color: var(--muted); }
.content table { border-collapse: collapse; width: 100%; margin-bottom: 1.6em; }
.content th, .content td { border: 1px solid #d1d1d1; padding: 6px 15px; }

/* ── Galerie (Bilder behalten ihr Seitenverhältnis) ── */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 1.6em;
}
.gallery::after { content: ''; flex-grow: 999; }
.gallery figure { margin: 0; position: relative; }
/* Nur der Bildlink, nicht die Credit-Links in der Bildunterschrift */
.gallery figure > a { display: block; overflow: hidden; background: #111; }
.gallery img { width: 100%; height: auto; margin: 0; transition: transform .3s, opacity .3s; }
.gallery figure > a:hover img { transform: scale(1.03); opacity: .92; }
.gallery figcaption { text-align: center; font-size: 14px; line-height: 1.4; padding-top: 4px; }
.gallery figcaption a { color: var(--accent); }
.gallery figcaption a:hover { text-decoration: underline; }

/* ── Cosplay-Übersicht ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.portfolio-entry img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 1.4rem; transition: opacity .3s; }
.portfolio-entry a:hover img { opacity: .85; }
.portfolio-entry h2 { font-size: 1.65rem; font-weight: 700; margin-bottom: .45em; }
.portfolio-entry p { font-size: 14px; margin: 0 0 1em; }

/* ── Blog-Übersicht ── */
.archive { max-width: 610px; }
.archive-post { border-bottom: 1px solid #e5e5e5; padding-bottom: 40px; margin-bottom: 40px; }
.archive-post:last-child { border-bottom: 0; }
.archive-post h2 { font-size: 1.3rem; margin-bottom: .2em; }
.archive-post .entry-meta { margin: 0 0 1.4em; }
.archive-post figure { margin: 0 0 1.4em; border: 1px solid var(--line); padding: 6px; }
.readmore { text-align: center; }
.readmore a {
  display: inline-block;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 14px;
}
.readmore a:hover { border-color: var(--accent); }

/* ── Vor/Zurück ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
  padding-top: 28px;
  font-size: 1.2rem;
  font-weight: 500;
}
.post-nav a:only-child[rel="next"] { margin-left: auto; }

/* ── Kontaktformular ── */
.contact-form { max-width: 560px; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 1.1em; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 400;
  border: 1px solid #ccc;
  background: #fafafa;
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .consent { font-weight: 400; font-size: 14px; display: flex; gap: .5em; align-items: flex-start; }
.contact-form .consent input { margin-top: .45em; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form button {
  font: inherit;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  padding: 6px 24px;
  background: #fff;
  cursor: pointer;
}
.contact-form button:hover { border-color: var(--accent); color: var(--accent); }
.notice { padding: 10px 16px; margin-bottom: 1.6em; border-left: 4px solid; }
.notice[hidden] { display: none; }
.notice.ok { border-color: #2e7d32; background: #edf7ee; }
.notice.error { border-color: var(--accent); background: #fbeeee; }

.embed-frame { display: block; width: 100%; height: 1200px; border: 0; }

/* ── Footer ── */
.footer-links {
  background: var(--soft-bg);
  border-top: 1px solid var(--line);
  padding: 30px 34px;
}
.footer-links a { margin-right: .35em; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 16px 30px;
  font-size: 14px;
}
.footer-bar a { color: var(--muted); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .6rem;
  background: rgba(0, 0, 0, .9);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: calc(92vh - 3rem); object-fit: contain; }
.lightbox .caption { color: rgba(255, 255, 255, .8); font-size: 14px; text-align: center; min-height: 1.4em; }
.lightbox button {
  position: fixed;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── Responsive ── */
@media (max-width: 1230px) {
  .site { margin: 0 auto; border: 0; }
}
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container, main, .breadcrumbs, .footer-bar { padding-left: 16px; padding-right: 16px; }
  .footer-links { padding: 20px 16px; }
  h1 { font-size: 1.8rem; }
  .menu-toggle-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 500;
  }
  .menu-toggle-label span, .menu-toggle-label span::before, .menu-toggle-label span::after {
    display: block; width: 22px; height: 2px; background: var(--text); position: relative;
  }
  .menu-toggle-label span::before, .menu-toggle-label span::after { content: ''; position: absolute; left: 0; }
  .menu-toggle-label span::before { top: -7px; }
  .menu-toggle-label span::after  { top: 7px; }
  .menu ul { display: none; flex-direction: column; padding: 0 0 8px; }
  .menu-toggle:checked ~ ul { display: flex; }
  .menu a { padding: 8px 16px; }
  .gallery figure { flex-basis: 100% !important; }
  .embed-frame { height: 1500px; }
}
@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
