/* ============================================
   Shterbani GbR - Garten- und Landschaftsbau
   Main Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-primary: #416845;
  --color-primary-dark: #345536;
  --color-primary-light: #9ebb68;
  --color-accent: #d2e92f;
  --color-accent-dark: #bdd42a;
  --color-bg-light: #fffcf5;
  --color-bg-green: #9ebb68;
  --color-bg-green-dark: #416845;
  --color-bg-yellow: #d2e92f;
  --color-text: #333;
  --color-text-light: #fff;
  --color-text-dark: #1a1a1a;
  --color-heading: #416845;
  --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Pontano Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --max-width: 1400px;
  --header-height: 130px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 130px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  font-size: 1.05rem;
  padding: 8px 12px;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.main-nav a.btn-cta:hover {
  text-decoration: none;
}

/* Dropdown for Dienstleistungen */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .dropdown-toggle {
  cursor: pointer;
  font-size: 1.05rem;
  padding: 8px 12px;
  background: none;
  border: none;
  font-family: var(--font-body);
  color: var(--color-text);
}

.nav-dropdown > .dropdown-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-radius: 4px;
  min-width: 220px;
  z-index: 50;
  padding: 8px 0;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu .submenu-back {
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--color-bg-light);
  text-decoration: none;
}

/* Social icons in nav */
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.nav-social a {
  font-size: 1.1rem;
  padding: 4px;
  display: flex;
  align-items: center;
}

.nav-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
  vertical-align: middle;
}

/* CTA Button */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  align-self: center;
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  margin: 6px 0;
  transition: transform 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 20px 2vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #416845 0%,
    #9ebb68 30%,
    #7a9e5c 50%,
    #416845 70%,
    #4a6e42 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Wavy divider (sits inside the section, overlaying its background) */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 2vw;
}

.services-section .wave-bottom svg {
  height: 60px;
}

/* --- Contact Intro Section (on homepage) --- */
.contact-intro {
  padding: 80px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-intro-text h2 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
}

.contact-intro-text .btn-dark {
  display: block;
  max-width: 220px;
}

.btn-dark {
  display: inline-block;
  min-width: 200px;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  transition: background 0.3s;
}

.btn-dark:hover {
  background: #333;
}

.contact-intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-intro-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* --- Services Section (Homepage) --- */
.services-section {
  background: var(--color-bg-green-dark);
  padding: 80px 30px 120px;
  position: relative;
}

.services-section h2 {
  text-align: center;
  color: var(--color-accent);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 50px;
}

.services-carousel {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 30px 20px;
  scrollbar-width: none;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: transparent;
  flex: 0 0 calc(25% - 18px);
  min-width: 280px;
  scroll-snap-align: start;
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-content {
  padding: 20px 0;
}

.service-card h3 {
  color: var(--color-accent);
  font-family: var(--font-heading);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-outline-light {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg-green-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px;
  border: none;
  transition: opacity 0.3s;
}

.btn-outline-light:hover {
  opacity: 0.85;
}

/* --- About Preview Section (Homepage) --- */
.about-preview {
  position: relative;
  padding: 100px 30px;
  background: #9ebb68;
  margin-top: -1px;
  overflow: hidden;
}

.about-preview-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 50px 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-preview h2 {
  margin-bottom: 24px;
}

.about-preview p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-yellow);
  padding: 60px 30px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  text-align: center;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-col .btn-dark {
  display: block;
  margin: 8px auto;
  font-size: 0.9rem;
  padding: 14px 36px;
  min-width: 200px;
  max-width: 220px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

/* --- Page Header (Subpages) --- */
.page-header {
  padding: 60px 30px 40px;
  text-align: center;
  background: var(--color-bg-light);
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

/* --- About Page --- */
.about-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 30px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: #444;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 400px;
}

/* --- Service Detail Page --- */
.service-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 30px 80px;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 30px;
}

.service-detail-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.service-detail-text strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-detail-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Service gallery */
.service-gallery {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.service-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s;
}

.service-gallery img:hover {
  transform: scale(1.02);
}

/* --- Contact Page --- */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 30px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.8;
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.contact-social a svg {
  width: 24px;
  height: 24px;
}

.contact-form {
  background: #fff;
}

.contact-form label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 18px;
  color: #333;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form .required {
  color: #888;
  font-size: 0.9rem;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 24px;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #333;
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 30px 80px;
}

