/* liebeszuhause – Designsystem
   Farben exakt aus dem Profilbild gemessen */

:root {
  --terracotta: #D98E73;
  --terracotta-dunkel: #B8694B;
  --creme: #F5EFE6;
  --papier: #FBF8F3;
  --braun: #4A342B;
  --braun-hell: #8A6E5F;
  --salbei: #A9B5A0;
  --rand: #EDE3D8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Systemschriften – keine Einbindung externer Server (DSGVO) */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--papier);
  color: var(--braun);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--braun);
}

/* ---------- Kopfzeile ---------- */

header.site {
  background: var(--papier);
  border-bottom: 1px solid var(--rand);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-kreis {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid; place-items: center;
  flex: 0 0 auto;
}

.logo-kreis svg { width: 26px; height: 26px; }

.logo-text {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 22px;
  color: var(--braun);
  font-weight: 600;
}

nav.haupt a {
  color: var(--braun-hell);
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
}
nav.haupt a:hover { color: var(--terracotta-dunkel); }

/* ---------- Layout ---------- */

main { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }
.weit { max-width: 900px; }

/* ---------- Startseite ---------- */

.hero {
  text-align: center;
  padding: 64px 0 48px;
}
.hero h1 { font-size: 40px; margin-bottom: 16px; }
.hero p {
  font-size: 19px;
  color: var(--braun-hell);
  max-width: 34ch;
  margin: 0 auto;
}

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.karte {
  background: #fff;
  border: 1px solid var(--rand);
  border-radius: 20px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.karte:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,52,43,.08);
}
.karte .kicker {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta-dunkel);
  margin-bottom: 8px;
}
.karte h3 { font-size: 21px; margin-bottom: 8px; }
.karte p { font-size: 15px; color: var(--braun-hell); }

/* ---------- Artikel ---------- */

article { padding: 48px 0 0; }
article h1 { font-size: 34px; margin-bottom: 12px; }
article .meta {
  color: var(--braun-hell);
  font-size: 15px;
  margin-bottom: 28px;
}
article h2 {
  font-size: 26px;
  margin: 44px 0 14px;
}
article h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}
article p { margin-bottom: 18px; }
article ul, article ol { margin: 0 0 20px 22px; }
article li { margin-bottom: 10px; }
article strong { font-weight: 700; }

a { color: var(--terracotta-dunkel); }

.hinweis {
  background: var(--creme);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--braun-hell);
  margin-bottom: 32px;
}

.merke {
  background: var(--creme);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 28px 0;
}
.merke .titel {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 19px;
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}
th {
  background: var(--terracotta);
  color: var(--papier);
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
}
th:first-child { border-radius: 12px 0 0 0; }
th:last-child { border-radius: 0 12px 0 0; }
td {
  padding: 12px 14px;
  border-top: 1px solid var(--rand);
}
tr:nth-child(even) td { background: var(--creme); }

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--papier);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 8px;
}
.btn:hover { background: var(--terracotta-dunkel); }

/* ---------- Fußzeile ---------- */

footer.site {
  background: var(--creme);
  border-top: 1px solid var(--rand);
  padding: 36px 20px;
  text-align: center;
  font-size: 15px;
  color: var(--braun-hell);
}
footer.site a {
  color: var(--braun-hell);
  margin: 0 10px;
  text-decoration: none;
}
footer.site a:hover { text-decoration: underline; }
footer.site .marke {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 18px;
  color: var(--braun);
  margin-bottom: 10px;
}

/* ---------- Handy ---------- */

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 30px; }
  article h1 { font-size: 27px; }
  article h2 { font-size: 22px; }
  nav.haupt a { margin-left: 14px; font-size: 15px; }
  table { font-size: 15px; }
  th, td { padding: 10px 10px; }
}
