/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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,
u,
i,
center,
dl,
dt,
dd,
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,
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;
}

/* Set base font and BG */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FA;
  color: #1B263B;
  min-height: 100vh;
  line-height: 1.6;
}
*:focus {
  outline: 2px solid #F9D967;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1B263B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9D967;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: #1B263B;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #23272F;
}
.subheadline {
  color: #1B263B;
  font-size: 1.25rem;
  margin-bottom: 28px;
  font-weight: 400;
  opacity: 0.92;
}
strong {
  font-weight: 700;
}

ul, ol {
  margin-left: 24px;
}

/* =========================
   CONTAINERS & LAYOUTS
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(35, 39, 47, 0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .text-section {
    max-width: 68%;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .feature-grid {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 28px 0 rgba(35, 39, 47, 0.09);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #F9F9FB;
  border-left: 5px solid #F9D967;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(27, 38, 59, 0.11);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card p {
  color: #23272F;
  font-size: 1.10rem;
  line-height: 1.5;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #556072;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 10px 28px 0 rgba(27, 38, 59, 0.16);
}
@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.category-filters a {
  color: #1B263B;
  background: #F9D967;
  border-radius: 8px;
  padding: 4px 14px;
  margin-left: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  border: none;
}
.category-filters a:hover, .category-filters a:focus {
  background: #1B263B;
  color: #F9D967;
  box-shadow: 0 2px 8px 0 rgba(27,38,59,0.07);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(27,38,59,0.04);
  border-bottom: 3px solid #F9D967;
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
}

header img[alt="Gildene Entdeckung"] {
  height: 48px;
}
@media (max-width: 560px) {
  header img[alt="Gildene Entdeckung"] {
    height: 40px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #23272F;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.005em;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F9D967;
  border-bottom: 2px solid #F9D967;
}

.cta-btn {
  display: inline-block;
  background: #F9D967;
  color: #1B263B;
  font-size: 1.10rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  border-radius: 25px;
  padding: 10px 32px;
  margin-left: 24px;
  text-decoration: none;
  border: 0;
  box-shadow: 0 2px 10px 0 rgba(105, 99, 56, 0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1B263B;
  color: #F9D967;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(27, 38, 59, 0.18);
}

@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .cta-btn {
    padding: 10px 20px;
    margin-left: 12px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #F9D967;
  color: #1B263B;
  font-size: 2rem;
  padding: 5px 15px;
  border-radius: 10px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 41;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(249,217,103,0.06);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F9D967;
  color: #1B263B;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.59,0.12,0.34,1.23);
  box-shadow: 0 10px 40px 0 rgba(27,38,59,0.20);
  padding-top: 64px;
  padding-bottom: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  position: absolute;
  top: 18px;
  right: 22px;
  background: #fff;
  color: #1B263B;
  font-size: 2rem;
  border: 2px solid #F9D967;
  border-radius: 10px;
  padding: 2px 12px;
  z-index: 102;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:active,
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F9D967;
  color: #1B263B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-left: 28px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #23272F;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: border-color 0.13s, color 0.12s, background 0.12s;
  border-radius: 6px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F9D967;
  background: #f7f7f7;
  border-bottom: 2px solid #F9D967;
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* =========================
   HERO SECTION
   ========================= */
main section:first-of-type {
  padding-top: 40px;
  background: #fff8e1;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 34px 0 rgba(249,217,103,0.06);
  margin-bottom: 60px;
}

main section:first-of-type h1,
main section:first-of-type .subheadline {
  color: #1B263B;
}

/* =========================
   FEATURE CARDS
   ========================= */
.feature-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(27, 38, 59, 0.09);
  padding: 28px 22px 24px 22px;
  min-width: 220px;
  min-height: 198px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  border: 1.5px solid #F3F3F7;
  transition: box-shadow 0.18s, border-color 0.22s, transform 0.17s;
  position: relative;
}
.feature-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 10px rgba(249,217,103,0.11));
}
.feature-card h3 {
  font-size: 1.10rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  color: #1B263B;
}
.feature-card p {
  font-size: 1rem;
  color: #4C5568;
  margin-bottom: 0;
}
.feature-card strong {
  color: #23272F;
}
.feature-card:hover,
.feature-card:focus-within {
  border-color: #F9D967;
  box-shadow: 0 8px 32px 0 rgba(249,217,103,0.15);
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 480px) {
  .feature-card {
    padding: 20px 10px 17px 10px;
    min-height: 0;
  }
}

/* =========================
   FOOTER SECTION
   ========================= */
