/* ===== 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, 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;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  background: #18192E;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #E1E6EB;
  background: linear-gradient(135deg, #23263A 0%, #18192E 100%);
  min-height: 100vh;
  line-height: 1.7;
}

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

a {
  color: #B39A5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff5db;
}

/* Font faces fallback for systems that lack them */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Source+Sans+Pro:400,700&display=swap');

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 0 4px 32px rgba(60,70,130,0.2);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #B39A5B;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #E1E6EB;
  font-weight: 700;
  margin-bottom: 10px;
}

p, ul, ol, li, td, th, span {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #E1E6EB;
}

strong {
  color: #B39A5B;
  font-weight: bold;
  font-family: inherit;
}

ul, ol {
  padding-left: 30px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: #18192E;
  position: relative;
  box-shadow: 0 10px 30px -16px rgba(50,60,80,0.13);
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 0;
}

header img[alt="Gefrorene Feder"] {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: bold;
  color: #E1E6EB;
  letter-spacing: 0.01em;
  padding: 5px 6px;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.25s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B39A5B;
  background: rgba(255,255,255,0.10);
}
.main-nav .cta-primary {
  background: #B39A5B;
  color: #fff;
  padding: 8px 20px;
  border-radius: 22px;
  margin-left: 16px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px 0 rgba(179,154,91,0.10);
  border: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #fff;
  color: #18192E;
  box-shadow: 0 6px 24px 0 rgba(179,154,91,0.19);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #B39A5B;
  cursor: pointer;
  z-index: 55;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23263A;
  box-shadow: 0 0 40px 8px rgba(35,38,58,0.65);
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 24px;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: #B39A5B;
  background: none;
  border: none;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff5da;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding-left: 12px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #E1E6EB;
  font-family: 'Playfair Display', serif;
  padding: 7px 0;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color 0.16s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B39A5B;
  background: none;
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    margin-left: 16px;
  }
}

@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(120deg, #2d2f4a 24%, #23263A 100%);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 18px 60px 0 rgba(41,55,87,0.11);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
  margin: 0 auto;
  padding: 38px 0 40px 0;
}
.hero p {
  font-size: 1.18rem;
  color: #E1E6EB;
  font-weight: 400;
}

@media (max-width: 650px) {
  .hero {
    min-height: 180px;
  }
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
  .hero .container,
  .hero .content-wrapper {
    padding: 8px 0;
  }
}

/* ===== SECTIONS & WRAPPERS ===== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.feature {
  background: #23263A;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(50,60,80,0.11);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  border: 1px solid rgba(179,154,91,0.04);
  transition: box-shadow 0.22s, border-color 0.2s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 9px 36px -8px #B39A5B44, 0 2px 18px 0 #23263A44;
  border-color: #B39A5B;
  transform: translateY(-4px) scale(1.015);
}
.feature img {
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* ===== ABOUT & CONTACT CARDS ===== */
.about-bio, .about-cv, .contact-brief, .contact-info, .contact-info-summary, .map-snippet {
  background: #23263A;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(179,154,91,0.07), 0 1px 5px 0 #191A22;
  padding: 24px 22px;
  margin-bottom: 20px;
  color: #E1E6EB;
}
.contact-info-summary ul, .contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info-summary ul li, .contact-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-info-summary ul li img, .contact-info ul li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
}
.map-snippet img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #E1E6EB;
  color: #23263A;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(90,99,162,0.12);
  border-left: 5px solid #B39A5B;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #23263A;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: .97rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #23263A;
  opacity: 0.87;
  font-style: italic;
}

