body {
  background-color: #f2f1ed;
  color: #2c2c2c;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

.container {
  width: 760px;
  margin: 40px auto;
  padding: 0 16px;
}

.card-white {
  background: #ffffff;
  padding: 24px;
  margin: 24px 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-left: 4px solid #4a90e2;
  border-right: 1px dashed rgba(0,0,0,0.1);
}

h1, h2, h3 {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.5px;
  margin-top: 0;
  color: #1a3e73;
}

h1 {
  font-size: 32px;
  color: #0d2a58;
  font-weight: 700;
}
h2 {
  font-size: 24px;
  color: #1b4f9c;
  font-weight: 600;
}
h3 {
  font-size: 20px;
  color: #346cb0;
  font-weight: 500;
}

.lead { font-size: 19px; color: #333333; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.tiny { font-size: 14px; color: #777777; }

.img-circle { border-radius: 50%; }
.img-bordered { border: 4px solid #e0e5ec; }
#avatar {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 16px auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

a {
  color: #1b4f9c;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}
a:hover {
  color: #fff;
  background-color: #1b4f9c;
  text-decoration: none;
  border-radius: 4px;
  padding: 4px 8px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  margin-top: 10px;
  border: none;
  background-color: #4a90e2;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #3a78c2;
}

ul, ol { padding-left: 20px; }

#projects li { margin-bottom: 6px; }

.list-inline {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px 0;
}
.list-inline > li {
  display: inline;
  padding: 0 12px;
}

form { margin-top: 8px; }
input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #b8c8e0;
  border-radius: 4px;
  background-color: #f9fafc;
}
input[type="submit"] {
  padding: 10px 16px;
  border: none;
  background-color: #4a90e2;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color .3s ease;
}
input[type="submit"]:hover {
  background-color: #3a78c2;
}

#footer {
  text-align: center;
  background-color: #e9eef6;
  padding: 20px;
  border-radius: 8px;
  /* leichte obere gestrichelte Linie als Variation */
  border-top: 1px dashed rgba(0,0,0,0.15);
}

#footer h3 {
  color: #0d2a58;
  font-weight: 600;
}

#footer a {
  color: #0d2a58;
  transition: color 0.3s ease;
}
#footer a:hover {
  color: #4a90e2;
}

@media (max-width: 960px) {
  .container { width: 700px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

@media (max-width: 720px) {
  .container { width: 500px; }
  .card-white { padding: 20px; }
  #avatar { width: 100px; height: 100px; }
  body { font-size: 17px; }
}

@media (max-width: 540px) {
  .container { width: 320px; }
  .card-white { padding: 16px; margin: 16px 0; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
}
