/* Hofstube Merkelbach — One-Pager Stylesheet
   Charakter: warm, ländlich-handwerklich, ruhig
   Farben: Beige + dunkles Holz + Tomaten-Rot-Akzent
   System-Fonts (DSGVO-sauber, kein Drittanbieter-CDN) */

:root {
  --beige-50:  #faf6ee;
  --beige-100: #f5efe6;
  --beige-200: #ece2d1;
  --beige-300: #ddc9a8;
  --brown-700: #5b3a1e;
  --brown-800: #3d2c1f;
  --brown-900: #271a10;
  --accent:    #a02e1f;     /* Tomaten-Rot, sparsam */
  --accent-soft: #c45a4c;
  --green:     #3a5c3e;     /* Hohenloher-Grün, Sekundär-Akzent */
  --paper:     #fffdf8;
  --line:      #d8c8a8;
  --shadow:    0 1px 0 rgba(61, 44, 31, .06), 0 8px 24px -12px rgba(61, 44, 31, .18);

  --serif: 'Iowan Old Style', 'Apple Garamond', 'Hoefler Text', 'Baskerville', Georgia, 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--brown-800);
  background: var(--beige-100);
  line-height: 1.6;
}

a { color: var(--brown-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 760px; }

/* ============== Header ============== */

.site {
  border-bottom: 1px solid var(--line);
  background: var(--beige-50);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}

.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brown-900);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--brown-800);
  color: var(--beige-50);
  font-size: 1.2rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-line-1 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: .01em;
  color: var(--brown-700);
}
.brand-line-2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--brown-900);
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: .92rem;
}
.site-nav a {
  color: var(--brown-800);
  text-decoration: none;
  letter-spacing: .02em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-nav a:hover { border-bottom-color: var(--accent); color: var(--accent); }

@media (max-width: 720px) {
  .site .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav { flex-wrap: wrap; gap: 14px 18px; }
}

/* ============== Hero ============== */

.hero {
  padding: 88px 0 24px;
  background:
    radial-gradient(1200px 400px at 50% -50%, rgba(160, 46, 31, .08), transparent 70%),
    linear-gradient(180deg, var(--beige-50), var(--beige-100));
  position: relative;
}

.hero .kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--brown-900);
  margin: 0 0 22px;
  max-width: 14ch;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 62ch;
  color: var(--brown-800);
  margin: 0 0 36px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-700);
}
.meta-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--brown-900);
}

@media (max-width: 720px) {
  .hero { padding-top: 56px; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
}

.hero-divider {
  height: 1px;
  background: var(--line);
  margin-top: 56px;
}

/* ============== Buttons ============== */

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .12s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--brown-800);
  color: var(--beige-50);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--brown-800);
  color: var(--brown-800);
}
.btn-secondary:hover {
  background: var(--brown-800);
  color: var(--beige-50);
}

/* ============== Sections ============== */

.section { padding: 88px 0; }
.section-alt { background: var(--beige-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--brown-900);
  margin: 0 0 24px;
  max-width: 28ch;
}

.section p { font-size: 1.05rem; max-width: 64ch; }
.section-lead { font-size: 1.12rem; max-width: 64ch; }

.footnote {
  font-size: .92rem;
  color: var(--brown-700);
  margin-top: 32px;
  font-style: italic;
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
}

/* ============== Blooz-Grid ============== */

.blooz-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.blooz {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 22px 24px;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease;
}
.blooz:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.blooz h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--brown-900);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blooz p {
  margin: 0;
  font-size: .98rem;
  color: var(--brown-800);
  line-height: 1.5;
}
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--beige-50);
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.blooz h3 .tag { font-weight: 600; }

/* ============== Job-Section ============== */

.section-job {
  background:
    linear-gradient(180deg, var(--beige-100), var(--beige-200));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-job::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 120px; height: 4px;
  background: var(--accent);
  transform: translateX(-50%);
}

.section-job .section-eyebrow { color: var(--accent); }

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 36px 0 40px;
}
.job-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 24px 26px;
}
.job-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--brown-900);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.job-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--brown-800);
}
.job-card li {
  margin: 6px 0;
  font-size: .98rem;
  line-height: 1.5;
}

.job-cta {
  background: var(--paper);
  border: 1px solid var(--brown-800);
  border-radius: 4px;
  padding: 28px 28px 30px;
  margin-top: 12px;
}
.job-cta p { margin: 0 0 16px; max-width: none; }
.job-cta p:last-child { margin-bottom: 0; }
.job-cta .apply {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.apply-or {
  font-size: .95rem;
  color: var(--brown-700);
}

/* ============== Kontakt ============== */

.contact {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 24px;
  margin-top: 24px;
}
.contact > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact a {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.link {
  font-family: var(--sans);
  font-size: 1.02rem;
}

/* ============== Footer ============== */

.site-footer {
  background: var(--brown-900);
  color: var(--beige-200);
  padding: 48px 0 56px;
  margin-top: 0;
}
.site-footer .brand-mark {
  background: var(--beige-100);
  color: var(--brown-900);
}
.footer-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.footer-meta {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--beige-200);
  opacity: .9;
}
.footer-meta a { color: var(--beige-100); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--accent-soft); }

.footer-links {
  margin: 0;
  font-size: .92rem;
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-links a {
  color: var(--beige-200);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { border-bottom-color: var(--accent-soft); color: var(--accent-soft); }

@media (max-width: 720px) {
  .footer-wrap { grid-template-columns: 1fr; gap: 18px; text-align: left; }
}

/* ============== Print ============== */

@media print {
  .site, .site-footer, .hero-divider { display: none; }
  body { background: white; }
  .section, .hero { padding: 16px 0; }
  a { color: black; }
}
