/* K&H Inneneinrichtung - Premium Overrides
   Color Palette:
   - Black: #0b0b0b, #111, #1b1b1b, #2a2a2a
   - White: #ffffff
   - Gray: #bdbdbd
   - Gold: #c8a24a, #b08d57
*/

/* === ROOT VARIABLES === */
:root {
  --color-black: #0b0b0b;
  --color-white: #ffffff;
  --color-gray-dark: #313131;
  --color-gray-medium: #2a2a2a;
  --color-gray-light: #bdbdbd;
  --color-gold: #c8a24a;
  --color-gold-alt: #b08d57;
}

/* === BODY & BACKGROUND === */
body {
  background: var(--color-white);
  color: var(--color-gray-dark);
}

/* === STICKY HEADER === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5em 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3em;
}

#header .logo {
  margin: 0;
  color: var(--color-black);
  font-size: 0.9em;
}

#header .logo .symbol img {
  width: 3em;
  height: 3em;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  margin-top: 5em;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 11, 11, 0.85) 0%,
    rgba(27, 27, 27, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 3em;
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.5em auto 0;
}

.hero .subtitle {
  font-size: 1.3em;
  font-weight: 300;
  color: var(--color-gray-light);
  margin-bottom: 2em;
  line-height: 1.6;
}

/* === BUTTONS === */
/* .button {
    display: inline-block;
    padding: 1em 2.5em;
    background: var(--color-gold);
    color: var(--color-black);
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-bottom: none !important;
}

.button:hover {
    background: var(--color-gold-alt);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 162, 74, 0.3);
    color: var(--color-black) !important;
}

.button.primary {
    background: var(--color-gold);
}

.button.secondary {
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
}

.button.secondary:hover {
    background: var(--color-gold);
    color: var(--color-black) !important;
} */

button {
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0.9rem 2rem;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  position: relative;
  display: inline-block;
  letter-spacing: 0.05rem;
  font-weight: 700;
  font-size: 17px;
  border-radius: 500px;
  overflow: hidden;
  background: #66ff66;
  color: ghostwhite;
}

button span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
}

button:hover span {
  color: black;
}

/* button::before,
button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

button::before {
  content: "";
  background: #000;
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

button:hover::before {
  transform: translate3d(100%, 0, 0);
} */

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
  background-color: var(--color-gold);
}
input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
button.primary:active,
.button.primary:active {
  background-color: var(--color-gold-alt);
}

/* === SECTIONS === */
section {
  padding: 6em 0;
}

section.dark {
  background: var(--color-gray-dark);
  color: var(--color-white);
}

section.light {
  background: var(--color-white);
}

section.gray {
  background: #f8f8f8;
}

.section-header {
  text-align: center;
  margin-bottom: 4em;
}

.section-header h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5em;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.5em auto 0;
}

.section-header p {
  font-size: 1.2em;
  color: var(--color-gray-medium);
  max-width: 700px;
  margin: 1em auto 0;
  line-height: 1.6;
}

section.dark .section-header h2,
section.dark .section-header p {
  color: var(--color-white);
}

/* === MODERN CARDS === */
/* .cards-grid replaced by Bootstrap row/col grid – see HTML */

.card {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 0; /* Override Bootstrap's default rounded corners */
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-gold);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  margin-bottom: 1.5em;
}

.card-content {
  padding: 2.5em;
}

.card h3 {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1em;
  letter-spacing: 0.05em;
}

.card p {
  color: var(--color-gray-medium);
  line-height: 1.7;
  margin: 0;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0 0;
}

.card ul li {
  padding: 0.5em 0 0.5em 1.5em;
  position: relative;
  color: var(--color-gray-medium);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

/* === FOOTER === */
#footer {
  background: var(--color-gray-dark);
  color: var(--color-gray-light);
  padding: 4em 0 2em;
}

#footer h2,
#footer h3 {
  color: var(--color-white);
}

#footer a {
  color: var(--color-gray-light);
  border-bottom-color: transparent;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--color-gold) !important;
}

#footer .copyright {
  color: var(--color-gray-light);
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2em;
  margin-top: 3em;
}

#footer > .inner .copyright li {
  color: var(--color-gray-light);
}

/* Ensure paragraph text in the footer is white on the dark background */
#footer p,
.footer p {
  color: var(--color-gray-light);
}

/* === NAVIGATION MENU === */
#menu {
  background: var(--color-gray-dark);
}

#menu > .inner > ul > li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

#menu a {
  color: var(--color-white);
}

#menu a:hover,
#menu a.active {
  color: var(--color-gold) !important;
}

/* === FORMS === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 0; /* Keep square design against Bootstrap's rounded corners */
  color: var(--color-black);
  padding: 1em;
  width: 100%;
  font-size: 1em;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.1);
}

label {
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 0.5em;
  display: block;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* === CONTENT SPACING === */
#main {
  margin-top: 5em;
}

/* === RESPONSIVE === */
@media screen and (max-width: 980px) {
  .hero h1 {
    font-size: 2.5em;
  }

  #header .inner {
    padding: 0 2em;
  }
}

