/* Betalspecialisten - Broadsheet editorial style, teal + copper */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal: #0F4C5C;
  --teal-dark: #093642;
  --copper: #C97B4A;
  --copper-dark: #A85F32;
  --cream: #F5EFE4;
  --cream-dark: #E8E0D0;
  --paper: #FAF7F0;
  --ink: #1A1A1A;
  --grey-text: #4A4A4A;
  --rule: #C4B896;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Cambria', 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 17px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Header - broadsheet masthead */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  border-top: 3px solid var(--teal);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 2px double var(--rule);
}
.logo {
  font-family: Georgia, 'Cambria', serif;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  font-style: italic;
}
.logo span { color: var(--copper); font-style: normal; font-weight: 400; }
nav ul { list-style: none; display: flex; gap: 26px; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}
nav a:hover { color: var(--copper); border-bottom-color: var(--copper); }

/* Hero - editorial cover */
.hero {
  background: var(--cream);
  padding: 55px 0 65px;
  border-bottom: 1px solid var(--rule);
}
.hero .container { position: relative; }
.hero .tag {
  display: inline-block;
  color: var(--copper);
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--copper);
}
.hero h1 {
  font-family: Georgia, 'Cambria', serif;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.08;
  color: var(--teal);
  margin-bottom: 24px;
  letter-spacing: -1px;
  font-weight: 700;
}
.hero p.lede {
  font-size: 20px;
  line-height: 1.55;
  max-width: 720px;
  color: var(--grey-text);
  font-style: italic;
  border-left: 3px solid var(--copper);
  padding-left: 20px;
}
.hero-image {
  width: 100%;
  height: auto;
  margin-top: 44px;
  border: 1px solid var(--rule);
  box-shadow: 0 6px 24px rgba(15, 76, 92, 0.08);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--grey-text);
  font-family: Georgia, serif;
  font-style: italic;
  border-bottom: 1px solid var(--rule);
}
.breadcrumbs a { color: var(--copper); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Main */
main { padding: 55px 0; }
article { max-width: 780px; margin: 0 auto; }

article h2 {
  font-family: Georgia, 'Cambria', serif;
  font-size: 30px;
  color: var(--teal);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 10px;
  margin: 52px 0 24px;
  line-height: 1.18;
  letter-spacing: -0.4px;
}
article h3 {
  font-family: Georgia, serif;
  font-size: 21px;
  color: var(--copper-dark);
  margin: 32px 0 14px;
  font-style: italic;
}
article p { margin-bottom: 20px; }
article ul, article ol { margin: 20px 0 20px 30px; }
article li { margin-bottom: 10px; }
article a { color: var(--copper-dark); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
article a:hover { color: var(--teal); text-decoration-color: var(--teal); }
article strong { color: var(--teal); font-weight: 700; }

/* Numbers styled with monospace feel */
article .num, article code {
  font-family: 'Courier New', Consolas, monospace;
  background: var(--cream);
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 15px;
  color: var(--teal-dark);
}

/* Broadsheet TOC - thin double rule */
.toc {
  background: var(--paper);
  border-top: 3px double var(--teal);
  border-bottom: 3px double var(--teal);
  padding: 26px 0;
  margin: 42px 0;
}
.toc h2 {
  font-family: Georgia, serif;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--copper) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  text-align: center;
  font-style: italic;
}
.toc ol {
  list-style: none;
  margin: 0;
  columns: 2;
  column-gap: 36px;
  column-rule: 1px solid var(--rule);
}
.toc li {
  padding: 6px 0;
  break-inside: avoid;
  border-bottom: 1px dotted var(--rule);
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}
.toc li::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--copper);
  font-style: italic;
}
.toc a {
  color: var(--ink);
  text-decoration: none;
}
.toc a:hover { color: var(--copper-dark); }

/* Article images */
.article-image {
  width: 100%;
  height: auto;
  margin: 36px 0 12px;
  border: 1px solid var(--rule);
  display: block;
  box-shadow: 0 4px 16px rgba(15, 76, 92, 0.06);
}
.article-image + em {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--grey-text);
  font-style: italic;
  margin-bottom: 32px;
}

