/* ==== CSS RESET & NORMALIZE ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
:root {
  --color-primary: #2C3E50;
  --color-secondary: #BADA93;
  --color-accent: #FFF9EC;
  --color-gold: #BFA76F;
  --color-gold-dark: #A48A48;
  --color-grey-100: #F8F8F8;
  --color-grey-200: #EBECED;
  --color-dark: #1C232A;
  --color-light: #FFFFFF;
  --color-muted: #737e8a;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

  --radius-small: 8px;
  --radius: 16px;
  --shadow-light: 0 6px 16px rgba(44,62,80,0.07), 0 1.5px 3px rgba(191,167,111,0.09);
  --transition: 0.25s cubic-bezier(.6,0,.4,1);
}

/* ==== TYPOGRAPHY ==== */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  background: var(--color-accent);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}
p, li, span {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-primary);
}
strong {
  font-weight: 700;
  color: var(--color-gold-dark);
}
small {
  font-size: 0.95rem;
}

/* ==== LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, var(--color-accent) 80%, var(--color-gold) 120%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 2px 24px rgba(191,167,111,0.09);
  padding-top: 40px;
  padding-bottom: 48px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
}
.hero h1 {
  color: var(--color-primary);
  text-shadow: 0 2px 12px rgba(191,167,111,0.09);
}
.hero .cta-button {
  margin-top: 24px;
}
.hero p, .hero span {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.quick-tagline {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-primary);
  padding: 2px 16px;
  border-radius: 16px;
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.05rem;
}

/* ==== NAVIGATION ==== */
header {
  background: var(--color-light);
  box-shadow: 0 1.5px 6px rgba(44,62,80,0.04);
  border-bottom: 2px solid var(--color-gold);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
  position: relative;
}
header img[alt="Frostige Gabel"] {
  height: 48px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius-small);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-gold);
  color: var(--color-dark);
  outline: none;
}
.cta-button {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(191,167,111,0.10);
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-left: 20px;
  border: 2px solid var(--color-gold-dark);
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-light);
  color: var(--color-gold-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(191,167,111,0.16);
}
.cta-button.secondary {
  background: var(--color-light);
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold-dark);
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: var(--color-gold);
  color: var(--color-dark);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-gold-dark);
  background: var(--color-accent);
  border-radius: 8px;
  padding: 4px 16px;
  box-shadow: 0 1.5px 18px rgba(191,167,111,0.09);
  margin-left: 18px;
  z-index: 1101;
  border: 1.5px solid var(--color-gold);
  transition: background var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-gold);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 0 240px 40px rgba(44,62,80,0.10);
  transform: translateX(-105%);
  transition: transform 0.45s cubic-bezier(.85,.04,.11,.92);
  z-index: 2000;
  padding: 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--color-gold-dark);
  background: var(--color-accent);
  border-radius: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 12px 12px 12px 0;
  border-radius: 5px;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-dark);
}

/* ==== FEATURES, SERVICES, SECTIONS ==== */
.features, .services, .about, .contact, .legal, .cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
}
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.contact .content-wrapper,
.legal .content-wrapper,
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features h2, .services h2, .about h2, .contact h2, .legal h2, .cta h2 {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.015em;
}
.features ul, .services ul, .about ul, .contact ul, .legal ul, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
.features li, .services li, .about li, .contact li, .legal li {
  font-size: 1.11rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.features li img, .services li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}
.tag {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 0.98rem;
  font-family: var(--font-display);
  border-radius: 11px;
  padding: 3px 14px;
  margin-left: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.newsletter {
  background: var(--color-grey-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-top: 18px;
  box-shadow: 0 1.5px 8px rgba(191,167,111,0.04);
}

.newsletter h3 {
  font-family: var(--font-display);
  color: var(--color-gold-dark);
  font-size: 1.18rem;
  margin-bottom: 9px;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-light);
  box-shadow: var(--shadow-light);
  border-radius: var(--radius);
  border-left: 6px solid var(--color-gold);
  padding: 20px 32px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1.01rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 1rem;
  padding: 48px 0 10px 0;
  border-top: 3.5px solid var(--color-gold);
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 8px;
}
.footer-menu a {
  color: var(--color-gold);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color var(--transition);
  padding: 3px 2px;
  border-radius: 3px;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1.5px 4px rgba(191,167,111,.06));
  opacity: 0.75;
  transition: filter .22s, opacity .18s;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  filter: drop-shadow(0 2.5px 12px gold);
}

