/*
Theme Name: BIFOP Minimal S/W
Author: BIFOP
Description: Elegantes, minimalistisches Schwarz-Weiß-Theme. Inhalte, Menüs und Kategorien werden vollständig in WordPress gepflegt.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bifop-minimal-sw
*/
:root{--bg:#fff;--text:#000;--muted:#666;--line:#000;--max:1120px;--content:760px;--font:"Courier New",Courier,monospace}*{box-sizing:border-box}html{font-size:17px;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.65;text-rendering:optimizeLegibility}.site{min-height:100vh;display:flex;flex-direction:column}a{color:#000;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}a:hover,a:focus{text-decoration-thickness:2px}img{max-width:100%;height:auto;display:block}.site-header{border-bottom:1px solid #000;background:#fff}.header-inner{max-width:var(--max);margin:0 auto;padding:1.25rem;display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:center}.site-title{margin:0;font-size:clamp(1.35rem,3vw,2.35rem);line-height:1.1;font-weight:400;letter-spacing:-.035em}.site-title a{text-decoration:none}.site-description{margin:.35rem 0 0;color:var(--muted);font-size:.82rem;line-height:1.45}.custom-logo{width:auto;max-height:62px}.main-navigation ul{margin:0;padding:0;list-style:none;display:flex;gap:1rem;flex-wrap:wrap;justify-content:flex-end}.main-navigation a{font-size:.88rem;text-decoration:none;border-bottom:1px solid transparent}.main-navigation a:hover,.main-navigation .current-menu-item>a,.main-navigation .current_page_item>a{border-bottom-color:#000}.hero{border-bottom:1px solid #000}.hero-inner{max-width:var(--max);margin:0 auto;padding:clamp(3rem,8vw,7rem) 1.25rem}.hero-kicker{margin:0 0 1rem;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.hero-title{max-width:980px;margin:0;font-size:clamp(2.1rem,7vw,5.7rem);line-height:.96;font-weight:400;letter-spacing:-.075em}.hero-text{max-width:680px;margin:1.5rem 0 0;font-size:clamp(1rem,2vw,1.25rem)}.site-main{width:100%;max-width:var(--max);margin:0 auto;padding:clamp(2rem,5vw,4rem) 1.25rem;flex:1}.content-narrow,.entry-content,.single .entry-header,.page .entry-header{max-width:var(--content)}.page-header,.archive-header{border-bottom:1px solid #000;padding-bottom:1.25rem;margin-bottom:2rem}.page-title,.archive-title,.entry-title{margin:0;font-weight:400;line-height:1.08;letter-spacing:-.045em}.page-title,.archive-title{font-size:clamp(2rem,5vw,4rem)}.entry-title{font-size:clamp(1.65rem,4vw,3rem)}.entry-title a{text-decoration:none}.entry-title a:hover{text-decoration:underline}.entry-meta,.entry-footer{color:var(--muted);font-size:.82rem}.post-list{display:grid;gap:0;border-top:1px solid #000}.post-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:2rem;padding:2rem 0;border-bottom:1px solid #000}.post-card.no-thumb{grid-template-columns:1fr}.post-card .post-thumbnail img{width:100%;aspect-ratio:3/4;object-fit:cover;border:1px solid #000}.post-thumbnail{margin:0 0 2rem;max-width:var(--content)}.post-thumbnail img{border:1px solid #000}.entry-content>*{margin-top:0;margin-bottom:1.35rem}.entry-content h2,.entry-content h3,.entry-content h4{margin-top:2.4rem;font-weight:400;line-height:1.2;letter-spacing:-.025em}.entry-content h2{font-size:clamp(1.5rem,3vw,2.2rem);border-top:1px solid #000;padding-top:1rem}.entry-content blockquote{margin-left:0;padding-left:1.25rem;border-left:1px solid #000;color:var(--muted)}.entry-content table{border-collapse:collapse;width:100%}.entry-content th,.entry-content td{border:1px solid #000;padding:.6rem;text-align:left}input,textarea,select,.search-field{width:100%;max-width:520px;border:1px solid #000;background:#fff;color:#000;font:inherit;padding:.8rem;border-radius:0}button,input[type=submit],.wp-block-button__link,.button{border:1px solid #000;background:#000;color:#fff;font:inherit;padding:.8rem 1rem;border-radius:0;text-decoration:none;cursor:pointer}button:hover,input[type=submit]:hover,.wp-block-button__link:hover,.button:hover{background:#fff;color:#000}.categories-strip{border-top:1px solid #000;border-bottom:1px solid #000;padding:1rem 0;margin:0 0 2rem}.categories-strip ul{margin:0;padding:0;list-style:none;display:flex;gap:.75rem;flex-wrap:wrap}.categories-strip a{text-decoration:none;border:1px solid #000;padding:.28rem .5rem;display:inline-block}.categories-strip a:hover{background:#000;color:#fff}.navigation.pagination,.post-navigation{margin-top:2.5rem;border-top:1px solid #000;padding-top:1rem}.nav-links{display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap}.site-footer{border-top:1px solid #000;margin-top:auto;background:#fff}.footer-inner{max-width:var(--max);margin:0 auto;padding:1.5rem 1.25rem;display:grid;grid-template-columns:1fr auto;gap:1.5rem;color:var(--muted);font-size:.82rem}.footer-navigation ul{margin:0;padding:0;display:flex;gap:1rem;list-style:none;flex-wrap:wrap;justify-content:flex-end}.footer-navigation a{color:#000;text-decoration:none;border-bottom:1px solid transparent}.footer-navigation a:hover{border-bottom-color:#000}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){html{font-size:16px}.header-inner,.footer-inner{grid-template-columns:1fr}.main-navigation ul,.footer-navigation ul{justify-content:flex-start}.post-card{grid-template-columns:1fr}.post-card .post-thumbnail{max-width:220px}}
.bifop-buchseite {
  max-width: 1050px;
  margin: 0 auto;
  padding: 40px 20px;
}

.bifop-buch-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 36px;
  align-items: start;
}

.bifop-buch-cover img {
  width: 210px;
  max-width: 210px;
  height: auto;
  display: block;
  border: 1px solid #ccc;
}

.bifop-buch-info h1 {
  font-size: 1.35rem !important;
  line-height: 1.25;
  margin: 0 0 18px 0;
  max-width: 760px;
}

.bifop-autor {
  font-size: 1rem;
  margin: 0 0 28px 0;
}

.bifop-buchdaten {
  border-collapse: collapse;
  margin: 0 0 28px 0;
  width: auto;
}

.bifop-buchdaten th {
  text-align: left;
  padding: 6px 32px 6px 0;
  font-weight: 700;
  white-space: nowrap;
}

.bifop-buchdaten td {
  padding: 6px 0;
}

.bifop-kaufbuttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  align-items: center;
}

.bifop-button {
  display: inline-block;
  min-width: 150px;
  padding: 10px 14px;
  background: #000;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.bifop-button-secondary {
  background: #444;
}

.bifop-button-light {
  background: #eee;
  color: #000 !important;
  border: 1px solid #999;
}

.bifop-klappentext {
  margin-top: 40px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.6;
}