/* Payment tables - monospace numerals */
table.payment-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
}
table.payment-table th {
  background: var(--teal);
  color: var(--cream);
  padding: 12px 14px;
  text-align: left;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.5px;
  font-size: 14px;
  text-transform: uppercase;
}
table.payment-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.payment-table tr:nth-child(even) td { background: var(--cream); }
table.payment-table td:nth-child(n+2) {
  font-family: 'Courier New', Consolas, monospace;
  color: var(--teal-dark);
}

/* FAQ */
.faq-section { margin: 55px 0; }
.faq-section > h2 {
  border-bottom: none;
  border-top: 3px double var(--teal);
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 3px double var(--teal);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 32px;
}
.faq-section details {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq-section summary {
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-weight: 700;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--copper);
  font-size: 24px;
  font-family: Georgia, serif;
}
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p {
  margin-top: 14px;
  color: var(--grey-text);
}

/* Disclaimer */
.disclaimer {
  background: var(--teal);
  color: var(--cream);
  padding: 30px 34px;
  margin: 50px 0;
  border-left: 4px solid var(--copper);
}
.disclaimer h3 {
  color: var(--copper);
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
}
.disclaimer p { color: var(--cream); margin-bottom: 10px; }
.disclaimer a { color: var(--copper); text-decoration-color: var(--copper); }
.disclaimer a:hover { color: var(--cream); }

/* Author bio - editorial byline card */
.author-bio {
  display: flex;
  gap: 26px;
  background: var(--cream);
  padding: 28px;
  margin: 50px 0;
  align-items: flex-start;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--rule);
}
.author-bio img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio .who {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 4px;
  font-weight: 700;
}
.author-bio .role {
  font-size: 13px;
  color: var(--copper-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
  margin-bottom: 12px;
}
.author-bio p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--grey-text); }

/* Related pages */
.related {
  border-top: 3px double var(--teal);
  border-bottom: 3px double var(--teal);
  padding: 26px 0;
  margin: 55px 0;
}
.related h3 {
  font-family: Georgia, serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--copper);
  margin-bottom: 18px;
  text-align: center;
  font-style: italic;
}
.related ul { list-style: none; margin: 0; }
.related li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule);
  padding-left: 20px;
  position: relative;
}
.related li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--copper);
}
.related li:last-child { border: none; }

/* Footer */
footer {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 55px 0 30px;
  margin-top: 65px;
  border-top: 4px solid var(--copper);
}
footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 42px;
}
footer h4 {
  font-family: Georgia, serif;
  color: var(--copper);
  font-style: italic;
  margin-bottom: 16px;
  font-size: 18px;
}
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a { color: var(--cream); text-decoration: none; font-size: 15px; }
footer a:hover { color: var(--copper); }
footer p { font-size: 15px; line-height: 1.6; color: var(--cream-dark); }
.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(245, 239, 228, 0.15);
  font-size: 13px;
  color: var(--cream-dark);
  font-style: italic;
}

/* Contact form */
.contact-form {
  background: var(--cream);
  padding: 34px;
  margin: 30px 0;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--rule);
}
.contact-form label {
  display: block;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--teal);
  margin: 18px 0 8px;
  font-size: 15px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: Georgia, serif;
  font-size: 16px;
  color: var(--ink);
}
.contact-form button {
  background: var(--teal);
  color: var(--cream);
  border: none;
  padding: 14px 40px;
  font-family: Georgia, serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  margin-top: 22px;
  font-style: italic;
}
.contact-form button:hover { background: var(--copper); }

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 14px; padding: 16px 24px; }
  nav ul { gap: 14px; flex-wrap: wrap; justify-content: center; }
  nav a { font-size: 12px; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 36px; }
  .hero p.lede { font-size: 17px; }
  article h2 { font-size: 24px; }
  article h3 { font-size: 19px; }
  .toc ol { columns: 1; }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  footer .container { grid-template-columns: 1fr; gap: 32px; }
  table.payment-table { font-size: 13px; }
  table.payment-table th, table.payment-table td { padding: 8px 10px; }
}

/* Print */
@media print {
  .site-header, footer, nav, .contact-form button { display: none; }
  body { background: white; color: black; }
  article { max-width: 100%; }
}