@media screen and (max-width: 736px) {
  .hero {
    min-height: 70vh;
    margin-top: 4em;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero .subtitle {
    font-size: 1.1em;
  }

  section {
    padding: 4em 0;
  }

  .section-header h2 {
    font-size: 2em;
  }

  #header .inner {
    padding: 0 1.5em;
  }

  /* Ensure button text wraps when too long on small screens
       - set a max-width so very long labels break into multiple lines
       - allow hyphenation and normal white-space so wrapping is graceful */
  .button,
  a.button,
  button {
    max-width: 260px;
    white-space: normal; /* allow wrapping */
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    padding: 0.6rem 1rem; /* keep buttons compact */
    font-size: 0.95rem;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
  }

  /* Hero CTA slightly wider so it still feels prominent */
  .hero .button,
  .hero a.button {
    max-width: 280px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
}

/* === LINKS & TYPOGRAPHY === */
a {
  color: var(--color-black);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-gold) !important;
  border-bottom-color: var(--color-gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-black);
}

p {
  color: var(--color-gray-medium);
}

/* === TILES OVERRIDE === */
.tiles article {
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.tiles article:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tiles article .content {
  background: linear-gradient(
    to top,
    rgba(11, 11, 11, 0.95) 0%,
    rgba(11, 11, 11, 0.7) 100%
  );
}

.tiles article h2 {
  color: var(--color-white);
}

.tiles article p {
  color: var(--color-gray-light);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--color-gray-dark);
  color: var(--color-white);
  padding: 5em 3em;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--color-gold);
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.cta-section h3 {
    color: var(--color-white);
    font-size: 2.0em;
    margin-bottom: 0.5em;
}

@media screen and (max-width: 736px) {
    .cta-section h3 {
        font-size: 1.7em;
    }
}

.cta-section p {
  color: var(--color-gray-light);
  font-size: 1.2em;
  margin-bottom: 2em;
}

/* === QUALITY FEATURES === */
/* .quality-grid replaced by Bootstrap row/col grid – see HTML */

.quality-item {
  padding: 2em;
}

.quality-item .icon {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5em;
  font-size: 2em;
  color: var(--color-gold);
  transition: all 0.3s ease;
}

.quality-item:hover .icon {
  background: var(--color-gold);
  color: var(--color-black);
  transform: scale(1.1);
}

.quality-item h3 {
  font-size: 1.1em;
  color: var(--color-black);
  margin-bottom: 0.5em;
}

.quality-item p {
  font-size: 0.95em;
  color: var(--color-gray-medium);
  margin: 0;
}

/* === PAGE-SPECIFIC === */
.page-header {
  background: var(--color-gray-dark);
  color: var(--color-white);
  padding: 6em 0 4em;
  text-align: center;
  margin-top: 5em;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 3em;
  margin-bottom: 0.5em;
}

.page-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.5em auto 0;
}

.page-header p {
  font-size: 1.2em;
  color: var(--color-gray-light);
  max-width: 800px;
  margin: 0 auto;
}

/* === CONTACT FORM === */
/* .form-row replaced by Bootstrap row/col grid – see HTML */

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3em;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9em;
}

/* === SERVICE LIST === */
/* .service-list replaced by Bootstrap row/col grid – see HTML */

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
}

.service-item .icon {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5em;
}

.service-item .content h3 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
  color: var(--color-black);
}

.service-item .content p {
  font-size: 0.95em;
  color: var(--color-gray-medium);
  margin: 0;
}

/* ------------------- Uber uns ------------------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 2em 0;
}

.team .team-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--color-gold);
}

.team .team-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 736px) {
  .team .team-photo {
    max-height: 400px;
  }
}

.team-member {
  padding: 1em;
  width: 100%;
}

.team-member img {
  width: auto;
  height: 500px;
  border: 2px solid var(--color-gold);
  object-fit: cover;
  object-fit: contain;
  margin-bottom: 1em;
}

.team-member p {
  font-size: 0.9em;
  margin: 0;
  padding-top: 0;
}

.partner-wrapper {
  padding: 18px 0 36px;
}
.partner-carousel .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px;
}
.partner-carousel .item img {
  max-width: 160px;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: none;
  background: transparent;
}

/* Slightly style nav arrows to match site */

.partner-carousel .owl-nav {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin-top: 2em;
}

.partner-carousel .owl-nav .owl-prev,
.partner-carousel .owl-nav .owl-next {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-carousel .owl-nav .owl-prev i,
.partner-carousel .owl-nav .owl-next i {
  color: inherit;
}

.impressum-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  color: var(--color-white);
  border-radius: 8px;
}

.impressum-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
  margin-top: 0;
}

.section-header-impressum h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin-bottom: 0em;
}

.section-header-impressum h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.5em auto 0;
}

.impressum-content h4 {
  font-size: 1em;
  margin-top: 1.5em;
  margin-bottom: 0em;
}

.section-header-datenschutz h2 {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin-bottom: 0em;
}

.section-header-datenschutz h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.5em auto 0;
}


.datenschutz-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em;
  color: var(--color-white);
  border-radius: 8px;
}

.datenschutz-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
  margin-top: 0;
}

.datenschutz-content h4 {
  font-size: 1em;
  margin-top: 1.5em;
  margin-bottom: 0em;
}

.datenschutz-content ul li {
  position: relative;
  color: black;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}