/* ===== CALL TO ACTION BUTTONS ===== */
.cta-primary {
  background: linear-gradient(90deg, #B39A5B 70%, #cec093 100%);
  color: #23263A;
  padding: 13px 38px;
  font-size: 1.17rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 22px;
  margin: 22px 0 0 0;
  box-shadow: 0 2px 18px 0 rgba(179,154,91,0.13);
  cursor: pointer;
  text-align: center;
  display: inline-block;
  transition: background 0.15s, color 0.16s, box-shadow 0.19s, transform 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #23263A;
  color: #fff;
  box-shadow: 0 6px 32px 0 #B39A5B44;
  transform: translateY(-2px) scale(1.015);
}

/* ===== FOOTER ===== */
footer {
  background: #18192E;
  padding: 34px 0 20px 0;
  width: 100%;
  box-shadow: 0 -8px 36px 0 rgba(41, 55, 87, 0.10);
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #B39A5B;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #E1E6EB;
}
.brand-signature span {
  color: #E1E6EB;
  font-size: 1.1rem;
}
.footer-contact span {
  font-size: 0.98rem;
  color: #B39A5B;
}

/* ===== CARDS & FEATURE ITEM GENERIC ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  background: #23263A;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(50,60,80,0.11);
  padding: 23px 16px 19px 16px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1px solid rgba(179,154,91,0.07);
  transition: box-shadow 0.2s, border 0.15s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 7px 25px 0 #B39A5B33, 0 1px 12px 0 #23263A33;
  border: 1.6px solid #B39A5B;
  transform: translateY(-3px) scale(1.012);
}

.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;
}

/* ===== TABLES (PREISE) ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: #23263A;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(179,154,91,0.07);
}
thead tr {
  background: #23263A;
}
th, td {
  padding: 15px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  font-weight: 700;
  color: #B39A5B;
  border-bottom: 2px solid #3b3d5e;
}
tbody tr {
  border-bottom: 1.5px solid #272940;
  transition: background 0.16s;
}
tbody tr:hover {
  background: #23263A55;
}
td {
  color: #E1E6EB;
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in {
  opacity: 0;
  animation: fadeInAnim 0.7s forwards;
}
@keyframes fadeInAnim {
  to {
    opacity: 1;
  }
}

/* ===== SPACING OVERRIDES AT BREAKPOINTS ===== */
@media (max-width: 1100px) {
  .container { max-width: 95%; }
}
@media (max-width: 900px) {
  .content-wrapper { max-width: 98%; }
}
@media (max-width: 700px) {
  .contact-info-summary ul, .contact-info ul {
    gap: 7px;
  }
  .footer-menu {
    gap: 10px;
  }
}
@media (max-width: 580px) {
  .feature, .testimonial-card, .about-bio, .about-cv, .contact-info-summary, .contact-info, .map-snippet, .card {
    padding: 15px 10px;
    font-size: 0.96rem;
  }
  .hero .content-wrapper h1 { font-size: 1.3rem; }
  .footer-contact span { font-size: 0.8rem; }
}

/* ===== RESPONSIVE FLEX-DIRECTION UTILS ===== */
@media (max-width: 768px) {
  .content-grid, .card-container, .features-grid, .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
}

/* ===== COOKIE CONSENT BANNER/BUTTONS ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #23263A;
  color: #fff;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -2px 22px rgba(24,25,46,0.19);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2100;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(0.55,0,0.1,1);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}

.cookie-consent-btns {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  border: none;
  background: #B39A5B;
  color: #23263A;
  border-radius: 15px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin: 0 2px;
  transition: box-shadow 0.16s, background 0.17s, color 0.18s;
  box-shadow: 0 1px 8px 0 rgba(179,154,91,0.09);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #23263A;
}
.cookie-btn.reject {
  background: #23263A;
  color: #B39A5B;
  border: 1.5px solid #B39A5B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B39A5B;
  color: #23263A;
}
.cookie-btn.settings {
  background: transparent;
  color: #B39A5B;
  border: 1.5px solid #B39A5B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #B39A5B;
  color: #23263A;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 56%;
  transform: translate(-50%,-50%) scale(1);
  background: #23263A;
  color: #fff;
  padding: 32px 22px 18px 22px;
  border-radius: 16px;
  z-index: 2300;
  box-shadow: 0 9px 56px #18192E60;
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.19s, transform 0.25s cubic-bezier(0.89,0,0.45,1.19);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-46%) scale(0.96);
}
.cookie-modal h3 {
  color: #B39A5B;
  font-size: 1.23rem;
  margin-bottom: 5px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
  padding-left: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal .essential {
  color: #B39A5B;
  font-weight: bold;
}
.cookie-modal .modal-actions {
  align-self: flex-end;
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* ===== FORM ELEMENTS (for contact forms, if implemented) ===== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: #18192E;
  color: #B39A5B;
  padding: 14px 12px;
  border-radius: 7px;
  border: 1.4px solid #B39A5B;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.04rem;
  margin-bottom: 18px;
  transition: border 0.15s, background 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #cec093;
  background: #23263a;
  outline: none;
}
label {
  color: #B39A5B;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #B39A5B;
  outline-offset: 1px;
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #1e1f2a;
}
::-webkit-scrollbar-thumb {
  background: #23263A;
  border-radius: 30px;
}

::selection {
  background: #B39A5B55;
  color: #23263A;
}

/* ===== PRINT FRIENDLY ===== */
@media print {
  html, body {
    background: #fff;
    color: #23263A;
  }
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
}
