/* ===== 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #181d23;
  color: #e2e4e8;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --color-primary: #1C3144;
  --color-secondary: #F2B134;
  --color-accent: #FAFAFA;
  --color-bg: #181d23;
  --color-surface: #232b34;
  --color-card: #232b34;
  --color-shadow: rgba(28, 49, 68, 0.15);
  --color-text: #e2e4e8;
  --color-muted: #98a0ac;
  --color-divider: #34404d;
  --color-metal: #8b929b;
  --color-btn-hover: #f4c256;
  --color-toast-bg: #1b242d;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===== GENERAL TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-metal);
  margin-bottom: 8px;
}
p, li, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}
strong {
  font-weight: 700;
}

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

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

.card-container, .features-grid, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: 0 6px 24px 0 var(--color-shadow);
  border: 1.5px solid var(--color-divider);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(28,49,68,0.25);
  border-color: var(--color-secondary);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(120deg, #232b34 65%, #313d4a 100%);
  box-shadow: 0 4px 24px 0 rgba(28,49,68,0.20);
  margin-bottom: 60px;
  padding: 0 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 40px 0;
}
.hero h1 {
  color: var(--color-secondary);
  text-shadow: 1px 2px 3px rgba(0,0,0,0.3);
}
.hero p {
  color: #FFF;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* ===== BUTTONS ===== */
.btn-primary, a.btn-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: #17202a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(242,177,52,0.08);
  border: 2px solid #d99e24;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border 0.18s;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-btn-hover);
  border-color: #f0c96a;
  color: #0a1014;
  box-shadow: 0 4px 18px 0 rgba(242,177,52,0.18);
  outline: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 30px;
  transition: background 0.16s, color 0.16s, border 0.12s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: #181d23;
  border-color: #efc159;
  outline: none;
}

/* ===== FEATURES ===== */
.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature {
  background: var(--color-surface);
  border-radius: 10px;
  box-shadow: 0 3px 12px 0 var(--color-shadow);
  border: 1.4px solid var(--color-divider);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 225px;
  flex: 1 1 236px;
  max-width: 330px;
  transition: box-shadow 0.18s, border 0.18s;
}
.feature img {
  filter: grayscale(20%) contrast(1.1) brightness(0.90);
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.feature:hover {
  box-shadow: 0 6px 34px 0 rgba(34,42,52,0.21);
  border-color: var(--color-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--color-accent);
  color: #1C3144;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(28,49,68,0.11);
  border: 1.5px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  margin-right: 0;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #1C3144;
  font-size: 1.08rem;
  line-height: 1.7;
}
.testimonial-card span {
  color: #775400;
  font-size: 0.97rem;
  font-weight: 600;
  margin-top: 6px;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(28,49,68,0.12);
}

/* ===== FLEX LAYOUTS ===== */
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== NAVIGATION ===== */
header {
  background: #202a32;
  border-bottom: 2px solid var(--color-divider);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 25;
  width: 100%;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 20px 10px 20px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(1.11) contrast(0.97);
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
  transition: color 0.14s;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  color: var(--color-secondary);
  background: rgba(242,177,52,0.06);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: #ffd25d;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #191e22;
  box-shadow: 4px 0 24px #1C3144b0;
  z-index: 120;
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.55, 0.13, 0.32, 0.95), opacity 0.24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 126;
}
.mobile-menu-close:hover {
  color: #ffd25d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 84px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fafafa;
  font-family: var(--font-display);
  font-size: 1.19rem;
  padding: 10px 12px;
  border-radius: 5px;
  transition: background 0.14s, color 0.13s;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(242,177,52,0.07);
}

