/* northsoma.eu — Flat design, Natural palette */

:root {
  --primary: #558B2F;
  --secondary: #AED581;
  --accent: #FF7043;
  --neutral: #F1F8E9;
  --ink: #1B5E20;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Karla", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  margin: 0;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
}

/* Flat: no shadows, no gradients, clear borders */
.flat-card {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

.flat-card-soft {
  background: var(--neutral);
  border: 3px solid var(--secondary);
  border-radius: 14px;
}

.btn {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.85rem 1.7rem;
  border: 3px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--ink);
  font-size: 1.15rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #f4592c;
  color: #ffffff;
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--ink);
  color: #ffffff;
}

.btn-ghost {
  background: #ffffff;
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--secondary);
  color: var(--ink);
}

.section {
  padding: 4rem 1.25rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

input,
select,
textarea {
  font-family: "Karla", sans-serif;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 3px solid var(--secondary);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

label {
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  display: block;
  margin-bottom: 0.35rem;
}

/* Number list for benefits */
.benefit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 2px solid var(--secondary);
  padding: 1.2rem 0;
}

.benefit-num {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--accent);
  min-width: 70px;
  text-align: center;
}

/* Accordion / expandable */
.acc-item,
.expand-item {
  border: 3px solid var(--secondary);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background: #ffffff;
  overflow: hidden;
}

.acc-head,
.expand-head {
  width: 100%;
  text-align: left;
  background: var(--neutral);
  border: none;
  padding: 1.1rem 1.25rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.acc-body,
.expand-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}

.acc-item.open .acc-body,
.expand-item.open .expand-body {
  max-height: 600px;
  padding: 1.1rem 1.25rem;
}

.acc-item.open .acc-icon,
.expand-item.open .expand-icon {
  transform: rotate(45deg);
}

.acc-icon,
.expand-icon {
  transition: transform 0.25s ease;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

/* Map */
.map-frame {
  width: 100%;
  height: 380px;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

/* Cookie banner */
#cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: #ffffff;
  padding: 1rem 1.25rem;
  z-index: 60;
  display: none;
}

#cookie-bar.show {
  display: block;
}

#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 94, 32, 0.55);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookie-modal.show {
  display: flex;
}

.toggle {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: #cccccc;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.toggle.on {
  background: var(--primary);
}

.toggle .knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  transition: left 0.2s ease;
}

.toggle.on .knob {
  left: 25px;
}

.toggle.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile menu */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.75rem;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
}

.menu-toggle {
  display: none;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.disclaimer {
  background: var(--neutral);
  border: 3px dashed var(--secondary);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink);
}
