/* Judith Lindenbaum — site styles */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@400;600&display=swap');

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #2b2622;
  --text-muted: #5c5650;
  --accent: #7a2e3a;
  --accent-soft: #efe3e0;
  --border: #e6ddd2;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

/* Site header / nav */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
}

.site-title {
  margin: 0 0 0.9rem;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Main content */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-title {
  margin: 0 0 2rem;
  font-size: 2.1rem;
}

.bilingual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.bilingual.has-image {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .bilingual {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .bilingual.has-image {
    grid-template-columns: 1fr 260px 1fr;
    align-items: start;
  }
}

.lang-block h2.lang-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}

.lang-block p {
  margin: 0 0 1.1rem;
}

.portrait-block {
  order: -1;
}

@media (min-width: 800px) {
  .portrait-block {
    order: 0;
  }
}

.portrait-block img {
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(43, 38, 34, 0.12);
  margin: 0 auto;
}

.portrait-block figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Lists & quotes */

.lang-block ul {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
}

.lang-block li {
  margin-bottom: 0.4rem;
}

.quotes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.quotes li {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  border-radius: 0 4px 4px 0;
}

.testimonials {
  margin-top: 1rem;
}

.testimonial {
  margin: 0 0 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.testimonial:last-child {
  border-bottom: none;
}

.testimonial p {
  margin: 0 0 0.4rem;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.module {
  margin-bottom: 1.4rem;
}

.module h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

/* Contact */

.contact-card {
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-card p {
  margin: 0 0 1.4rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
}

.button:hover {
  background: #611f29;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

.placeholder {
  background: #fff6e0;
  border: 1px dashed #d8b45a;
  padding: 0.05rem 0.4rem;
  border-radius: 3px;
}

/* Impressum */

.legal h3.section-title {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.1rem;
}

.legal address {
  font-style: normal;
  margin-bottom: 1.5rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