/* ===== FOOTER ===== */
footer {
  background: #212a32;
  border-top: 2px solid var(--color-divider);
  margin-top: 70px;
  padding: 40px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #e2e4e8;
  font-family: var(--font-display);
  font-size: 0.99rem;
  opacity: 0.86;
  margin-bottom: 8px;
  padding: 3px 7px;
  border-radius: 3px;
  transition: color 0.14s, background 0.12s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  background: rgba(242,177,52,0.065);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.footer-contact img {
  width: 34px;
  height: 34px;
  filter: grayscale(32%) brightness(1.1) contrast(1.15);
}
footer > .container > span {
  font-size: 0.93rem;
  color: #89909a;
  opacity: 0.7;
}

/* ===== SECTIONS, CARDS, SPACING ===== */
section {
  width: 100%;
  margin-bottom: 60px;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
  list-style: disc outside none;
}

/* ===== INDUSTRIAL MODERN ACCENTS ===== */
.card, .feature, .testimonial-card, .section, header, footer {
  box-shadow: 0 2px 12px 0 rgba(32,38,46,0.12);
}
.card, .feature, .testimonial-card {
  border: 1.3px solid var(--color-metal);
}
.card {
  background: linear-gradient(114deg, #232b34 90%, #2a3742 100%);
}
.section {
  background: linear-gradient(100deg, #232b34 90%, #242d37 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(32,36,41,0.11);
}

/* ===== UTILITIES ===== */
.divider {
  width: 100%;
  height: 2px;
  background: var(--color-divider);
  margin: 26px 0;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
    padding: 0 14px;
  }
  .feature {
    flex-basis: 240px;
    max-width: 290px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 720px; }
  .features-grid, .card-container, .content-grid {
    justify-content: flex-start;
  }
  .feature {
    flex-basis: 99%;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {

  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .hero .content-wrapper { padding: 22px 0 24px 0; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    flex-direction: column;
    gap: 9px;
  }
  .section { padding: 24px 8px; }
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature {
    min-width: 0;
    min-height: 0;
    max-width: none;
  }
  .testimonial-card { padding: 16px 14px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.3rem; }
  .container { padding: 0 2vw; }
  .footer-contact img { width: 26px; height: 26px; }
  .footer-nav { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .section { padding: 14px 2px; margin-bottom: 36px; }
  .hero .content-wrapper { padding: 18px 0 10px 0; }
  .testimonial-card { padding: 10px 8px; }
}
/* Responsive text-image-section */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ===== HOVER, FOCUS, MICRO-INTERACTIONS ===== */
.card, .feature, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.2s, border 0.18s, background 0.18s, color 0.16s, transform 0.16s;
}
.card:hover, .feature:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 38px 0 rgba(34,44,58,0.14);
}
.btn-primary:active, .btn-secondary:active { transform: scale(0.96); }

/* ======= COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #181d23;
  color: #fafafa;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px 18px;
  box-shadow: 0 -2px 14px 0 #111420c0;
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(0.72, 0.17, 0.32, 1.12), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  flex: 1 1 56%;
  max-width: 600px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 7px;
  background: var(--color-card);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid var(--color-secondary);
  transition: background 0.18s, color 0.16s, border 0.12s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #181d23;
  border-color: var(--color-secondary);
}
.cookie-banner .accept:hover { background: #f4c256; color: #181d23; }
.cookie-banner .reject:hover, .cookie-banner .settings:hover {
  background: #232b34;
  border-color: #f0c96a;
  color: #f0c96a;
}
@media (max-width: 660px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 13px; padding: 14px 4px;}
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,29,35,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #212a32;
  color: #fafafa;
  border-radius: 16px;
  box-shadow: 0 6px 32px 0 #2a3742a1;
  max-width: 355px;
  width: 96vw;
  padding: 28px 20px 22px 20px;
  border: 2.5px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10101;
  font-family: var(--font-body);
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.21rem;
  font-family: var(--font-display);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-size: 1rem;
  color: #fafafa;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #232b34;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  border: 1.7px solid var(--color-secondary);
  display: inline-flex;
  align-items: center;
  transition: background 0.14s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #F2B134;
  border-radius: 50%;
  box-shadow: 0 1px 2px 0 #1111;
  transition: left 0.21s, background 0.21s;
}
.cookie-toggle input:checked + .slider {
  left: 18px;
  background: #f9de9d;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 88px;
  padding: 9px 14px;
  border-radius: 7px;
  border: 2px solid var(--color-secondary);
  background: var(--color-secondary);
  color: #181d23;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.15s, color 0.14s;
  cursor: pointer;
}
.cookie-modal .modal-actions .close {
  background: #232b34;
  color: var(--color-secondary);
}
.cookie-modal .modal-actions .close:hover {
  background: var(--color-btn-hover);
  color: #181d23;
}
.cookie-modal .modal-actions .save:hover {
  background: #f2c355;
}

/* ===== FORM (Kontaktseite) ===== */
input, textarea {
  background: #182130;
  border: 2px solid var(--color-divider);
  color: #e2e4e8;
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* ======= MISC ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #232b34;
}
::-webkit-scrollbar-thumb {
  background: #1C3144;
  border-radius: 14px;
}
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ======= INDUSTRIAL FONT OVERRIDES ======= */
body, p, span, label, button, input {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-variation-settings: "wght" 400;
}
h1, h2, h3, h4, h5, h6, .main-nav a, .btn-primary, .btn-secondary, .footer-nav a, .logo {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
}

/* ====== SHADOW, SPACING & URBAN FEEL ACCENTS ====== */
.card::before, .feature::before, .testimonial-card::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 20px;
  height: calc(100% - 40px);
  width: 4px;
  background: linear-gradient(180deg, #bba567 0%, #c0acab 80%, #232b34 100%);
  border-radius: 3px;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) {
  .card::before, .feature::before, .testimonial-card::before {
    display: block;
  }
}

/* ====== MINIMUM CARD SPACING ====== */
.card, .feature, .testimonial-card, section, .section {
  margin-bottom: 20px;
}
.card-container > *, .features-grid > *, .content-grid > *, .card-grid > * {
  margin-bottom: 0;
}

/* ===== POPUP Z-INDEX (NAV, COOKIE MODAL) ===== */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  z-index: 1000;
}
/* ===== END OF STYLE.CSS ===== */
