/* === Silvia Ronchetti - Alternative Design === */
/* Design language: paradiesli-betlis.ch */
/* Fonts: Cormorant Garamond (body, serif like Recife Text), DM Sans (nav/UI, like TT Commons Pro) */

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #043F2B;
  --color-main: rgb(0, 117, 124);
  --color-highlight: rgb(232, 95, 11);
  --color-bright: #fff6b2;
  --color-bg: #faf8f3;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --font-body: 'Cormorant Garamond', 'Georgia', serif;
  --font-ui: 'DM Sans', 'Helvetica Neue', sans-serif;
  --content-width: 780px;
  --wide-width: 980px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.35;
  font-size: clamp(19px, 1.188rem + ((1vw - 3.2px) * 0.375), 23px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--color-highlight);
}

/* === Navigation === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-dark);
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: var(--wide-width);
}

.site-nav a {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-bright);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.site-nav a.active {
  color: var(--color-white);
  border-bottom: 2px solid var(--color-highlight);
  padding-bottom: 2px;
}

/* === Mobile Nav Toggle === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-bright);
  padding: 10px;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(4, 63, 43, 0.7));
  padding: 40px 30px 30px;
}

.hero-overlay h1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(28px, 2rem + 1vw, 42px);
  color: var(--color-white);
  line-height: 1.2;
}

.hero-overlay .subtitle {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(15px, 1rem + 0.3vw, 18px);
  color: var(--color-bright);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* === Page Content === */
.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 30px 80px;
  flex: 1;
}

.page-content.wide {
  max-width: var(--wide-width);
}

/* === Home Page Intro === */
.intro-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 40px;
}

.portrait {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(4, 63, 43, 0.2);
}

.intro-text {
  flex: 1;
}

.intro-text p {
  margin-bottom: 16px;
  line-height: 1.5;
}

.intro-text a {
  color: var(--color-main);
  font-weight: 500;
}

/* === Section Headings === */
.section-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(22px, 1.375rem + 0.5vw, 28px);
  color: var(--color-dark);
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-highlight);
  display: inline-block;
}

/* === Page Title (subpages) === */
.page-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(28px, 1.75rem + 1vw, 38px);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-highlight);
  display: inline-block;
}

/* === Lists === */
.content-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.content-list li {
  margin-bottom: 8px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-main);
  border-radius: 50%;
}

/* === Body Text === */
.body-text {
  line-height: 1.5;
  margin-bottom: 18px;
}

.body-text.no-justify {
  text-align: left;
}

.body-text strong,
.body-text a {
  color: var(--color-dark);
}

/* === Quote === */
.quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(20px, 1.25rem + 0.3vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-main);
  margin-bottom: 30px;
  padding: 20px 24px;
  border-left: 4px solid var(--color-highlight);
  background-color: rgba(0, 117, 124, 0.05);
}

/* === Contact Info === */
.contact-info {
  line-height: 1.5;
  font-size: clamp(18px, 1.1rem + 0.2vw, 21px);
}

.contact-info p {
  margin-bottom: 6px;
}

.contact-info .label {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--color-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Emergency Entries === */
.emergency-entry {
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--color-highlight);
}

.emergency-entry .org-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

/* === Zur Person === */
.person-intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.person-intro .portrait {
  width: 240px;
  height: 240px;
}

.person-intro .person-text {
  flex: 1;
}

.person-intro .person-text p {
  line-height: 1.5;
}

.sub-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 1.25rem + 0.3vw, 24px);
  color: var(--color-main);
  margin-top: 35px;
  margin-bottom: 15px;
}

/* === Impressum === */
.impressum-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-dark);
  margin-top: 30px;
  margin-bottom: 12px;
}

.impressum-content p {
  margin-bottom: 12px;
  font-size: clamp(16px, 1rem + 0.2vw, 18px);
  line-height: 1.6;
}

/* === Footer === */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-bright);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 14px;
  margin-top: auto;
  width: 100%;
}

.footer-left {
  color: var(--color-bright);
  opacity: 0.8;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  color: var(--color-bright);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 1;
  color: var(--color-white);
}

/* === Decorative Separator === */
.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-highlight);
  margin: 40px 0;
}

/* === Feature Image (subpages) === */
.page-feature-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-nav {
    padding: 12px 16px;
  }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero-section,
  .hero-banner {
    height: 260px;
  }

  .hero-overlay h1 {
    font-size: 24px;
  }

  .hero-overlay .subtitle {
    font-size: 14px;
  }

  .page-content {
    padding: 30px 20px 60px;
  }

  .portrait {
    width: 140px;
    height: 140px;
  }

  .intro-section {
    display: block;
  }

  .intro-section .portrait {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
  }

  .person-intro {
    display: block;
  }

  .person-intro .portrait {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 140px;
    height: 140px;
  }

  .section-heading,
  .page-title {
    font-size: 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px;
  }

  .page-feature-image {
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  .site-nav a {
    font-size: 12px;
  }

  .nav-links {
    gap: 14px;
  }

  .portrait {
    width: 110px;
    height: 110px;
  }

  .hero-section,
  .hero-banner {
    height: 200px;
  }
}
