/* Hochdruckexperte Blog Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1e293b;
  background: #f8fafc;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1FA9E0; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.site-header .wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.site-header img { height: 48px; width: auto; }
.site-header nav { display: flex; gap: 1.5rem; font-size: 15px; }
.site-header nav a { color: #475569; font-weight: 500; }
.site-header nav a:hover { color: #1FA9E0; }
@media (max-width: 640px) { .site-header nav { display: none; } }

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

/* Breadcrumbs */
.breadcrumb { font-size: 14px; color: #64748b; padding: 1rem 0; }
.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #1FA9E0; }
.breadcrumb-sep { margin: 0 0.5rem; color: #cbd5e1; }

/* Article */
article.post { background: white; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); overflow: hidden; margin-bottom: 3rem; }
.post-hero { aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 2.5rem 2rem; }
@media (min-width: 768px) { .post-body { padding: 3rem 3.5rem; } }

.post-meta { font-size: 14px; color: #64748b; margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.post-meta .badge { background: #E0F2FE; color: #0369A1; padding: 0.25rem 0.75rem; border-radius: 9999px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

h1 { font-size: 2.25rem; line-height: 1.2; font-weight: 800; color: #0f172a; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { h1 { font-size: 2.75rem; } }

h2 { font-size: 1.625rem; line-height: 1.3; font-weight: 700; color: #0f172a; margin-top: 2.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { h2 { font-size: 1.875rem; } }

h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: #0f172a; margin-top: 2rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }
ul, ol { margin: 1rem 0 1.5rem 1.5rem; }
li { margin-bottom: 0.5rem; }
strong { color: #0f172a; font-weight: 700; }

/* Lead paragraph */
.lead { font-size: 1.25rem; line-height: 1.6; color: #334155; margin-bottom: 2rem; font-weight: 500; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 16px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
th, td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
th { background: #f1f5f9; font-weight: 700; color: #0f172a; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }

/* Callouts */
.callout { background: #E0F2FE; border-left: 4px solid #1FA9E0; padding: 1.25rem 1.5rem; border-radius: 8px; margin: 1.5rem 0; }
.callout strong { color: #0369A1; }
.callout-warn { background: #FEF3C7; border-left-color: #F59E0B; }
.callout-warn strong { color: #B45309; }
.callout-tip { background: #DCFCE7; border-left-color: #22C55E; }
.callout-tip strong { color: #15803D; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, #1FA9E0 0%, #0369A1 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-box h3 { color: white; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,0.92); }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: white; color: #0369A1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); text-decoration: none; }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: #0369A1; text-decoration: none; }

/* FAQ */
details { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
details[open] { border-color: #1FA9E0; box-shadow: 0 0 0 3px rgba(31, 169, 224, 0.1); }
summary { cursor: pointer; font-weight: 700; color: #0f172a; padding: 0.25rem 0; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: #1FA9E0; transition: transform 0.2s; }
details[open] summary::after { content: '−'; }
details p { margin-top: 0.75rem; }

/* Image with caption */
figure { margin: 2rem 0; }
figure img { border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
figcaption { font-size: 14px; color: #64748b; text-align: center; margin-top: 0.75rem; font-style: italic; }

/* Posts list (overview page) */
.posts-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; padding: 2rem 0 4rem; }
@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); text-decoration: none; }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .text { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.25rem; margin: 0 0 0.5rem; line-height: 1.3; }
.post-card p { font-size: 15px; color: #64748b; margin: 0; flex: 1; }
.post-card a { color: inherit; }
.post-card .read-more { color: #1FA9E0; font-weight: 600; font-size: 14px; margin-top: 1rem; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 2.5rem 0; margin-top: 4rem; font-size: 14px; }
.site-footer .wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: white; }

/* Hero section for blog index */
.blog-intro { background: linear-gradient(180deg, #E0F2FE 0%, #f8fafc 100%); padding: 3rem 0 2rem; text-align: center; }
.blog-intro h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.blog-intro p { font-size: 1.125rem; color: #475569; max-width: 640px; margin: 0 auto; }