/* ====== CARDS, FLEX CONTAINERS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 24px 28px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(191,167,111,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: var(--color-light);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 -2px 22px rgba(191,167,111,0.08);
  padding: 24px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1.08rem;
  max-width: 388px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  border-radius: 21px;
  padding: 8px 20px;
  border: 2px solid var(--color-gold);
  background: var(--color-gold);
  color: var(--color-primary);
  margin: 0;
  box-shadow: 0 1px 3px rgba(191,167,111,0.06);
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-banner button.secondary {
  background: var(--color-light);
  color: var(--color-gold-dark);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-gold-dark);
  color: var(--color-light);
}

/* ==== COOKIE PREFERENCE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  z-index: 4000;
  background: rgba(44,62,80,0.56);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: 0 6px 42px rgba(44,62,80,0.21);
  max-width: 390px;
  width: 93vw;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  animation: modalIn .35s cubic-bezier(.55,0,.15,1);
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(24px) scale(0.96); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  color: var(--color-gold-dark);
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: var(--color-grey-200);
  position: relative;
  transition: background var(--transition);
  margin-left: 8px;
  flex-shrink: 0;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--color-gold);
  top: 2px; left: 2px;
  box-shadow: 0 1px 5px rgba(191,167,111,0.07);
  transition: left var(--transition), background var(--transition);
}
.cookie-modal .cookie-toggle input:checked + .slider {
  left: 18px;
  background: var(--color-gold-dark);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-radius: 18px;
  padding: 7px 20px;
  border: 2px solid var(--color-gold);
  background: var(--color-gold);
  color: var(--color-primary);
  margin: 0;
  box-shadow: 0 1px 3px rgba(191,167,111,0.07);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button.secondary {
  background: var(--color-light);
  color: var(--color-gold-dark);
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--color-gold-dark);
  color: var(--color-light);
}

/* ========== BUTTONS =========== */
button, .cta-button, .cookie-banner button, .cookie-modal button {
  outline: none;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid var(--color-gold-dark);
  outline-offset: 1.5px;
}

/* ==== MAP EMBED PLACEHOLDER ==== */
.map-embed {
  background: var(--color-grey-200);
  border-radius: var(--radius-small);
  padding: 18px 18px;
  text-align: center;
  color: var(--color-primary);
  font-size: 1.03rem;
  margin-top: 5px;
  margin-bottom: 18px;
}

/* ==== SECTION SPACING ==== */
section {
  margin-bottom: 60px;
  width: 100%;
}

/* =============== RESPONSIVE MEDIA QUERIES =============== */
@media (max-width: 1080px) {
  .container {
    max-width: 93vw;
  }
}
@media (max-width: 900px) {
  .footer-menu {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 12px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 62px;
    padding: 0 6px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 7px;
    padding: 10px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95rem;
  }
}
@media (max-width: 690px) {
  .hero, .section {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
  .contact-info,
  .social-links {
    font-size: 0.97rem;
    gap: 5px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 4px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  .footer-menu {
    font-size: 0.9rem;
  }
  .cta-button, .cookie-banner button {
    font-size: 0.98rem;
    padding: 10px 12px;
  }
  .map-embed {
    padding: 10px 4px;
    font-size: 0.98rem;
  }
  .testimonial-card {
    padding: 16px 9px;
  }
}
/* === Responsive Flex Direction Patterns === */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .footer-menu {
    flex-wrap: wrap;
  }
}

/* ========= MISCELLANEOUS ========= */
a {
  color: var(--color-gold-dark);
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =========== MICRO-INTERACTIONS ========== */
.cta-button, .cookie-banner button, .card {
  transition: box-shadow .22s, transform .20s, background .20s, color .20s;
}
.card:active {
  transform: scale(0.98);
}
.bounce-anim {
  animation: bounceIn .7s;
}
@keyframes bounceIn {
  0% { transform: scale(0.90) translateY(12px); opacity: 0.6; }
  70% { transform: scale(1.05) translateY(-6px); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

/* ===== ACCESSIBILITY/OUTLINE ===== */
:focus-visible {
  outline: 2px solid var(--color-gold-dark);
  outline-offset: 2px;
}

/* ==== Hide elements helper ==== */
.hide {
  display: none !important;
  opacity: 0 !important;
}

/* =============== END =============== */
