
/*
Theme Name: EdelStahlMontagenTheme (Dark)
Author: Dein Name
Description: Dunkles Design mit orangefarbenen Akzenten
Version: 1.3 (Nav Hover + Active + Footer Fix)
*/

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Root Layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ddd;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Header */
header {
  flex-shrink: 0;
  background-color: #2e2e2e;
  color: white;
  padding: 30px 20px 20px 20px;
  display: flex;
  align-items: center;
  min-height: 130px;
  overflow: visible;
  z-index: 50;
}

.logo img {
  height: 80px;
  margin-right: 20px;
}

.header-text {
  position: relative;
  overflow: visible;
}

#weld-text {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
	 white-space: pre; /* behält Leerzeichen */
  flex-wrap: wrap;
  user-select: none;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: visible;
  color: #888;
}


#weld-text span {
  opacity: 1;
  position: relative;
  display: inline-block;
  margin-right: 1px;
  color: #888;
  transition: color 0.3s ease;
}

#weld-text span.welded {
  color: #ffb400;
  text-shadow:
    0 0 5px #ffb400,
    0 0 10px #ffb400,
    0 0 20px #ffa500,
    0 0 30px #ffa500;
}

/* Navigation */
nav {
  flex-shrink: 0;
  background-color: #1a1a1a;
  z-index: 100;
  min-height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav li {
  margin: 0 15px;
}

/* Navigation */
nav a.nav-link {
  display: block;
  padding: 12px 20px;
  color: #121212;               /* Textfarbe passend zum orange Background */
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  border: 6px solid transparent; /* immer da, keine Layout-Sprünge */
  background-color: #ffb400;    /* DEFAULT: orange Background */
  transition: all 0.3s ease;
}

nav a.nav-link:hover {
  border-color: #cc7a00;       /* noch dunkleres Orange für Hover */
  color: #121212;               /* Textfarbe bleibt passend */
}

nav a.nav-link.active {
  border-color: #cc7a00;       /* noch dunkleres Orange für Hover */
}

nav a.nav-link.active:hover {
  border-color: #cc7a00;       /* noch dunkleres Orange für Hover */
}

/* Main scrollt */
main#content-area {
  flex: 1 1 auto;                   /* nimmt den restlichen Platz */
  overflow-y: auto;                 /* Scroll nur im Main */
  -webkit-overflow-scrolling: touch; /* iOS Fix */
  padding: 20px;
  background-color: #181818;
  color: #eee;
}

/* Footer */
footer {
  flex-shrink: 0;
  background-color: #2e2e2e;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.9rem;
  min-height: 50px;
}

footer a {
  color: #ffb400;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffaa00;
  text-decoration: underline;
}

/* Textanimation */
@keyframes spin3x-horizontal {
  from {
    transform: rotateX(0deg);
  }
  to {
    transform: rotateX(1080deg);
  }
}

.rotate-text {
  animation: spin3x-horizontal 6s ease forwards;
  transform-style: preserve-3d;
  backface-visibility: visible;
}
