/* Grunddesign */

body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    background-color: #f5f1e6; /* Beige ähnlich der Plane */
    color: #333;
    line-height: 1.6;
}

/* Header */

header {
    background-color: #822727; /* Rot vom Auto */
    color: white;
    text-align: center;
    padding: 1rem 1rem 2rem;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header p {
    margin: 0.5rem 0 0;
}

/* Hero Section */

.hero {
    background-color: #fff8f2;
    padding: 2rem;
    text-align: center;
}

/* Allgemeine Sektionen */

.section {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}



.section ul {
    list-style: disc inside;
}

/* Portfolio */

.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio img {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
}

/* Footer */

footer {
    background-color: #822727;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Footer-Image (Auto unten) */

.footer-image {
    background-color: #f5f1e6; /* gleich wie Seitenhintergrund */
    text-align: center;
    padding: 1rem 0;
}

.footer-image img {
    max-width: 150px;
    opacity: 0.8; /* leicht transparent, wirkt edel */
}

/* Hamburger Menü */

.navbar {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1000;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: '';
    top: -8px;
}

.nav-toggle-label span::after {
    content: '';
    top: 8px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #822727;
    border-radius: 8px;
    position: absolute;
    right: 1rem;
    top: 3.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    width: 200px;
    text-align: left;
    z-index: 999;
}

.nav-links li {
    border-bottom: 1px solid #994141;
}

.nav-links li:last-child {
    border-bottom: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
}

.nav-toggle:checked + .nav-toggle-label + .nav-links {
    max-height: 500px;
}


.responsive-break {
  white-space: nowrap; /* verhindert normalen Umbruch */
}

@media (max-width: 600px) {
  .responsive-break {
    white-space: normal; /* erlaubt Umbruch */
  }
  
  .responsive-break::after {
    content: "\A"; /* Zeilenumbruch */
    white-space: pre; 
  }
}

.preisrechner-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.preisrechner-button:hover {
    background-color: #0056b3;
}


footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f5f1e6;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: #f5f1e6;
}

label {
  display: block;
  margin: 10px 0;
}



.option-group {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.result {
  margin-top: 30px;
  font-size: 1.2em;
  font-weight: bold;
}

.footer-image {
  text-align: center;
  margin-top: 40px;
}



input[type="number"],
select {
  padding: 5px;
  font-size: 1em;
  margin-top: 5px;
  width: 100px;
}

input[type="checkbox"] {
  margin-right: 5px;
}

.option-group label {
  margin-bottom: 10px;
  line-height: 1.4;
}  

.section h3 {
  font-size: 1em;       /* gleiche Größe wie normaler Text */
  font-weight: bold;    /* fett */
  margin-top: 1em;
  margin-bottom: 0.5em;
}
  
.info-preisrechner { 
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