footer {
  background: #fff;
  border-top: 3px solid #F9D967;
  box-shadow: 0 -2px 24px 0 rgba(27, 38, 59, 0.044);
  padding: 30px 0;
  margin-top: 24px;
}
.footer-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #1B263B;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
  margin-bottom: 2px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F9D967;
}
.footer-contact {
  min-width: 200px;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #23272F;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #F9D967;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%) opacity(0.62);
  transition: filter 0.19s;
  cursor: pointer;
}
.social-icons img:hover,
.social-icons img:focus {
  filter: grayscale(0%) drop-shadow(0 0 8px #F9D967) brightness(1.15);
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #F9D967;
  box-shadow: 0 -4px 32px 0 rgba(27,38,59,0.12);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 20px 20px 24px;
  font-size: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: transform 0.38s cubic-bezier(0.72,0.08,0.43,1.6), opacity 0.14s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #23272F;
  flex: 2;
  margin-right: 20px;
  min-width: 200px;
  font-size: 0.99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  background: #F9D967;
  color: #1B263B;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 7px 26px;
  border-radius: 20px;
  margin: 0 2px;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  box-shadow: 0 1px 9px 0 rgba(249,217,103,.08);
  cursor: pointer;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: #1B263B;
  color: #F9D967;
}
.cookie-banner .settings-btn {
  background: #fff;
  border: 2px solid #F9D967;
  color: #1B263B;
}
.cookie-banner .settings-btn:focus,
.cookie-banner .settings-btn:hover {
  background: #F9D967;
  color: #1B263B;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 21px 10px 17px 13px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* Cookie Modal */
.cookie-modal{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 201;
  width: 100vw;
  height: 100vh;
  background: rgba(27,38,59,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open{
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-dialog{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 42px 0 rgba(27,38,59,0.23);
  padding: 46px 36px 32px 36px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-close{
  position: absolute;
  top: 20px;
  right: 21px;
  font-size: 1.5rem;
  background: #F9D967;
  color: #1B263B;
  border: 0;
  border-radius: 18px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background 0.17s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #1B263B;
  color: #F9D967;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 4px;
  color: #1B263B;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 8px 0 18px 0;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .category label {
  font-size: 1rem;
  color: #1B263B;
  font-weight: 500;
}
.cookie-modal .toggle {
  position: relative;
  width: 50px;
  height: 24px;
  border-radius: 16px;
  background: #F3F3F7;
  box-shadow: 0 1px 8px 0 rgba(27,38,59,0.04);
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.18s;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F9D967;
  transition: left 0.18s;
}
.cookie-modal .toggle input:checked + .slider {
  left: 29px;
  background: #67A8A3;
}
.cookie-modal .category .always-on {
  background: transparent;
  color: #757C8C;
  font-size: 0.97rem;
  font-style: italic;
  margin-left: 10px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .cookie-actions button {
  background: #F9D967;
  color: #1B263B;
  padding: 8px 22px;
  border-radius: 20px;
  border: 0;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(249,217,103,0.09);
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .cookie-actions button:hover,
.cookie-modal .cookie-actions button:focus {
  background: #1B263B;
  color: #F9D967;
}
@media (max-width: 540px) {
  .cookie-modal .cookie-modal-dialog {
    padding: 24px 7px 22px 12px;
    max-width: 99vw;
  }
}

/* =========================
   UTILITIES & REFINEMENTS
   ========================= */
hr {
  border: none;
  border-top: 1.5px solid #DDD8C6;
  margin: 32px 0;
}

blockquote {
  border-left: 4px solid #F9D967;
  background: #F7F7F9;
  padding: 18px 26px;
  font-style: italic;
  border-radius: 10px;
  margin: 24px 0;
  color: #1B263B;
}

::-webkit-input-placeholder { color: #757C8C; }
::-moz-placeholder { color: #757C8C; }
:-ms-input-placeholder { color: #757C8C; }
::placeholder { color: #757C8C; }

/* =========================
   RESPONSIVE OVERRIDES
   ========================= */
@media (max-width: 1100px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 42px;
  }
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 500px) {
  .section {
    padding: 14px 2px;
    margin-bottom: 28px;
  }
  .feature-card {
    min-width: 0;
    padding: 12px 4px 13px 4px;
  }
}

/* =========================
   ACCESSIBILITY
   ========================= */
:root {
  scrollbar-color: #1B263B #F9D967;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #F9D967;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* =========================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================= */
.feature-card, .testimonial-card, .cta-btn, .cookie-banner, .cookie-modal .cookie-modal-dialog {
  transition: box-shadow 0.18s, transform 0.18s, background 0.16s, color 0.13s;
}

/* =========================
   LUXURY/PREMIUM ACCENTS
   ========================= */
.section, .feature-card, .card, .testimonial-card {
  border: 1.25px solid #e8e1c2;
}
.section {
  box-shadow: 0 2px 18px 0 rgba(249,217,103,0.04), 0 0.5px 1.5px 0 #f6e6ad;
}
.feature-card {
  box-shadow: 0 2px 10px 0 rgba(249,217,103,0.07);
}
.testimonial-card {
  border-left: 5px solid #F9D967;
  background: #fafafc;
}
hr {
  border-top: 1.7px solid #F9D967;
}

/* =========================
   MISC. CLARITY & CONSISTENCY
   ========================= */
main {
  min-height: 70vh;
  padding-bottom: 48px;
}

@media (max-width:600px) {
  main {
    padding-bottom: 24px;
  }
  footer {
    padding: 22px 0 17px 0;
  }
}

/* END OF STYLE.CSS */
