﻿:root {
  --color-bg: #ebe1d1;
  --color-surface: #ffffff;
  --color-primary: #41644a;
  --color-primary-dark: #0d4715;
  --color-accent: #e9762b;
  --color-text: #1d2a1f;
  --color-muted: #4f5f53;
  --font-main: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --font-size-base: 16px;
  --shadow-soft: 0 10px 24px rgba(13, 71, 21, 0.12);
  --shadow-strong: 0 18px 36px rgba(13, 71, 21, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 52px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color .3s ease;
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--shadow-soft);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: var(--space-xs);
  gap: var(--space-xs);
}

.rounded-menu {
  background: #f7f3ea;
  border-radius: var(--radius-lg);
}

.menu a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: background .25s ease, color .25s ease, transform .25s ease;
  display: inline-block;
}

.menu a:hover,
.menu a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  padding: var(--space-xl) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  animation: fadeSlide .7s ease both;
}

.hero-visual {
  animation: floatIn .9s ease both;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0 0 .6rem;
}

section {
  padding: var(--space-lg) 0;
}

.section-kicker {
  display: inline-block;
  background: #f5ecde;
  color: var(--color-primary-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .86rem;
  margin-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.feature-block {
  background: linear-gradient(150deg, #fff 0%, #f7f0e5 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.timeline article {
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid #e5dccd;
}

.btn {
  border: 0;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  display: inline-block;
}

.btn:hover {
  background: #cf6420;
  transform: translateY(-1px);
}

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

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab-btn {
  border: 1px solid #d6c9b5;
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.tab-panel {
  display: none;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.tab-panel.active {
  display: block;
  animation: fadeSlide .4s ease;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 14px;
  font-weight: 600;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 14px;
}

.faq-item.open .faq-a {
  max-height: 180px;
  padding: 0 14px 14px;
}

.map-wrap {
  background: var(--color-surface);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.disclaimer {
  background: #faf7f1;
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

footer {
  background: var(--color-primary-dark);
  color: #e8efe9;
  padding: var(--space-lg) 0;
  margin-top: var(--space-lg);
}

footer a {
  color: #f2d7c2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cookie-banner,
.cookie-panel {
  position: fixed;
  right: 16px;
  left: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  z-index: 40;
}

.cookie-banner {
  bottom: 16px;
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  align-items: center;
}

.cookie-panel {
  bottom: 110px;
  max-width: 480px;
  margin-left: auto;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

form {
  max-width: 760px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

label {
  font-weight: 600;
  display: block;
  margin-top: var(--space-sm);
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #bfc9c1;
  border-radius: var(--radius-sm);
  padding: 10px;
  font: inherit;
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

.error {
  min-height: 1.2em;
  color: #9d1b1b;
  font-size: .92rem;
  margin: 4px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {

  .hero-grid,
  .cards,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-wrap: wrap;
  }

  .hero-grid,
  .cards,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}