/* Reset und Grundstil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}
body {
  font-family: Tahoma, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
header {
  position: sticky;
  top: 0;
  background-color: #f8f8ff;
  color: #111;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0041C2;
}
header h1 {
  font-size: 1.5rem;
  color: #111;
}
.subh1 {
  font-size: 1rem;
  font-weight: 300;
  vertical-align: middle;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
header nav a {
  color: #111;
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}
h2 {
  margin-top: 1.5rem;
}
.section {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.home {
  background: #f4f4f4;
  text-align: center;
  padding: 4rem 2rem;
}
.home h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  background-color: #000080;
  color: #fff;
  border-radius: 0.3rem;
  text-decoration: none;
}
.cta-button:hover {
  background-color: #0000CD;
}
.service-item,
.portfolio-item {
  margin-bottom: 1.5rem;
}
.service-item h3,
.portfolio-item h3 {
  font-size: 1.2rem;
  color: #000080;
}
summary {
  font-style: italic;
  color: gray;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
/*
summary {
    font-weight: bold;
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 1rem;
}
*/
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input,
form textarea {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
}
form button {
  width: 12rem;
  font-size: 1rem;
  padding: 0.8rem;
  background-color: #000080;
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  margin-top: 1rem;
}
form button:hover {
  background-color: #0000CD;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
  margin-top: 2rem;
}
footer a {
  color: white;
  /* Set the text color to white */
  text-decoration: none;
  /* Optional: removes the underline */
}
footer a:hover {
  text-decoration: underline;
  /* Add underline on hover */
}
details h2 {
  font-size: 1em;
}
details p {
  margin-bottom: 0.5em;
}
section ul {
  list-style-position: inside;
}
section li {
  display: flex;
  align-items: flex-start;
  margin-top: 0.5rem;
}
section li::before {
  content: "•";
  padding-right: 0.5em;
  font-size: 1.2em;
  line-height: 1;
}
section h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
:not(#home) > h2 + p {
  margin-top: 0.7em;
  margin-bottom: 0.5em;
}
.bottomline {
  margin-top: 1.5em;
  font-style: italic;
  background-color: lightgoldenrodyellow;
  padding: 1em;
  border: 1px solid lightsteelblue;
  border-radius: 0.5em;
}
details figure {
  float: right;
  border: solid 1px lightsteelblue;
  padding: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  box-shadow: 0.5em 0.5em 0.75em rgba(0, 0, 0, 0.2);
}
details figcaption {
  font-size: small;
  font-style: italic;
  text-align: center;
}
details img {
  width: 30vw;
}
.dot-separator {
  display: inline;
  /* Ensures it stays on the same line */
}
.dot-separator span::after {
  content: "•";
  /* The dot character */
  margin: 0 5px;
  /* Add spacing between words */
}
.dot-separator span:last-child::after {
  content: "";
  /* Remove dot after the last word */
}
@media (max-width: 460px) {
  .dot-separator span::after {
    content: "";
    /* Remove dots on small screens */
  }
  .companymotto {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 824px) {
  html {
    scroll-padding-top: 14rem;
  }
  header {
    align-items: flex-start;
  }
  header h1 {
    font-size: 1.2rem;
  }
  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cta-button {
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 1100px) {
  .headslogan {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}
