/* --- Grundfarben / Fonts --- */
:root {
  --primary: #1E3A8A;
  --secondary: #F3F4F6;
  --accent: #10B981;
  --text: #111827;
  --card-shadow: rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: auto;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: var(--secondary);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 0;
   position: relative;   /* statt sticky */
  top: 0;
  z-index: 1000;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
body {
  padding-top: 72px;
}

.site-header .logo { font-size: 1.2rem; font-weight: bold; }
.main {
display: block;
}
.main-nav a {
  margin-left: 1rem;
  color: white;
  font-weight: bold;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-form a {
  color: white;
  font-size: 0.85rem;
  text-decoration: underline;
}


/* Hero */
.hero {
  background-color: white;
  text-align: center;
  padding: 2rem 1rem;
}
.hero-image {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 0.5rem;
}
.hero-title { font-size: 1.8rem; margin-bottom: 1rem; }
.hero-text { max-width: 600px; margin: auto 0 1.5rem; }
.cta-button {
  background-color: var(--accent);
  border: none;
  padding: 0.8rem 1.5rem;
  color: white;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Services */
.services .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem 0;
}
@media(min-width: 768px) {
  .services .grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 6px var(--card-shadow);
  text-align: center;
}
.service-card img {
  max-width: 80px;
  margin-bottom: 1rem;
}
.service-card h3 { margin: 0.5rem 0; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: #374151; }

/* Info */
.info-section {
  background-color: white;
  padding: 2rem 1rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
}

/* Form */
.form-section {
  background-color: white;
  padding: 2rem 1rem;
  border-radius: 0.5rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 8px var(--card-shadow);
}
.offer-form { display: flex; flex-direction: column; }
.offer-form input,
.offer-form select,
.offer-form textarea {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.offer-form button {
  background-color: var(--primary);
  border: none;
  padding: 0.8rem;
  color: white;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.9rem;
}

/* Login Seite */
.login-container {
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 0.6rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.login-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-box input {
  padding: 0.8rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.login-box button {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8rem;
  cursor: pointer;
}

.login-error {
  color: red;
  margin-bottom: 1rem;
}

.login-forgot {
  margin-top: 1rem;
}
.login-forgot a {
  color: var(--primary);
  text-decoration: underline;
  font-size: 0.9rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media(min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dashboard-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.6rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.dashboard-card h3 {
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.dashboard-card p {
  margin-bottom: 1rem;
  color: #374151;
}

.dashboard-card .cta-button {
  display: inline-block;
  text-decoration: none;
}


.profile-container {
  max-width: 700px;
  margin: 2rem auto;
}

.profile-form fieldset {
  border: none;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.6rem;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
}

.profile-form legend {
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary);
}

.profile-form label {
  display: block;
  margin-top: 1rem;
}

.profile-form input,
.profile-form textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid #D1D5DB;
}


.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.twofa-info summary {
  cursor: pointer;
  font-weight: 500;
  margin-top: 0.5rem;
}


