:root {
  --kfn-deep: #0F2D1E;
  --kfn-surface: #FAF6F1;
  --kfn-vivid: #B5432A;
  --kfn-muted: #6B8F71;
  --kfn-white: #FFFFFF;
  --kfn-text: #1A1A1A;
  --kfn-border: #D4CFC8;
  --kfn-shadow: rgba(15, 45, 30, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  color: var(--kfn-text);
  background: var(--kfn-surface);
  line-height: 1.7;
  padding-bottom: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Slab', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--kfn-deep);
}

a {
  color: var(--kfn-vivid);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

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

/* ==============================
   Floating pill nav
   ============================== */

.kfn-pill-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 48px;
  border-radius: 9999px;
  background: rgba(15, 45, 30, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  gap: 20px;
  padding: 0 24px;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 24px var(--kfn-shadow);
}

.kfn-pill-link {
  color: var(--kfn-white);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.kfn-pill-link:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .kfn-pill-nav {
    gap: 10px;
    padding: 0 16px;
    height: 44px;
  }
  .kfn-pill-link {
    font-size: 0.75rem;
  }
}

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

.kfn-foot {
  padding: 2rem 1rem;
  border-top: 1px solid var(--kfn-border);
  margin-top: 3rem;
}

.kfn-foot-inner {
  font-size: 0.75rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
  line-height: 2;
  color: var(--kfn-muted);
}

.kfn-foot-link {
  color: var(--kfn-muted);
  font-size: 0.75rem;
}

.kfn-foot-link:hover {
  color: var(--kfn-vivid);
}

.kfn-foot-copy {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--kfn-border);
}

/* ==============================
   Section 1: cities (aside)
   ============================== */

.kfn-alp-aside {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.kfn-stift-citynav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.kfn-burg-citylink {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--kfn-muted);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kfn-deep);
  transition: background 0.2s ease, color 0.2s ease;
}

.kfn-burg-citylink:hover,
.kfn-gasse-active {
  background: var(--kfn-deep);
  color: var(--kfn-white);
  border-color: var(--kfn-deep);
}

/* ==============================
   Section 2: hero (article)
   ============================== */

.kfn-platz-banner {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 3rem 1.5rem;
  background: var(--kfn-deep);
  border-radius: 12px;
  color: var(--kfn-white);
  text-align: center;
}

.kfn-platz-banner h1 {
  font-size: 2.4rem;
  color: var(--kfn-white);
  margin-bottom: 1rem;
}

.kfn-gasse-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.kfn-platz-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--kfn-vivid);
  color: var(--kfn-white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.kfn-platz-btn:hover {
  background: #9B3822;
  opacity: 1;
}

@media (max-width: 600px) {
  .kfn-platz-banner {
    margin: 1.5rem 1rem;
    padding: 2rem 1rem;
    border-radius: 10px;
  }
  .kfn-platz-banner h1 {
    font-size: 1.6rem;
  }
  .kfn-gasse-subtitle {
    font-size: 0.9rem;
  }
}

/* ==============================
   Section 3: stats (figure)
   ============================== */

.kfn-alp-stats {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.kfn-stift-statlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}

.kfn-stift-statlist dt {
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--kfn-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 1.25rem 0.25rem;
}

.kfn-stift-statlist dd {
  font-family: 'Josefin Slab', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--kfn-deep);
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid var(--kfn-border);
}

@media (max-width: 600px) {
  .kfn-stift-statlist {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==============================
   Section 4: blog (details)
   ============================== */

.kfn-burg-blog {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.kfn-alp-blogitem {
  border: 1px solid var(--kfn-border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.kfn-alp-blogitem:hover {
  box-shadow: 0 2px 12px var(--kfn-shadow);
}

.kfn-alp-blogitem summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kfn-alp-blogitem summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--kfn-muted);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
}

.kfn-alp-blogitem[open] summary::after {
  content: '\2013';
}

.kfn-alp-blogitem summary::-webkit-details-marker {
  display: none;
}

.kfn-alp-blogitem summary h2 {
  font-size: 1.1rem;
  margin: 0;
}

.kfn-alp-blogitem p {
  padding: 0 1.25rem;
  font-size: 0.92rem;
  color: #4A4A4A;
  line-height: 1.65;
}

.kfn-stift-readmore {
  display: inline-block;
  padding: 0.5rem 1.25rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--kfn-vivid);
}

/* ==============================
   Section 5: cta (address)
   ============================== */

.kfn-alp-cta {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
  background: var(--kfn-white);
  border: 2px solid var(--kfn-vivid);
  border-radius: 12px;
  text-align: center;
  font-style: normal;
}

.kfn-alp-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.kfn-alp-cta p {
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: #4A4A4A;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .kfn-alp-cta {
    margin: 2rem 1rem;
    padding: 1.5rem 1rem;
  }
  .kfn-alp-cta h2 {
    font-size: 1.3rem;
  }
}

/* ==============================
   Section 6: features (dl)
   ============================== */

.kfn-burg-features {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.kfn-burg-features > .kfn-alp {
  background: var(--kfn-white);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--kfn-border);
  transition: box-shadow 0.2s ease;
}

.kfn-burg-features > .kfn-alp:hover {
  box-shadow: 0 4px 16px var(--kfn-shadow);
}

.kfn-burg-features dt {
  font-family: 'Josefin Slab', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--kfn-deep);
  margin-bottom: 0.5rem;
}

.kfn-burg-features dd {
  font-size: 0.88rem;
  color: #4A4A4A;
  line-height: 1.65;
}

/* ==============================
   Long-form content
   ============================== */

.kfn-burg-longform {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.kfn-burg-longform h2 {
  font-size: 1.7rem;
  margin: 2rem 0 1rem;
}

.kfn-burg-longform h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--kfn-vivid);
}

.kfn-burg-longform p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
}

.kfn-burg-longform ins {
  display: inline-block;
  background: var(--kfn-muted);
  color: var(--kfn-white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==============================
   Article hero variant
   ============================== */

.kfn-platz-banner-beitrag {
  background: linear-gradient(135deg, var(--kfn-deep) 0%, #1A4A2E 100%);
}

/* ==============================
   Utility
   ============================== */

@media (max-width: 600px) {
  .kfn-burg-longform {
    padding: 0 1rem;
  }
  .kfn-burg-longform h2 {
    font-size: 1.35rem;
  }
  .kfn-burg-longform h3 {
    font-size: 1.1rem;
  }
  .kfn-burg-features {
    grid-template-columns: 1fr;
  }
}
