/* === Variables === */
:root {
  --bg:           #FAF7F2;
  --bg-alt:       #F3EDE4;
  --white:        #FFFFFF;
  --text:         #2C2417;
  --text-muted:   #6B5C4A;
  --primary:      #8B7355;
  --primary-dark: #6B5535;
  --accent:       #C4956A;
  --green:        #5C7D5C;
  --green-bg:     rgba(92, 125, 92, 0.12);
  --green-border: rgba(92, 125, 92, 0.30);
  --border:       #E8E0D4;

  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-sm: 6px;
  --shadow:    0 2px 16px rgba(44, 36, 23, 0.07);
  --shadow-lg: 0 4px 32px rgba(44, 36, 23, 0.12);

  --max-w:        900px;
  --max-w-narrow: 620px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

/* === Language toggle === */
html.lang-de [data-lang="en"] { display: none; }
html.lang-en [data-lang="de"] { display: none; }

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}
.lang-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.875rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* === Hero === */
.hero {
  background: var(--bg-alt);
  padding: 4rem 1.5rem;
}
.hero__content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
.hero__image-wrap {
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.hero__image {
  width: 100%;
  height: auto;
  display: block;
}
.hero__text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.hero__when {
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--white);
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-top: 0.25rem;
}
.share-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.125rem;
  flex-wrap: wrap;
}
.btn--share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn--share:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn--share svg {
  flex-shrink: 0;
}
.share-copied {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
}

@media (min-width: 640px) {
  .hero__content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }
  .hero__image-wrap {
    width: 240px;
  }
  .hero__when {
    margin-top: 0.75rem;
  }
}

/* === Sections === */
.section {
  padding: 5rem 1.5rem;
}
.section--alt {
  background: var(--bg-alt);
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.container--narrow {
  max-width: var(--max-w-narrow);
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.75rem;
}
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  margin-top: 0.5rem;
  border-radius: 2px;
}
.section__intro {
  font-size: 1.025rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 660px;
}
.section__intro strong {
  color: var(--text);
}

/* === Intro text === */
.intro-text {
  margin-bottom: 2.5rem;
}
.intro-text p {
  font-size: 1.025rem;
  color: var(--text);
  margin-bottom: 0.875rem;
}
.intro-text p:last-child { margin-bottom: 0; }

/* === Profile cards === */
.profile-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.profile-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.625rem;
}
.profile-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.profile-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* === Traits === */
.traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.trait {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trait__icon { font-size: 1rem; }

/* === Requirements === */
.requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.req-item__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.req-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.req-item__text strong {
  font-size: 0.95rem;
  color: var(--text);
}
.req-item__text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === Trust box === */
.trust-box {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.trust-box h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.trust-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.925rem;
  color: var(--text);
}
.trust-box li::before {
  content: '✓';
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* === Map === */
.map {
  height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 0.875rem;
}
@media (max-width: 480px) {
  .map { height: 320px; }
}
.map-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(92, 125, 92, 0.45);
  border: 2px solid #5C7D5C;
  flex-shrink: 0;
}

/* Leaflet POI labels */
.map-poi {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(92, 125, 92, 0.35);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  color: #3a6340;
  white-space: nowrap;
  pointer-events: none;
}

/* === Contact form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  width: 100%;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--primary:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success,
.form-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
}
.form-success {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: #2e5c2e;
}
.form-error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.25);
  color: #7a2e2e;
}
.form-error a { color: inherit; }
.hidden { display: none !important; }

/* === Footer === */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
}