.legal-section h1 {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-section p {
  margin-bottom: 0.8rem;
  color: #444;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .service-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 20px;
    justify-content: center;
    position: relative;
  }

  .logo img {
    height: 80px;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  /* Hide main menu items when submenu is open */
  .main-nav.submenu-open > a,
  .main-nav.submenu-open > .nav-social,
  .main-nav.submenu-open > .btn-cta {
    display: none;
  }

  .main-nav.submenu-open > .nav-dropdown > .dropdown-toggle {
    display: none;
  }

  .main-nav a,
  .nav-dropdown > .dropdown-toggle {
    padding: 12px 16px;
    width: 100%;
  }

  /* Nav dropdown fix: no indent */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .nav-dropdown > .dropdown-toggle::after {
    content: '\203A';
    font-size: 1.4rem;
    margin-left: 8px;
    line-height: 1;
  }

  /* Slide-in submenu */
  .dropdown-menu {
    position: static;
    background: #fff;
    box-shadow: none;
    padding: 20px 0;
    display: none;
    flex-direction: column;
    padding-left: 0;
    min-width: unset;
    border-radius: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu .submenu-back {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-family: var(--font-body);
    color: var(--color-text);
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    width: 100%;
    text-align: left;
  }

  .dropdown-menu .submenu-back::before {
    content: '\2039';
    font-size: 1.6rem;
    line-height: 1;
  }

  .dropdown-menu a {
    padding: 14px 20px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f5f5f5;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .nav-social {
    margin: 12px 0;
    justify-content: flex-start;
    padding-left: 16px;
  }

  .btn-cta {
    margin: 12px 16px;
  }

  /* Content sections */
  .contact-intro {
    grid-template-columns: 1fr;
    padding: 50px 20px;
    gap: 40px;
  }

  .contact-intro-images {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex: 0 0 calc(80% - 16px);
  }

  .about-preview-inner {
    padding: 30px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
  }

  .hero {
    min-height: 30vh;
  }
}

/* ============================================
   Cookie Consent Banner & Overlay
   ============================================ */

/* --- Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 20px 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-banner.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

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

.cookie-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-bg-green-dark);
}

.cookie-btn-accept:hover {
  background: var(--color-accent-dark);
}

.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.cookie-btn-reject:hover {
  border-color: #fff;
}

.cookie-btn-settings {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.cookie-btn-settings:hover {
  border-color: #fff;
}

/* --- Overlay --- */
#cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#cookie-overlay.cookie-overlay-visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cookie-overlay-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#cookie-overlay.cookie-overlay-visible .cookie-overlay-modal {
  transform: translateY(0);
}

.cookie-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #eee;
}

.cookie-overlay-header h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-heading);
}

.cookie-overlay-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  padding: 0 4px;
  line-height: 1;
}

.cookie-overlay-close:hover {
  color: #333;
}

.cookie-overlay-body {
  padding: 20px 28px;
}

.cookie-overlay-body > p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cookie-category {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.cookie-category-header strong {
  font-size: 1rem;
  color: #333;
}

.cookie-always-on {
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-left: 8px;
  font-weight: 500;
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
  padding-left: 58px;
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: background 0.3s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

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

.cookie-overlay-footer {
  display: flex;
  gap: 10px;
  padding: 16px 28px 24px;
  border-top: 1px solid #eee;
}

.cookie-overlay-footer .cookie-btn-accept {
  flex: 1;
}

.cookie-overlay-footer .cookie-btn-settings {
  color: #333;
  border-color: #ddd;
}

.cookie-overlay-footer .cookie-btn-settings:hover {
  border-color: #999;
}

/* Footer cookie link */
.cookie-settings-trigger {
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 0;
  margin-top: 12px;
  display: inline-block;
}

.cookie-settings-trigger:hover {
  color: #333;
}

/* --- Form Messages --- */
.form-message {
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message-error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Mobile cookie banner */
@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-category-desc {
    padding-left: 0;
    margin-top: 6px;
  }

  .cookie-overlay-footer {
    flex-direction: column;
  }
}
